Remove dependance on selinux-policy, /etc/selinux should be owned by libsemanage, and selinux-policy can require it.
This commit is contained in:
parent
3d5abbea35
commit
d0c5aefe7f
@ -7,7 +7,7 @@
|
||||
Summary: SELinux binary policy manipulation library
|
||||
Name: libsemanage
|
||||
Version: 2.1.10
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: libsemanage-%{version}.tgz
|
||||
@ -19,7 +19,6 @@ 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
|
||||
@ -144,6 +143,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_sysconfdir}/selinux
|
||||
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
|
||||
/%{_libdir}/libsemanage.so.1
|
||||
|
||||
@ -178,6 +178,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%endif # if with_python3
|
||||
|
||||
%changelog
|
||||
* Tue Jul 9 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-6
|
||||
- Remove dependance on selinux-policy, /etc/selinux should be owned by libsemanage, and selinux-policy can require it.
|
||||
|
||||
* Fri Jun 28 2013 Dan Walsh <dwalsh@redhat.com> - 2.1.10-5
|
||||
- Allways build python3 version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user