From a3cfc95b3851fc7405c54e11c0371664c73d2003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 5 May 2018 10:02:19 +0200 Subject: Declare compliance with Debian Policy 4.1.4; d/rules: Switch to --- debian/changelog | 4 +++- debian/control | 2 +- debian/rules | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 50132b8..bd55809 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,11 +12,13 @@ uriparser (0.8.5-1) UNRELEASED; urgency=medium - Change debian/compat to 11. - Bump minimum debhelper version in debian/control to >= 11. - Remove dh-autoreconf from Build-Depends. - * Declare compliance with Debian Policy 4.1.3 (No changes needed). + * Declare compliance with Debian Policy 4.1.4 (No changes needed). * Change to my new email address: - debian/control - debian/copyright * New README.source to explain the branching model used. + * debian/rules: + - Switch to $(DEB_UPSTREAM_VERSION). -- Jörg Frings-Fürst Wed, 21 Mar 2018 22:11:26 +0100 diff --git a/debian/control b/debian/control index 04daf1a..179c8f7 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Build-Depends-Indep: qttools5-dev-tools, qtbase5-dev, libqt5sql5-sqlite -Standards-Version: 4.1.3 +Standards-Version: 4.1.4 Homepage: http://uriparser.sourceforge.net Vcs-Git: git://anonscm.debian.org/collab-maint/uriparser.git Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/uriparser.git diff --git a/debian/rules b/debian/rules index 2df6d7e..3245017 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/default.mk + # hardening export DEB_BUILD_MAINT_OPTIONS = hardening=+all @@ -34,10 +36,8 @@ override_dh_installdocs-indep: $(RM) debian/liburiparser-doc/usr/share/doc/liburiparser-doc/html/*.md5 dh_installdocs -UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -n '/\(Version:\)/{s/^Version:[[:space:]]\+\([0-9]\+:\)\?\(.*\)/\2/p}' | rev | cut -d- -f 2- | rev) - override_dh_makeshlibs: - dh_makeshlibs -- -v$(UPSTREAM_VERSION) -Pdebian/liburiparser1 -pliburiparser1 + dh_makeshlibs -- -v$(DEB_VERSION_UPSTREAM) -Pdebian/liburiparser1 -pliburiparser1 override_dh_compress: dh_compress -X.qhp -- cgit v1.2.3