diff --git a/SOURCES/Allow-focal_moh_spi-device.patch b/SOURCES/Allow-focal_moh_spi-device.patch new file mode 100644 index 0000000..5aa05d7 --- /dev/null +++ b/SOURCES/Allow-focal_moh_spi-device.patch @@ -0,0 +1,12 @@ +diff --git a/data/fprintd.service.in b/data/fprintd.service.in +index 9ebdd88..b96f155 100644 +--- a/data/fprintd.service.in ++++ b/data/fprintd.service.in +@@ -40,6 +40,7 @@ ProtectClock=yes + DeviceAllow=char-usb_device rw + DeviceAllow=char-spi rw + DeviceAllow=char-hidraw rw ++DeviceAllow=/dev/focal_moh_spi rw + + # Allow tuning USB parameters (wakeup and persist) + ReadWritePaths=/sys/devices diff --git a/SPECS/fprintd.spec b/SPECS/fprintd.spec index 0c515be..b393df8 100644 --- a/SPECS/fprintd.spec +++ b/SPECS/fprintd.spec @@ -10,7 +10,7 @@ Name: fprintd Version: 1.94.2 -Release: %autorelease +Release: %autorelease.inferit Summary: D-Bus service for Fingerprint reader access # man page is GFDL-1.1-or-later @@ -35,6 +35,8 @@ BuildRequires: python3-dbusmock BuildRequires: python3-libpamtest Patch0: 0001-Don-t-try-to-clear-storage-on-devices-without-intern.patch +# MSVSphere +Patch1001: Allow-focal_moh_spi-device.patch %description D-Bus service to access fingerprint readers. @@ -108,6 +110,9 @@ fi %{_datadir}/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml %changelog +* Tue Jan 28 2025 Sergey Cherevko - 1.94.2-12.inferit +- Allow focal_moh_spi device + * Tue Nov 26 2024 MSVSphere Packaging Team - 1.94.2-12 - Rebuilt for MSVSphere 10