update to 3.1

This commit is contained in:
wangchen2020 2020-08-28 10:38:16 +08:00
parent 84d2c9f769
commit 30f1c10f21
3 changed files with 11 additions and 8 deletions

Binary file not shown.

BIN
libsemanage-3.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,13 @@
%define libsepol_version 2.8-1 %define libsepol_version 3.1-1
%define libselinux_version 2.8-1 %define libselinux_version 3.1-1
Name: libsemanage Name: libsemanage
Version: 2.9 Version: 3.1
Release: 4 Release: 1
License: LGPLv2+ License: LGPLv2+
Summary: SELinux binary policy manipulation library Summary: SELinux binary policy manipulation library
URL: https://github.com/SELinuxProject/selinux/wiki 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 Source1: semanage.conf
BuildRequires: gcc python3-devel python2-devel bison flex bzip2-devel audit-libs-devel BuildRequires: gcc python3-devel python2-devel bison flex bzip2-devel audit-libs-devel
@ -26,8 +26,8 @@ file_contexts configuration is valid.
%package devel %package devel
Summary: Header files and libraries used to build policy manipulation tools Summary: Header files and libraries used to build policy manipulation tools
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Provides: libsemanage-static Provides: libsemanage-static = %{version}-%{release}
Obsoletes: libsemanage-static Obsoletes: libsemanage-static < %{version}-%{release}
%description devel %description devel
The libsemanage-devel package contains the libraries and header files 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 %{_includedir}/semanage/*.h
%files -n python2-libsemanage %files -n python2-libsemanage
%{python2_sitearch}/_semanage.so %{python2_sitearch}/_semanage
%{python2_sitearch}/semanage.py* %{python2_sitearch}/semanage.py*
%files -n python3-libsemanage %files -n python3-libsemanage
@ -115,6 +115,9 @@ ln -sf %{_libdir}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so
%changelog %changelog
* Fri Aug 28 2020 wangchen<wangchen137@huawei.com> - 3.1-1
- update to 3.1
* Tue Aug 18 2020 wenzhanli<wenzhanli2@huawei.com> - 2.9-4 * Tue Aug 18 2020 wenzhanli<wenzhanli2@huawei.com> - 2.9-4
- add release version for update - add release version for update