[Pkg-bitcoin-commits] [litecoin] 04/05: rules: removed call to `dpkg-parsechangelog`.
Dmitry Smirnov
onlyjob at moszumanska.debian.org
Tue Dec 12 22:43:22 UTC 2017
This is an automated email from the git hooks/post-receive script.
onlyjob pushed a commit to branch master
in repository litecoin.
commit 4db03ed
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date: Tue Dec 12 22:18:18 2017
rules: removed call to `dpkg-parsechangelog`.
---
debian/rules | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index d5b7eea..ffda291 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+include /usr/share/dpkg/pkg-info.mk
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CXXFLAGS_MAINT_APPEND= -fPIC
export QT_SELECT=5
@@ -40,8 +42,7 @@ override_dh_installchangelogs:
dh_installchangelogs doc/release-notes-litecoin.md
DPATH := $(abspath $(dir $(MAKEFILE_LIST)))
-VER ?= $(shell dpkg-parsechangelog -l$(DPATH)/changelog | perl -ne 'print $$1 if m{Version:\s*([\d\.]+[a-z]?)}')
.PHONY: get-orig-source
get-orig-source:
@echo "# Downloading..."
- uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(DPATH)
+ uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(DEB_VERSION_UPSTREAM) $(DPATH)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/litecoin.git
More information about the Pkg-bitcoin-commits
mailing list