[Build-common-hackers] Bug#230428: cdbs: add a VERSION variable for upstream version

Arnaud Vandyck Arnaud Vandyck <avdyk@debian.org>, 230428@bugs.debian.org
Fri, 30 Jan 2004 23:45:23 +0100


--=-=-=

Package: cdbs
Version: 0.4.17
Severity: wishlist

Hi all,

Is it possible to add this variable definition (maybe in
/usr/share/cdbs/1/rules/buildvars.mk) to define the upstream version:

VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -f 1 -d '-')

Cheers,

-- 
Arnaud

--=-=-=
Content-Type: application/pgp-signature

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

iD8DBQBAGt6G4vzFZu62tMIRAkrZAJ96G/nDx/3EmxFCeROeuR8h8tfykwCgs9wo
CkARrTzkPhy03IEEG5thJRo=
=ykqn
-----END PGP SIGNATURE-----
--=-=-=--