diff --git a/0001-Require-networkx-on-package-level.patch b/0001-Require-networkx-on-package-level.patch deleted file mode 100644 index 114c7a9a024b250d179f1b861adac5233000eb95..0000000000000000000000000000000000000000 --- a/0001-Require-networkx-on-package-level.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 7b73bdeda54b9c944774452bfa3b3c1f2733b3f0 Mon Sep 17 00:00:00 2001 -From: Petr Lautrbach -Date: Thu, 2 Apr 2020 16:06:14 +0200 -Subject: [PATCH 2/2] Require networkx on package level - -It allows us to ship python3-setools without dependency on python3-networkx ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index c593b786cc61..0551811e3fd1 100644 ---- a/setup.py -+++ b/setup.py -@@ -163,5 +163,5 @@ setup(name='setools', - # setup also requires libsepol and libselinux - # C libraries and headers to compile. - setup_requires=['setuptools', 'Cython>=0.27'], -- install_requires=['setuptools', 'networkx>=2.0'] -+ install_requires=['setuptools'] - ) --- -2.30.0 - diff --git a/4.4.1.tar.gz b/4.4.1.tar.gz deleted file mode 100644 index 856269630c5edf129964cd9bb1615d6a0fd2364b..0000000000000000000000000000000000000000 Binary files a/4.4.1.tar.gz and /dev/null differ diff --git a/4.5.1.tar.gz b/4.5.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..142b31d225efc0140227293c27a0706490c98312 Binary files /dev/null and b/4.5.1.tar.gz differ diff --git a/setools.spec b/setools.spec index d66ba30766a0d9f22808f0e4b87b5ded5a1950d4..53ff9ac459955a6631be21336f79c7e8cdf7b4c5 100644 --- a/setools.spec +++ b/setools.spec @@ -1,7 +1,7 @@ -%define anolis_release 2 +%define anolis_release 1 Name: setools -Version: 4.4.1 +Version: 4.5.1 Release: %{anolis_release}%{?dist} Summary: Policy analysis tools for SELinux @@ -11,7 +11,6 @@ Source0: https://github.com/SELinuxProject/setools/archive/refs/tags/%{version}. Source1: setools.pam Source2: apol.desktop -Patch0001: 0001-Require-networkx-on-package-level.patch BuildRequires: flex, bison vim BuildRequires: glibc-devel, gcc, git-core @@ -130,6 +129,10 @@ The gui package for %{name}. %{_mandir}/ru/man1/apol* %changelog +* Thu Mar 20 2025 Bo Ren - 4.5.1-1 +- Update to 4.5.1 from 4.4.1 +- Remove patches that exist in the new version + * Wed Mar 13 2024 Zhao Hang - 4.4.1-2 - Rebuild with python3.11 - Fix build error