fix the changelog version extraction to work for a native version
[fw/altos] / debian / rules
index d576ab32acb9d339a8a162e1ee5e12a95fa07937..155a13a86f855cd5db385ac2fe5132aa59999a90 100755 (executable)
@@ -2,7 +2,7 @@
 # -*- makefile -*-
 
 export DH_VERBOSE=1
-PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p'| sed 's/+dfsg//')
+PKG_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
 
 # this target invoked by git-buildpackage using a clean hook, see .gbp.conf
 prebuild: