SHA256
1
0
forked from pool/usbguard

Accepting request 647070 from home:jengelh:branches:hardware

- Fix RPM groups. Avoid pointless shelling out to /bin/rm.

OBS-URL: https://build.opensuse.org/request/show/647070
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal 2018-11-08 07:45:11 +00:00 committed by Git OBS Bridge
parent 7d16704a91
commit 8560fbf779
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 7 17:38:38 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Fix RPM groups. Avoid pointless shelling out to /bin/rm.
-------------------------------------------------------------------
Tue Oct 9 09:48:44 UTC 2018 - Robert Frohl <rfrohl@suse.com>

View File

@ -70,7 +70,7 @@ USB device attributes.
%package -n %lname
Summary: Library for implementing USB device usage policy
Group: System/Daemons
Group: System/Libraries
%description -n %lname
The USBGuard software framework helps to protect your computer against rogue USB
@ -134,8 +134,7 @@ make %{?_smp_mflags}
# make check
%install
make install INSTALL='install -p' DESTDIR=%{buildroot}
%make_install INSTALL="install -p"
ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rcusbguard
# Install configuration
@ -151,7 +150,7 @@ mkdir -p %{buildroot}%{_datadir}/zsh/site-functions/
install -p -m 644 scripts/usbguard-zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_usbguard
# Cleanup
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete
%preun
%service_del_preun usbguard.service