SHA256
1
0
forked from pool/rtl-sdr
Martin Pluskal 2017-04-23 16:23:20 +00:00 committed by Git OBS Bridge
parent 053a527862
commit 1200a3b0cf
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
-------------------------------------------------------------------
Thu Apr 20 11:50:00 UTC 2017 - mpluskal@suse.com
Sun Apr 23 16:22:00 UTC 2017 - mpluskal@suse.com
- Update group handling

View File

@ -49,6 +49,7 @@ Library to run Realtek RTL2832 based DVB dongle as a SDR receiver.
%package udev
Summary: Udev rules for RTL2832
Group: Hardware/Other
Requires(pre): shadow
%description udev
Udev rules for rtl-sdr driver
@ -77,12 +78,12 @@ make %{?_smp_mflags}
%cmake_install
rm %{buildroot}%{_libdir}/librtlsdr.a
%pre
getent group %{rtlsdr_group} >/dev/null || groupadd -r %{rtlsdr_group}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%pre udev
getent group %{rtlsdr_group} >/dev/null || groupadd -r %{rtlsdr_group}
%post udev
%udev_rules_update