Bug#241860: gtk+2.0: debian/rules file version-determining sed script needs tweak

Paul Varga null_and_void@users.sourceforge.net, 241860@bugs.debian.org
Mon, 05 Apr 2004 06:04:22 -0600


--=-qUVw8LMNaV6+XbhmKQug
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-04-05 at 05:22, Akira TAGOH wrote:
> Well, I can't change the order due to cover the case like
> <upstream version>+<whatever>-<deb release>

Ah, right. Completely forgot about that possibility somehow.

> but perhaps
>=20
> version=3D$(shell dpkg-parsechangelog | grep '^Version: ' | sed -e 's/^Ve=
rsion: //' -e 's/-[A-Za-z0-9\.\+]*$$//g' -e 's/+[A-Za-z0-9\.]*$$//g')
>=20
> should be good enough for you, I think.

Yeah, seems like that'd be even better.

Thanks for giving attention to something so minor that no one but me
will ever run into, heh.

--=-qUVw8LMNaV6+XbhmKQug
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAcUtGXA1+umfjMJYRAl7SAJ9ENPgXaSw0uax2WISAz1pWGdTgmwCfS80l
zqwYO7Ec7vzemDm1mDV0guk=
=YIVu
-----END PGP SIGNATURE-----

--=-qUVw8LMNaV6+XbhmKQug--