Accepting request 490051 from home:mnhauke:sdr-devel

- Update group handling

OBS-URL: https://build.opensuse.org/request/show/490051
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/bladeRF?expand=0&rev=12
This commit is contained in:
Martin Pluskal 2017-04-23 20:14:01 +00:00 committed by Git OBS Bridge
parent d06d91306e
commit 8a786cf011
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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