diff --git a/debian/changelog b/debian/changelog index a9ae426..8bc4d0c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 diff --git a/debian/rules b/debian/rules index a46ce7a..b8cd4ae 100755 --- a/debian/rules +++ b/debian/rules @@ -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}