Ninja fix debian rules to handle versions with -N package convention

This commit is contained in:
Jake Luciani 2014-09-22 15:32:36 -04:00
parent ce357d9158
commit 192468f7a2
1 changed files with 1 additions and 1 deletions

2
debian/rules vendored
View File

@ -6,7 +6,7 @@
include /usr/share/dpatch/dpatch.make
ANT = /usr/bin/ant
VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \([^-]*\).*/\1/p')
test:
dh_testdir