[packages/selinux-python] - updated to 3.1 (20200710)

qboosh qboosh at pld-linux.org
Mon Jun 28 20:11:55 CEST 2021


commit 0819d7373590a8c74e8ff10786a368f0c3d0e754
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jun 28 20:14:41 2021 +0200

    - updated to 3.1 (20200710)

 selinux-python.spec | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/selinux-python.spec b/selinux-python.spec
index 117ec10..b0e8363 100644
--- a/selinux-python.spec
+++ b/selinux-python.spec
@@ -1,23 +1,23 @@
 Summary:	SELinux Python policy utilities
 Summary(pl.UTF-8):	Narzędzia do polityk SELinuksa napisane w Pythonie
 Name:		selinux-python
-Version:	2.9
-Release:	3
+Version:	3.1
+Release:	1
 License:	GPL v2 (sepolgen), GPL v2+ (semodule, sepolicy)
 Group:		Applications/System
 #Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
-Source0:	https://github.com/SELinuxProject/selinux/releases/download/20190315/%{name}-%{version}.tar.gz
-# Source0-md5:	e9dfedd1139dd9998f5a09abfb670454
+Source0:	https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz
+# Source0-md5:	ec75687b680e0dd63e3ded05bd41cb5a
 URL:		https://github.com/SELinuxProject/selinux/wiki
-BuildRequires:	libsepol-static >= 2.9
+BuildRequires:	libsepol-static >= 3.1
 BuildRequires:	python3-modules
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 # audit2allow requires sepolgen,selinux modules
 # chcat requires selinux,seobject modules and "policycoreutils" translations domain
 # semanage requires seobject module (part of semanage in fact) and "policycoreutils" translations domain
-Requires:	policycoreutils >= 2.9
-Requires:	python3-selinux >= 2.9
+Requires:	policycoreutils >= 3.1
+Requires:	python3-selinux >= 3.1
 Requires:	python3-sepolicy = %{version}-%{release}
 Obsoletes:	policycoreutils-sepolicy < 2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -68,7 +68,7 @@ Summary:	sepolgen - Python 3 module for policy generation
 Summary(pl.UTF-8):	Moduł Pythona 3 sepolgen do generowania polityki
 License:	GPL v2
 Group:		Libraries/Python
-Requires:	python3-selinux >= 2.9
+Requires:	python3-selinux >= 3.1
 Suggests:	python3-setools
 Obsoletes:	python-sepolgen-common < 2.9-1
 BuildArch:	noarch
@@ -85,10 +85,10 @@ Summary(pl.UTF-8):	Moduły Pythona do operowania na politykach SELinuksa
 Group:		Libraries/Python
 # seobject uses selinux,semanage,sepolicy,setools +IPy modules and "policycoreutils" translations domain
 # seobject and sepolicy use translations from policycoreutils domain
-Requires:	policycoreutils >= 2.9
+Requires:	policycoreutils >= 3.1
 Requires:	python3-IPy
 Requires:	python3-dbus
-Requires:	python3-semanage >= 2.9
+Requires:	python3-semanage >= 3.1
 Requires:	python3-sepolgen = %{version}-%{release}
 Requires:	python3-setools
 Requires:	python3-slip-dbus
@@ -139,7 +139,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/semanage*.8*
 %{_mandir}/man8/sepolgen.8*
 %{_mandir}/man8/sepolicy*.8*
-%lang(ru) %{_mandir}/ru/man*/*
+%lang(ru) %{_mandir}/ru/man1/audit2allow.1*
+%lang(ru) %{_mandir}/ru/man1/audit2why.1*
+%lang(ru) %{_mandir}/ru/man8/chcat.8*
+%lang(ru) %{_mandir}/ru/man8/semanage*.8*
+%lang(ru) %{_mandir}/ru/man8/sepolgen.8*
+%lang(ru) %{_mandir}/ru/man8/sepolicy*.8*
 
 %files -n bash-completion-%{name}
 %defattr(644,root,root,755)
@@ -167,4 +172,4 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py3_sitedir}/sepolicy/templates
 %{py3_sitedir}/sepolicy/templates/__pycache__
 %{py3_sitedir}/sepolicy/templates/*.py
-%{py3_sitedir}/sepolicy-1.1-py*.egg-info
+%{py3_sitedir}/sepolicy-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/selinux-python.git/commitdiff/0819d7373590a8c74e8ff10786a368f0c3d0e754



More information about the pld-cvs-commit mailing list