summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2018-05-05 10:02:19 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2018-05-05 10:02:19 +0200
commita3cfc95b3851fc7405c54e11c0371664c73d2003 (patch)
treec56012d20a6511430fa972e75b1d21382a728b37
parent9da10f705434d2a18d1ac3670f16d9b10e77f10c (diff)
Declare compliance with Debian Policy 4.1.4; d/rules: Switch to
-rw-r--r--debian/changelog4
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules6
3 files changed, 7 insertions, 5 deletions
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 <debian@jff.email> 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