SHA256
1
0
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:
Johannes Segitz 2020-07-16 06:40:33 +00:00 committed by Git OBS Bridge
parent 6290a0b7e7
commit 0e867f8f06
2 changed files with 7 additions and 2 deletions

View File

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

View File

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