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:
parent
d06d91306e
commit
8a786cf011
@ -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
|
Thu Apr 20 11:46:42 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -57,6 +57,7 @@ Library for bladeRF, SDR transceiver.
|
|||||||
%package udev
|
%package udev
|
||||||
Summary: Udev rules for bladeRF
|
Summary: Udev rules for bladeRF
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
|
Requires(pre): shadow
|
||||||
|
|
||||||
%description udev
|
%description udev
|
||||||
Udev rules for bladeRF
|
Udev rules for bladeRF
|
||||||
@ -91,11 +92,12 @@ make %{?_smp_mflags}
|
|||||||
cd host
|
cd host
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%pre
|
|
||||||
getent group %{bladerf_group} >/dev/null || groupadd -r %{bladerf_group}
|
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -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
|
%post udev
|
||||||
%udev_rules_update
|
%udev_rules_update
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user