SHA256
1
0
forked from pool/rtl-sdr

- Update group handling

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/rtl-sdr?expand=0&rev=8
This commit is contained in:
Martin Pluskal 2017-04-20 11:50:15 +00:00 committed by Git OBS Bridge
parent 1273f09eee
commit 053a527862
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
-------------------------------------------------------------------
Thu Apr 20 11:50:00 UTC 2017 - mpluskal@suse.com
- Update group handling
-------------------------------------------------------------------
Sat Apr 15 18:23:22 UTC 2017 - mardnh@gmx.de

View File

@ -78,7 +78,7 @@ make %{?_smp_mflags}
rm %{buildroot}%{_libdir}/librtlsdr.a
%pre
%{_sbindir}/groupadd -r %{rtlsdr_group} 2> /dev/null || :
getent group %{rtlsdr_group} >/dev/null || groupadd -r %{rtlsdr_group}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig