Use an approach that is more Debian friendly for excluding pcscd on i386

This commit is contained in:
Ludovic Rousseau 2020-01-26 12:38:31 +01:00
parent 7a5ed371f7
commit 12690654bb
2 changed files with 17 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
pcsc-lite (1.8.26-2.1) unstable; urgency=medium
* Use an approach that is more Debian friendly for excluding pcscd on i386
Closes: #948402
-- Gianfranco Costamagna <locutusofborg@debian.org> Sun, 26 Jan 2020 11:18:49 +0100
pcsc-lite (1.8.26-2) unstable; urgency=medium
* d/rules: use /run instead of (deprecated) /var/run

10
debian/rules vendored
View File

@ -12,3 +12,13 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_auto_configure:
dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS) --with-systemdsystemunitdir=/lib/systemd/system --enable-usbdropdir=/usr/lib/pcsc/drivers --enable-ipcdir=/run/pcscd $(shell dpkg-buildflags --export=configure)
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
skip_packages = -Npcscd
endif
override_dh_builddeb:
dh_builddeb ${skip_packages}
override_dh_gencontrol:
dh_gencontrol ${skip_packages}