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:
parent
7d16704a91
commit
8560fbf779
@ -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>
|
Tue Oct 9 09:48:44 UTC 2018 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ USB device attributes.
|
|||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Library for implementing USB device usage policy
|
Summary: Library for implementing USB device usage policy
|
||||||
Group: System/Daemons
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
The USBGuard software framework helps to protect your computer against rogue USB
|
The USBGuard software framework helps to protect your computer against rogue USB
|
||||||
@ -134,8 +134,7 @@ make %{?_smp_mflags}
|
|||||||
# make check
|
# make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL='install -p' DESTDIR=%{buildroot}
|
%make_install INSTALL="install -p"
|
||||||
|
|
||||||
ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rcusbguard
|
ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rcusbguard
|
||||||
|
|
||||||
# Install configuration
|
# 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
|
install -p -m 644 scripts/usbguard-zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_usbguard
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'
|
find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun usbguard.service
|
%service_del_preun usbguard.service
|
||||||
|
Loading…
Reference in New Issue
Block a user