From 0e66ded656d35ca5e4e7948126361f890ec622b95274e9bdfa5445eeb82d7430 Mon Sep 17 00:00:00 2001 From: Torsten Gruner Date: Wed, 29 Jul 2020 07:32:13 +0000 Subject: [PATCH] Accepting request 822703 from home:StefanBruens:branches:security - Cleanup udev rules, trying to use the Debian specific plugdev group fills up the journal. - Make the udev rules package noarch, correct Summary OBS-URL: https://build.opensuse.org/request/show/822703 OBS-URL: https://build.opensuse.org/package/show/security/libfido2?expand=0&rev=31 --- libfido2.changes | 7 +++++++ libfido2.spec | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libfido2.changes b/libfido2.changes index 63a3f36..8f8c5e5 100644 --- a/libfido2.changes +++ b/libfido2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 24 19:33:15 UTC 2020 - Stefan Brüns + +- Cleanup udev rules, trying to use the Debian specific plugdev + group fills up the journal. +- Make the udev rules package noarch, correct Summary + ------------------------------------------------------------------- Fri Jul 3 09:11:31 UTC 2020 - Ismail Dönmez diff --git a/libfido2.spec b/libfido2.spec index b0743eb..68a1a46 100644 --- a/libfido2.spec +++ b/libfido2.spec @@ -66,7 +66,8 @@ Conflicts: libfido2-0_4_0 This package contains utilities to use FIDO U2F and FIDO 2.0 protocols. %package udev -Summary: Utility programs making use of libfido2, a library for FIDO U2F and FIDO 2.0 +Summary: Udev rules for libfido2 +BuildArch: noarch %description udev This package contains the udev rules for FIDO2 compatible devices. @@ -84,6 +85,8 @@ This package contains the udev rules for FIDO2 compatible devices. %install %cmake_install +# Remove Debian specific plugdev setting from udev rules +sed -i -e 's/, GROUP="plugdev"//g ; s/, MODE="0660"//g' udev/70-u2f.rules # u2f-host has the same udev rule, use a different name mkdir -p %{buildroot}%{_udevrulesdir} install -m 0644 udev/70-u2f.rules %{buildroot}%{_udevrulesdir}/70-fido2.rules