Codebase list libgeotiff / a21cbfe
Use pkg-info.mk variables instead of dpkg-parsechangelog output. Bas Couwenberg 6 years ago
2 changed file(s) with 5 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
11
22 * Change priority from extra to optional.
33 * Bump Standards-Version to 4.1.0, changes: priority.
4 * Use pkg-info.mk variables instead of dpkg-parsechangelog output.
45
56 -- Bas Couwenberg <sebastic@debian.org> Sun, 24 Sep 2017 13:06:02 +0200
67
99 # Enable hardening build flags
1010 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
1111
12 GEOTIFF_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
12 include /usr/share/dpkg/pkg-info.mk
13
14 UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
1315
1416 %:
1517 dh $@ --with autoreconf --parallel
2931
3032 override_dh_makeshlibs:
3133 # Forces failure ignoring to collect new symbols
32 dh_makeshlibs -- -v$(GEOTIFF_VERSION)
34 dh_makeshlibs -- -v$(UPSTREAM_VERSION)
3335
3436 override_dh_strip:
3537 dh_strip --dbg-package=libgeotiff2-dbg