forked from pool/restorecond
Accepting request 821224 from home:jsegitz:branches:security:SELinux
- Use proper macros for SYSTEMDSYSTEMUNITDIR and SYSTEMDUSERUNITDIR OBS-URL: https://build.opensuse.org/request/show/821224 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/restorecond?expand=0&rev=17
This commit is contained in:
parent
6290a0b7e7
commit
0e867f8f06
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 15 14:27:05 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Use proper macros for SYSTEMDSYSTEMUNITDIR and SYSTEMDUSERUNITDIR
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 08:32:09 UTC 2020 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
|
@ -41,7 +41,7 @@ export CFLAGS="%optflags"
|
||||
%make_build LSPP_PRIV=y all
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} SHLIBDIR=/%{_lib} SYSTEMDSYSTEMUNITDIR=/usr/lib/systemd/system SYSTEMDUSERUNITDIR=/usr/lib/systemd/user install
|
||||
make DESTDIR=%{buildroot} SHLIBDIR=/%{_lib} SYSTEMDSYSTEMUNITDIR=%{_unitdir} SYSTEMDUSERUNITDIR=%{_userunitdir} install
|
||||
rm %{buildroot}%{_sysconfdir}/rc.d/init.d/restorecond
|
||||
ln -s /sbin/service %{buildroot}%{_sbindir}/rcrestorecond
|
||||
|
||||
@ -62,7 +62,7 @@ ln -s /sbin/service %{buildroot}%{_sbindir}/rcrestorecond
|
||||
%config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf
|
||||
%{_sysconfdir}/xdg/autostart/restorecond.desktop
|
||||
%{_unitdir}/restorecond.service
|
||||
/usr/lib/systemd/user/restorecond_user.service
|
||||
%{_userunitdir}/restorecond_user.service
|
||||
|
||||
%{_sbindir}/restorecond
|
||||
%{_sbindir}/rcrestorecond
|
||||
|
Loading…
Reference in New Issue
Block a user