- Install the udev rule
OBS-URL: https://build.opensuse.org/package/show/security/libfido2?expand=0&rev=27
This commit is contained in:
parent
6a235fcd35
commit
3c9be2f3ea
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 3 09:11:31 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Install the udev rule
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 2 13:03:31 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
|
@ -82,15 +82,25 @@ This package contains utilities to use FIDO U2F and FIDO 2.0 protocols.
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
# 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
|
||||
|
||||
find %{buildroot} -type f -name "*.a" -delete -print
|
||||
|
||||
%post -n %{name}-%{sover} -p /sbin/ldconfig
|
||||
%postun -n %{name}-%{sover} -p /sbin/ldconfig
|
||||
%post -n %{name}-%{sover}
|
||||
/sbin/ldconfig
|
||||
%{udev_rules_update}
|
||||
|
||||
%postun -n %{name}-%{sover}
|
||||
/sbin/ldconfig
|
||||
%{udev_rules_update}
|
||||
|
||||
%files -n %{name}-%{sover}
|
||||
%license LICENSE
|
||||
%doc README.adoc
|
||||
%{_libdir}/%{name}.so.*
|
||||
%{_udevrulesdir}/70-fido2.rules
|
||||
|
||||
%files -n %{name}-devel
|
||||
%{_includedir}/*.h
|
||||
|
Loading…
Reference in New Issue
Block a user