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
This commit is contained in:
Johannes Segitz 2021-06-09 05:13:16 +00:00 committed by Git OBS Bridge
parent 67e04a1493
commit 0dba65a9d5
2 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 8 11:10:02 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix dependency of python3-setools: require python3, not python
(which is python2).
-------------------------------------------------------------------
Tue Mar 9 09:24:10 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -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}