diff --git a/libsemanage.spec b/libsemanage.spec index eb37bd2..93c6a65 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,8 +1,5 @@ -%if 0%{?fedora} > 12 %global with_python3 1 -%else %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")} -%endif %define libsepolver 2.1.9-1 %define libselinuxver 2.1.13-1 @@ -10,7 +7,7 @@ Summary: SELinux binary policy manipulation library Name: libsemanage Version: 2.1.10 -Release: 4%{?dist} +Release: 6%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: libsemanage-%{version}.tgz @@ -22,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 @@ -147,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 @@ -181,8 +178,15 @@ rm -rf ${RPM_BUILD_ROOT} %endif # if with_python3 %changelog +* Tue Jul 9 2013 Dan Walsh - 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 - 2.1.10-5 +- Allways build python3 version + * Mon Apr 22 2013 Dan Walsh - 2.1.10-4 - + * Thu Apr 11 2013 Dan Walsh - 2.1.10-3 - Fix test suite to build