diff --git a/support/selinux-refpolicy-sources.spec.skel b/support/selinux-refpolicy-sources.spec.skel index bcdf5bb..8973bc7 100644 --- a/support/selinux-refpolicy-sources.spec.skel +++ b/support/selinux-refpolicy-sources.spec.skel @@ -10,8 +10,8 @@ Release: 1 License: GPL Group: System Environment/Base PreReq: m4 make policycoreutils kernel gcc -Requires: checkpolicy >= 1.32 -Requires: python +Requires: checkpolicy >= 1.33.1 +Requires: python make m4 BuildRequires: make m4 python Obsoletes: policy-sources Source: refpolicy-%{version}.tar.bz2 @@ -43,43 +43,7 @@ make DESTDIR=$RPM_BUILD_ROOT install-src rm -fR $RPM_BUILD_ROOT %files -%defattr(0600,root,root,0700) -%dir %{_sysconfdir}/selinux/%{type}/src/policy -%config %{_sysconfdir}/selinux/%{type}/src/policy/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/doc -%config %{_sysconfdir}/selinux/%{type}/src/policy/doc/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/doc/templates -%config %{_sysconfdir}/selinux/%{type}/src/policy/doc/templates/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/support -%config %{_sysconfdir}/selinux/%{type}/src/policy/support/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/config -%config(noreplace) %{_sysconfdir}/selinux/%{type}/src/policy/config/local.users -%dir %{_sysconfdir}/selinux/%{type}/src/policy/config/appconfig-targeted -%config %{_sysconfdir}/selinux/%{type}/src/policy/config/appconfig-targeted/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/config/appconfig-strict -%config %{_sysconfdir}/selinux/%{type}/src/policy/config/appconfig-strict/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy -%config(noreplace) %{_sysconfdir}/selinux/%{type}/src/policy/policy/users -%config(noreplace) %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules.conf -%config(noreplace) %{_sysconfdir}/selinux/%{type}/src/policy/policy/booleans.conf -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/mls -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/mcs -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/global_booleans -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/global_tunables -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/flask -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/flask/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/kernel -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/kernel/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/apps -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/apps/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/services -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/services/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/system -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/system/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/admin -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/modules/admin/* -%dir %{_sysconfdir}/selinux/%{type}/src/policy/policy/support -%config %{_sysconfdir}/selinux/%{type}/src/policy/policy/support/* +%defattr(-,root,root,-) +%{_sysconfdir}/selinux/%{type}/src/policy/ %changelog