[packages/selinux-python] - updated to 3.8

qboosh qboosh at pld-linux.org
Sun Mar 2 22:08:57 CET 2025


commit edca9cdfe76ce1c448ea063b56e78467e42525f8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 2 22:06:04 2025 +0100

    - updated to 3.8

 selinux-python.spec | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/selinux-python.spec b/selinux-python.spec
index 9a07033..44aeec6 100644
--- a/selinux-python.spec
+++ b/selinux-python.spec
@@ -1,16 +1,17 @@
+%define	selinux_ver	3.8
 Summary:	SELinux Python policy utilities
 Summary(pl.UTF-8):	Narzędzia do polityk SELinuksa napisane w Pythonie
 Name:		selinux-python
-Version:	3.7
-Release:	2
+Version:	3.8
+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/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	b2bc27bc4e3243d1f60a0cfa6343f480
+# Source0-md5:	12cbacc660f0a39f7418558c6418dadb
 Patch0:		%{name}-no-pip.patch
 URL:		https://github.com/SELinuxProject/selinux/wiki
-BuildRequires:	libsepol-static >= 3.7
+BuildRequires:	libsepol-static >= %{selinux_ver}
 BuildRequires:	python3-modules
 BuildRequires:	python3-setuptools
 BuildRequires:	rpm-build >= 4.6
@@ -19,8 +20,8 @@ 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 >= 3.7
-Requires:	python3-selinux >= 3.7
+Requires:	policycoreutils >= %{selinux_ver}
+Requires:	python3-selinux >= %{selinux_ver}
 Requires:	python3-sepolicy = %{version}-%{release}
 Obsoletes:	policycoreutils-sepolicy < 2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -72,7 +73,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 >= 3.7
+Requires:	python3-selinux >= %{selinux_ver}
 Suggests:	python3-setools
 Obsoletes:	python-sepolgen-common < 2.9-1
 BuildArch:	noarch
@@ -89,10 +90,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 >= 3.7
+Requires:	policycoreutils >= %{selinux_ver}
 Requires:	python3-IPy
 Requires:	python3-dbus
-Requires:	python3-semanage >= 3.7
+Requires:	python3-semanage >= %{selinux_ver}
 Requires:	python3-sepolgen = %{version}-%{release}
 Requires:	python3-setools
 # for sepolicy.gui additionally:
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list