From 6035a0be1e8a859555d2be91af3bc0de9e308421 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 18 Apr 2018 23:43:00 +0200 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- policycoreutils.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index 5ced113..0c3be16 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -9,7 +9,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.7 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv2 # https://github.com/SELinuxProject/selinux/wiki/Releases Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/policycoreutils-2.7.tar.gz @@ -51,7 +51,7 @@ Provides: /sbin/restorecon BuildRequires: gcc BuildRequires: pam-devel libcgroup-devel libsepol-static >= %{libsepolver} libsemanage-static >= %{libsemanagever} libselinux-devel >= %{libselinuxver} libcap-devel audit-libs-devel >= %{libauditver} gettext BuildRequires: desktop-file-utils dbus-devel dbus-glib-devel -BuildRequires: python-devel python3-devel +BuildRequires: python2-devel python3-devel BuildRequires: systemd Requires: util-linux grep gawk diffutils rpm sed Requires: libsepol >= %{libsepolver} coreutils libselinux-utils >= %{libselinuxver} @@ -287,13 +287,13 @@ Provides: %{name}-python = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} Summary: SELinux policy core python2 utilities Requires:policycoreutils = %{version}-%{release} -Requires:libsemanage-python >= %{libsemanagever} libselinux-python libcgroup +Requires:python2-libsemanage >= %{libsemanagever} python2-libselinux libcgroup # no python2-audit-libs yet Requires:audit-libs-python2 >= %{libauditver} Obsoletes: policycoreutils < 2.0.61-2 -Requires: python-IPy +Requires: python2-IPy Requires: checkpolicy -Requires: setools-python >= 4.1.1 +Requires: python2-setools >= 4.1.1 BuildArch: noarch %description -n python2-policycoreutils @@ -498,6 +498,10 @@ The policycoreutils-restorecond package contains the restorecond service. %systemd_postun_with_restart restorecond.service %changelog +* Wed Apr 18 2018 Iryna Shcherbina - 2.7-19 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Tue Apr 3 2018 Petr Lautrbach - 2.7-18 - Move semodule_* utilities to policycoreutils package (#1562549)