[Pkg-cli-libs-commits] [SCM] nlog branch, master, updated. debian/1.0+dfsg-1-2-gf9df216
Mirco Bauer
meebey at meebey.net
Sun Aug 9 14:21:34 UTC 2009
The following commit has been merged in the master branch:
commit f9df2167e62107294198b71b68a04924462a19d0
Author: Mirco Bauer <meebey at meebey.net>
Date: Sun Aug 9 16:20:58 2009 +0200
pass the -l parameter to dpkg-parsechangelog for DEB_VERSION
diff --git a/debian/rules b/debian/rules
index 197dc43..4638c10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,10 @@ MAKEFILE = $(firstword $(MAKEFILE_LIST))
DEBIAN_DIR = $(dir $(MAKEFILE))
SOURCE_DIR = $(DEBIAN_DIR)/..
-DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2)
DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
-VERSION = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,')
+DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2)
+VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//')
+
DEB_CLI_ABI_VERSION = 1.0
DEB_CLI_API_VERSION = 1.0
--
nlog
More information about the Pkg-cli-libs-commits
mailing list