forked from pool/rtl-sdr
This commit is contained in:
parent
053a527862
commit
1200a3b0cf
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user