diff --git a/bladeRF.changes b/bladeRF.changes index 3a5a747..6b84337 100644 --- a/bladeRF.changes +++ b/bladeRF.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 23 19:27:32 UTC 2017 - mardnh@gmx.de + +- Update group handling + ------------------------------------------------------------------- Thu Apr 20 11:46:42 UTC 2017 - mpluskal@suse.com diff --git a/bladeRF.spec b/bladeRF.spec index 79d5e85..03f660e 100644 --- a/bladeRF.spec +++ b/bladeRF.spec @@ -57,6 +57,7 @@ Library for bladeRF, SDR transceiver. %package udev Summary: Udev rules for bladeRF Group: Hardware/Other +Requires(pre): shadow %description udev Udev rules for bladeRF @@ -91,11 +92,12 @@ make %{?_smp_mflags} cd host %cmake_install -%pre -getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group} - %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig + +%pre udev +getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group} + %post udev %udev_rules_update