summaryrefslogtreecommitdiffstats
path: root/debianpkg/rules
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2017-06-14 03:06:14 +0200
committerMartin Winter <mwinter@opensourcerouting.org>2017-11-18 02:55:31 +0100
commit5eee7099c8a0fc3f304c6f8568a27c5c5c965109 (patch)
tree97080e769695e3bcce7b2dedf87526dadafa3981 /debianpkg/rules
parentdebianpkg: Cleanup configure options (diff)
downloadfrr-5eee7099c8a0fc3f304c6f8568a27c5c5c965109.tar.xz
frr-5eee7099c8a0fc3f304c6f8568a27c5c5c965109.zip
debianpkg: Support --with-pkg-extra-version and other modifier to build custom package version
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'debianpkg/rules')
-rwxr-xr-xdebianpkg/rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/debianpkg/rules b/debianpkg/rules
index 3d84a37d3..75d4cb14b 100755
--- a/debianpkg/rules
+++ b/debianpkg/rules
@@ -197,11 +197,10 @@ override_dh_systemd_enable:
# backports
SRCPKG = frr
KNOWN_BACKPORTS = debian8 ubuntu12.04 ubuntu14.04 ubuntu16.04
-ORIG_VERSION := $(shell dh_testdir && grep -E < configure.ac '^AC_INIT\(.*\)' \
- | cut -d, -f2 | xargs echo)
DEBIAN_VERSION := $(shell dh_testdir && \
dpkg-parsechangelog -c1 < debian/changelog | \
sed -rn 's/^Version: ?//p')
+ORIG_VERSION := $(DEBIAN_VERSION)
-include debian/backports/rules
ifneq ($(TARBALLDIR),)