Add selinux-policy as a requires to get /etc/selinux owned

This commit is contained in:
Dan Walsh 2013-01-16 09:56:17 -05:00
parent 971fc3e245
commit 4f6c727597

View File

@ -22,6 +22,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libselinux-devel >= %{libselinuxver} swig ustr-devel
BuildRequires: libsepol-devel >= %{libsepolver}
BuildRequires: python-devel bison flex bzip2-devel
Requires: selinux-policy
%if 0%{?with_python3}
BuildRequires: python3-devel
@ -146,7 +147,6 @@ rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/selinux
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
/%{_libdir}/libsemanage.so.1
@ -182,7 +182,7 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
* Wed Jan 16 2013 Dan Walsh <dwalsh@redhat.com> 2.1.9-4
- Add /etc/selinux to payload
- Add selinux-policy as a requires to get /etc/selinux owned
* Sat Jan 5 2013 Dan Walsh <dwalsh@redhat.com> 2.1.9-3
- Update to latest patches from eparis/Upstream
@ -1232,5 +1232,3 @@ invoking the appropriate config tool (or by hardcoding the old value for
- Initial version
- Created by Stephen Smalley <sds@epoch.ncsc.mil>