diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 3 insertions, 3 deletions
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 |