Skip to content

Commit

Permalink
Don't use %config(noreplace).
Browse files Browse the repository at this point in the history
[packaging] Update config as per policy. Contributes JB#44152

Signed-off-by: David Greaves <david.greaves@jolla.com>
  • Loading branch information
lbt committed Aug 15, 2019
1 parent f37e5e4 commit 289fcf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rpm/policycoreutils.spec
Expand Up @@ -300,7 +300,7 @@ or level of a logged in user.

%files newrole
%attr(0755,root,root) %caps(cap_dac_read_search,cap_setpcap,cap_audit_write,cap_sys_admin,cap_fowner,cap_chown,cap_dac_override=pe) %{_bindir}/newrole
%config(noreplace) %{_sysconfdir}/pam.d/newrole
%config %{_sysconfdir}/pam.d/newrole

%files -f %{name}.lang
%{_sbindir}/restorecon
Expand All @@ -320,7 +320,7 @@ or level of a logged in user.
%{_unitdir}/selinux-autorelabel.service
%{_unitdir}/selinux-autorelabel.target
%{generatorsdir}/selinux-autorelabel-generator.sh
%config(noreplace) %{_sysconfdir}/sestatus.conf
%config %{_sysconfdir}/sestatus.conf
# selinux-policy Requires: policycoreutils, so we own this set of directories and our files within them
%doc policycoreutils/COPYING
%doc %{_usr}/share/doc/%{name}
Expand All @@ -336,8 +336,8 @@ The policycoreutils-restorecond package contains the restorecond service.
%files restorecond
%{_sbindir}/restorecond
%{_unitdir}/restorecond.service
%config(noreplace) %{_sysconfdir}/selinux/restorecond.conf
%config(noreplace) %{_sysconfdir}/selinux/restorecond_user.conf
%config %{_sysconfdir}/selinux/restorecond.conf
%config %{_sysconfdir}/selinux/restorecond_user.conf
%{_sysconfdir}/xdg/autostart/restorecond.desktop
%{_datadir}/dbus-1/services/org.selinux.Restorecond.service
%doc policycoreutils/COPYING
Expand Down

0 comments on commit 289fcf4

Please sign in to comment.