debian: support compat level 12

This commit is contained in:
Florian Dold 2021-08-01 18:45:52 +02:00
parent 85735a5e6b
commit ac96733695
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 10 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
taler-exchange (0.9.0-18) unstable; urgency=low
* Support debhelper-compat 12.
-- Florian Dold <dold@taler.net> Sun, 01 Aug 2021 18:42:34 +0200
taler-exchange (0.9.0-17) unstable; urgency=low taler-exchange (0.9.0-17) unstable; urgency=low
* Fix installation of config files. * Fix installation of config files.

2
debian/control vendored
View File

@ -7,7 +7,7 @@ Build-Depends:
automake (>=1.11.1), automake (>=1.11.1),
autopoint, autopoint,
bash, bash,
debhelper-compat (= 13), debhelper-compat (= 12),
gettext, gettext,
libgnunet-dev, libgnunet-dev,
libcurl4-gnutls-dev (>=7.35.0) | libcurl4-openssl-dev (>= 7.35.0), libcurl4-gnutls-dev (>=7.35.0) | libcurl4-openssl-dev (>= 7.35.0),

4
debian/rules vendored
View File

@ -45,9 +45,11 @@ override_dh_installsystemd:
# final invocation to generate daemon reload # final invocation to generate daemon reload
dh_installsystemd dh_installsystemd
# Remove files already present in libtalerexchange from main taler-exchange package
override_dh_install: override_dh_install:
dh_install dh_install
# With debhelper-compat=12, we still need to call this manually
dh_installtmpfiles
# Remove files already present in libtalerexchange from main taler-exchange package
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../libtalerauditor/{} \; cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../libtalerauditor/{} \;
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../taler-exchange/{} \; cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../taler-exchange/{} \;
cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../libtalerexchange/{} \; cd debian/libtalerexchange-dev; find . -type f,l -exec rm -f ../libtalerexchange/{} \;