- Update group handling

OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=11
This commit is contained in:
Martin Pluskal 2017-04-20 11:47:04 +00:00 committed by Git OBS Bridge
parent a631efa236
commit d06d91306e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 20 11:46:42 UTC 2017 - mpluskal@suse.com
- Update group handling
-------------------------------------------------------------------
Sat Apr 15 22:22:28 UTC 2017 - mardnh@gmx.de

View File

@ -92,7 +92,7 @@ cd host
%cmake_install
%pre
%{_sbindir}/groupadd -r %{bladerf_group} 2> /dev/null || :
getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group}
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig