From 0dba65a9d5aed2ce2c2475e455c743ffe9ecb941d4afc2081d585abe71364e3a Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Wed, 9 Jun 2021 05:13:16 +0000 Subject: [PATCH] Accepting request 898351 from home:dimstar:Factory - Fix dependency of python3-setools: require python3, not python (which is python2). gh#openSUSE/python-rpm-macros#73 - Fix setools-gui dependencies, we are using python-qt5 and not * Fixed sediff issue where properties header would display when not * Added methods to TypeAttribute class to make it a complete Python * Genfscon now will look up classes rather than using fixed values * Support for Python 2.7 was dropped - Deleted setools-3.3.7-libselinux-2.3.patch, we have a - Add setools-swig-2x.patch: correctly detect swig 2.x OBS-URL: https://build.opensuse.org/request/show/898351 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=82 --- setools.changes | 22 ++++++++++++++-------- setools.spec | 4 ++-- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/setools.changes b/setools.changes index d7f9d15..598c915 100644 --- a/setools.changes +++ b/setools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 8 11:10:02 UTC 2021 - Dominique Leuenberger + +- Fix dependency of python3-setools: require python3, not python + (which is python2). + ------------------------------------------------------------------- Tue Mar 9 09:24:10 UTC 2021 - Johannes Segitz @@ -9,13 +15,13 @@ Tue Mar 9 09:24:10 UTC 2021 - Johannes Segitz Tue Nov 3 17:56:44 UTC 2020 - Benjamin Greiner - Stay on a single python3 flavor even if there are more than one - gh#openSUSE/python-rpm-macros#73 + gh#openSUSE/python-rpm-macros#73 ------------------------------------------------------------------- Wed Oct 21 07:29:51 UTC 2020 - Thorsten Kukuk - Cleanup BuildRequires -- Fix setools-gui dependencies, we are using python-qt5 and not +- Fix setools-gui dependencies, we are using python-qt5 and not tcl/tk ------------------------------------------------------------------- @@ -31,13 +37,13 @@ Fri Apr 3 08:45:25 UTC 2020 - Johannes Segitz and run time. * Added infiniband context support to seinfo, sediff, and apol. * Added apol configuration for location of Qt assistant. - * Fixed sediff issue where properties header would display when not + * Fixed sediff issue where properties header would display when not requested. * Fixed sediff issue with type_transition file name comparison. * Fixed permission map socket sendto information flow direction. - * Added methods to TypeAttribute class to make it a complete Python + * Added methods to TypeAttribute class to make it a complete Python collection. - * Genfscon now will look up classes rather than using fixed values + * Genfscon now will look up classes rather than using fixed values which were dropped from libsepol - Dropped python3.8-compat.patch @@ -78,7 +84,7 @@ Fri Dec 7 15:10:14 UTC 2018 - jsegitz@suse.com Wed Nov 21 14:17:32 UTC 2018 - jsegitz@suse.com - Upgrade to 4.2.0 - * Support for Python 2.7 was dropped + * Support for Python 2.7 was dropped * Symbol names are now available as the name attribute (e.g. Boolean.name, Type.name, etc.) * Move constraint expression to its own class. * Made Conditional.evaluate() more useful and added BaseTERule.enabled() method to determine if a rule is enabled.. @@ -136,7 +142,7 @@ Mon Jun 26 16:30:02 UTC 2017 - jsegitz@suse.com ------------------------------------------------------------------- Thu Aug 25 15:42:18 UTC 2016 - jsegitz@novell.com -- Deleted setools-3.3.7-libselinux-2.3.patch, we have a +- Deleted setools-3.3.7-libselinux-2.3.patch, we have a current libselinux now ------------------------------------------------------------------- @@ -234,7 +240,7 @@ Wed Nov 23 09:26:22 UTC 2011 - coolo@suse.com ------------------------------------------------------------------- Thu May 26 09:30:05 UTC 2011 - idonmez@novell.com -- Add setools-swig-2x.patch: correctly detect swig 2.x +- Add setools-swig-2x.patch: correctly detect swig 2.x ------------------------------------------------------------------- Thu Feb 25 15:46:44 UTC 2010 - prusnak@suse.cz diff --git a/setools.spec b/setools.spec index fb7edb5..4352709 100644 --- a/setools.spec +++ b/setools.spec @@ -38,7 +38,7 @@ BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: python-rpm-macros BuildRequires: python3-Cython -BuildRequires: python3-devel +BuildRequires: python3-devel >= 3.4 BuildRequires: python3-setuptools Requires: setools-console = %{version}-%{release} Requires: setools-gui = %{version}-%{release} @@ -72,7 +72,7 @@ This package includes the following console tools: Summary: Python bindings for SELinux policy analysis License: LGPL-2.0-only Group: Development/Languages/Python -Requires: python +Requires: python3 >= 3.4 Requires: python3-networkx Obsoletes: python-setools < %{version}-%{release} Provides: python-setools = %{version}-%{release}