Since python subpackages are noarch now, use provides without %_isa

This commit is contained in:
Petr Lautrbach 2018-03-21 17:54:54 +01:00
parent 389ac0b9c7
commit e7588169c3

View File

@ -243,7 +243,7 @@ an SELinux environment.
%{?python_provide:%python_provide python3-policycoreutils}
# Remove before F31
Provides: %{name}-python3 = %{version}-%{release}
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
Provides: %{name}-python3 = %{version}-%{release}
Obsoletes: %{name}-python3 < %{version}-%{release}
Summary: SELinux policy core python3 interfaces
Requires:policycoreutils = %{version}-%{release}
@ -283,7 +283,7 @@ by python 3 in an SELinux environment.
%{?python_provide:%python_provide python2-policycoreutils}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Provides: %{name}-python = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: SELinux policy core python2 utilities
Requires:policycoreutils = %{version}-%{release}