summaryrefslogtreecommitdiffstats
path: root/debianpkg/rules
diff options
context:
space:
mode:
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),)