[kgb-maintainers] Bug#612922: Bug#612922: Check in debian/rules breaks rebuilds with version suffix
Moritz Mühlenhoff
muehlenhoff at univention.de
Mon Feb 14 08:34:47 UTC 2011
Hi Gregor,
Am Freitag 11 Februar 2011 23:51:40 schrieb gregor herrmann:
> > [ "Version: 1.05-1+squeeze1" = "1.05" ] \
> >
> > || ( echo "Package version (Version: 1.05-1+squeeze1) doesn't
> > || match module version (1.05)"; exit 1 )
> >
> > Package version (Version: 1.05-1+squeeze1) doesn't match module version
> > (1.05)
>
> This also wouldn't work for a "usual" version like 1.05-1.
>
> But the good news is:
>
> kgb-bot (1.06-1) unstable; urgency=low
> ..
> + rules: fix determining package version
>
> and from svn:
>
> -PKG_VER := $(shell dpkg-parsechangelog | egrep '^Version:' | sed
> 's/^Version: \(.\+\)-[0-9]\+$$/\1/') +PKG_VER := $(shell
> dpkg-parsechangelog | egrep '^Version:' | sed 's/^Version:
> \(.\+\)-[^-]\+$$/\1/')
>
>
> So it should work since 1.06-1 (and does for me).
>
> Could you please take a look too, before I close the bug with this
> version?
Thanks! I confirm that it's fixed in 1.06-2.
Cheers,
Moritz
--
Moritz Mühlenhoff muehlenhoff at univention.de
Open Source Software Engineer and Consultant
Univention GmbH Linux for Your Business fon: +49 421 22 232- 0
Mary-Somerville-Str.1 28359 Bremen fax: +49 421 22 232-99
http://www.univention.de
More information about the kgb-maintainers
mailing list