aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-20 12:18:30 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-20 12:18:30 +0100
commit256164c49f83e85f5c5a04c9b659721b56cd35ec (patch)
treebfb82d50a67994dc65f4fd4c00bbf7636e22a82f /debian/rules
parent6c0fe9ba555df4950445775dfdcbd8cd1870d950 (diff)
Merging Debian 3.0.3-1.1 changes.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 79024825..8b90640c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@ DEBUG ?= 0
ifndef BITLBEE_VERSION
# Want to use the full package version number instead of just the release.
-BITLBEE_CONFIGURE_VERSION ?= BITLBEE_VERSION=\"$(shell dpkg-parsechangelog | grep ^Version: | awk '{print $$2}')\"
+BITLBEE_CONFIGURE_VERSION ?= BITLBEE_VERSION=\"$(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')\"
endif
ifneq ($(BITLBEE_LIBPURPLE),1)
@@ -110,9 +110,9 @@ binary-common:
dh_installdeb
dh_shlibdeps
ifdef BITLBEE_VERSION
- dh_gencontrol -- -v$(BITLBEE_VERSION) -Vbee:Version=$(BITLBEE_VERSION)
+ dh_gencontrol -- -v$(BITLBEE_VERSION)
else
- dh_gencontrol -- -Vbee:Version=$(shell dpkg-parsechangelog | grep ^Version: | awk '{print $$2}' | sed -e 's/+b[0-9]\+$$//')
+ dh_gencontrol
endif
dh_md5sums
dh_builddeb