Also add Provides for the old name without %_isa

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 16:47:51 -04:00
parent 5c06281133
commit 3ed3f18813

View File

@ -9,7 +9,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.7
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2
Group: System Environment/Base
# https://github.com/SELinuxProject/selinux/wiki/Releases
@ -272,6 +272,7 @@ by python 3 in an SELinux environment.
%package -n python2-policycoreutils
%{?python_provide:%python_provide python2-policycoreutils}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: SELinux policy core python utilities
@ -502,6 +503,9 @@ The policycoreutils-restorecond package contains the restorecond service.
%systemd_postun_with_restart restorecond.service
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7-3
- Also add Provides for the old name without %%_isa
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7-2
- Python 2 binary package renamed to python2-policycoreutils
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3