diff --git a/libsemanage-2.9.tar.gz b/libsemanage-2.9.tar.gz deleted file mode 100644 index 9f73aff8dc026e53f6537dcf98f91b6f25435df7..0000000000000000000000000000000000000000 Binary files a/libsemanage-2.9.tar.gz and /dev/null differ diff --git a/libsemanage-3.1.tar.gz b/libsemanage-3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..cbcf74da639c7ab6ddee4b068af4f3db71951f68 Binary files /dev/null and b/libsemanage-3.1.tar.gz differ diff --git a/libsemanage.spec b/libsemanage.spec index 8c2b6d8cf19a081dff1ff37b7ff916b9dde64c10..f73509e7fd843a2815da1620ea85b1a28b8bb9df 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,13 +1,13 @@ -%define libsepol_version 2.8-1 -%define libselinux_version 2.8-1 +%define libsepol_version 3.1-1 +%define libselinux_version 3.1-1 Name: libsemanage -Version: 2.9 -Release: 4 +Version: 3.1 +Release: 1 License: LGPLv2+ Summary: SELinux binary policy manipulation library URL: https://github.com/SELinuxProject/selinux/wiki -Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libsemanage-2.9.tar.gz +Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/libsemanage-3.1.tar.gz Source1: semanage.conf BuildRequires: gcc python3-devel python2-devel bison flex bzip2-devel audit-libs-devel @@ -26,8 +26,8 @@ file_contexts configuration is valid. %package devel Summary: Header files and libraries used to build policy manipulation tools Requires: %{name} = %{version}-%{release} -Provides: libsemanage-static -Obsoletes: libsemanage-static +Provides: libsemanage-static = %{version}-%{release} +Obsoletes: libsemanage-static < %{version}-%{release} %description devel The libsemanage-devel package contains the libraries and header files @@ -99,7 +99,7 @@ ln -sf %{_libdir}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so %{_includedir}/semanage/*.h %files -n python2-libsemanage -%{python2_sitearch}/_semanage.so +%{python2_sitearch}/_semanage %{python2_sitearch}/semanage.py* %files -n python3-libsemanage @@ -115,6 +115,9 @@ ln -sf %{_libdir}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so %changelog +* Fri Aug 28 2020 wangchen - 3.1-1 +- update to 3.1 + * Tue Aug 18 2020 wenzhanli - 2.9-4 - add release version for update