diff --git a/restorecond.changes b/restorecond.changes index f894cb5..287df4f 100644 --- a/restorecond.changes +++ b/restorecond.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 2 12:10:11 UTC 2021 - Johannes Segitz + +- Claim ownership for %{_sysconfdir}/selinux + ------------------------------------------------------------------- Mon Nov 15 15:48:12 UTC 2021 - Johannes Segitz diff --git a/restorecond.spec b/restorecond.spec index e8a62af..bd71fde 100644 --- a/restorecond.spec +++ b/restorecond.spec @@ -25,7 +25,7 @@ License: GPL-2.0-or-later Group: Productivity/Security URL: https://github.com/SELinuxProject/selinux.git Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz -Patch0: harden_restorecond.service.patch +Patch0: harden_restorecond.service.patch BuildRequires: dbus-1-glib-devel BuildRequires: libselinux-devel >= %{libselinux_ver} Requires: libselinux1 >= %{libselinux_ver} @@ -60,6 +60,7 @@ ln -s /sbin/service %{buildroot}%{_sbindir}/rcrestorecond %service_del_postun restorecond.service %files +%dir %{_sysconfdir}/selinux %config %{_sysconfdir}/selinux/restorecond.conf %config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf %{_sysconfdir}/xdg/autostart/restorecond.desktop