- Use %{_unitdir} for the location of the .service file

where /usr/lib was intended

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/restorecond?expand=0&rev=14
This commit is contained in:
Johannes Segitz 2020-05-12 06:52:37 +00:00 committed by Git OBS Bridge
parent 63f19ecb17
commit 2fff5494e5
2 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,13 @@
-------------------------------------------------------------------
Tue May 12 06:50:33 UTC 2020 - Johannes Segitz <jsegitz@suse.de>
- Use %{_unitdir} for the location of the .service file
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 7 08:44:43 UTC 2020 - pgajdos@suse.com Thu May 7 08:44:43 UTC 2020 - pgajdos@suse.com
- %{_libexecdir} now expands to /usr/libexec, so do not use it - %{_libexecdir} now expands to /usr/libexec, so do not use it
where /usr/lib was intended; use %{_tmpfilesdir} in this case where /usr/lib was intended
instead
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 3 12:28:15 UTC 2020 - Johannes Segitz <jsegitz@suse.de> Tue Mar 3 12:28:15 UTC 2020 - Johannes Segitz <jsegitz@suse.de>

View File

@ -61,7 +61,8 @@ ln -s /sbin/service %{buildroot}%{_sbindir}/rcrestorecond
%config %{_sysconfdir}/selinux/restorecond.conf %config %{_sysconfdir}/selinux/restorecond.conf
%config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf %config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf
%{_sysconfdir}/xdg/autostart/restorecond.desktop %{_sysconfdir}/xdg/autostart/restorecond.desktop
/usr/lib/systemd/system/restorecond.service %{_unitdir}/restorecond.service
%{_sbindir}/restorecond %{_sbindir}/restorecond
%{_sbindir}/rcrestorecond %{_sbindir}/rcrestorecond
%{_datadir}/dbus-1/services/org.selinux.Restorecond.service %{_datadir}/dbus-1/services/org.selinux.Restorecond.service