diff --git a/bladeRF.changes b/bladeRF.changes index ace2823..3a5a747 100644 --- a/bladeRF.changes +++ b/bladeRF.changes @@ -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 diff --git a/bladeRF.spec b/bladeRF.spec index 5b376b2..79d5e85 100644 --- a/bladeRF.spec +++ b/bladeRF.spec @@ -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