Accepting request 935167 from home:jsegitz:branches:security:SELinux

- Claim ownership for %{_sysconfdir}/selinux

OBS-URL: https://build.opensuse.org/request/show/935167
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/restorecond?expand=0&rev=24
This commit is contained in:
Johannes Segitz 2021-12-02 12:37:10 +00:00 committed by Git OBS Bridge
parent d73b34fb18
commit 3cffbac080
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 2 12:10:11 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Claim ownership for %{_sysconfdir}/selinux
-------------------------------------------------------------------
Mon Nov 15 15:48:12 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

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