%{?_isa} goes with the name, not the version

This commit is contained in:
John Eckersberg 2012-04-27 14:38:38 -04:00
parent 927b2d9c90
commit 0c86512e39

View File

@ -16,7 +16,7 @@ Source0: http://pyyaml.org/download/pyyaml/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: python-devel, python-setuptools, libyaml-devel
Provides: python-yaml = %{version}-%{release}
Provides: python-yaml = %{version}-%{release}%{?_isa}
Provides: python-yaml%{?_isa} = %{version}-%{release}
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools