From 5c062811333e237ec72c04a40aae757dfe3391a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:39:10 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-policycoreutils --- policycoreutils.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index 8ae73a7..fcb4b09 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -9,7 +9,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: System Environment/Base # https://github.com/SELinuxProject/selinux/wiki/Releases @@ -269,7 +269,11 @@ by python 3 in an SELinux environment. %{python3_sitelib}/sepolicy*.egg-info %{python3_sitelib}/sepolicy/__pycache__ -%package python +%package -n python2-policycoreutils +%{?python_provide:%python_provide python2-policycoreutils} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: SELinux policy core python utilities Group: System Environment/Base Requires:policycoreutils = %{version}-%{release} @@ -280,11 +284,11 @@ Requires: python-IPy Requires: checkpolicy Requires: setools-python -%description python +%description -n python2-policycoreutils The policycoreutils-python package contains the management tools use to manage an SELinux environment. -%files python +%files -n python2-policycoreutils %{python_sitearch}/seobject.py* %{python_sitearch}/sepolgen %{python_sitelib}/sepolicy/templates @@ -498,6 +502,10 @@ The policycoreutils-restorecond package contains the restorecond service. %systemd_postun_with_restart restorecond.service %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.7-2 +- Python 2 binary package renamed to python2-policycoreutils + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Mon Aug 07 2017 Petr Lautrbach - 2.7-1 - Update to upstream release 2017-08-04 - Move DBUS API from -gui to -dbus package