Add selinux-policy as a requires to get /etc/selinux owned
This commit is contained in:
parent
971fc3e245
commit
4f6c727597
@ -22,6 +22,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
BuildRequires: libselinux-devel >= %{libselinuxver} swig ustr-devel
|
BuildRequires: libselinux-devel >= %{libselinuxver} swig ustr-devel
|
||||||
BuildRequires: libsepol-devel >= %{libsepolver}
|
BuildRequires: libsepol-devel >= %{libsepolver}
|
||||||
BuildRequires: python-devel bison flex bzip2-devel
|
BuildRequires: python-devel bison flex bzip2-devel
|
||||||
|
Requires: selinux-policy
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -146,7 +147,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_sysconfdir}/selinux
|
|
||||||
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
|
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
|
||||||
/%{_libdir}/libsemanage.so.1
|
/%{_libdir}/libsemanage.so.1
|
||||||
|
|
||||||
@ -182,7 +182,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 16 2013 Dan Walsh <dwalsh@redhat.com> 2.1.9-4
|
* 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
|
* Sat Jan 5 2013 Dan Walsh <dwalsh@redhat.com> 2.1.9-3
|
||||||
- Update to latest patches from eparis/Upstream
|
- 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
|
- Initial version
|
||||||
- Created by Stephen Smalley <sds@epoch.ncsc.mil>
|
- Created by Stephen Smalley <sds@epoch.ncsc.mil>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user