From be3765e54aedf064e941035f0e57575fa898a642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 12 Aug 2017 09:06:58 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-setools --- setools.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/setools.spec b/setools.spec index 0d68848..5da0745 100644 --- a/setools.spec +++ b/setools.spec @@ -11,7 +11,7 @@ Name: setools Version: 4.1.1 -Release: 2%{?setools_pre_ver:.%{setools_pre_ver}}%{?dist} +Release: 3%{?setools_pre_ver:.%{setools_pre_ver}}%{?dist} Summary: Policy analysis tools for SELinux License: GPLv2 @@ -77,11 +77,15 @@ This package includes the following console tools: seinfoflow Perform information flow analyses. -%package python +%package -n python2-setools Summary: Policy analysis tools for SELinux Recommends: libselinux-python +%{?python_provide:%python_provide python2-setools} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} -%description python +%description -n python2-setools SETools is a collection of graphical tools, command-line tools, and Python 2 modules designed to facilitate SELinux policy analysis. @@ -157,7 +161,7 @@ popd %{_mandir}/man1/sedta* %{_mandir}/man1/seinfoflow* -%files python +%files -n python2-setools # %doc AUTHORS ChangeLog KNOWN-BUGS NEWS README %license COPYING COPYING.GPL COPYING.LGPL # For noarch packages: sitelib @@ -178,6 +182,10 @@ popd %{_mandir}/man1/apol* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 4.1.1-3 +- Python 2 binary package renamed to python2-setools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 10 2017 Petr Lautrbach - 4.1.1-2 - bswap_* macros are defined in byteswap.h