Correct usage of python_provide macro

This commit is contained in:
Toshio Kuratomi 2016-12-30 23:07:18 -08:00
parent 5580b93d3d
commit 86bdc60a99

View File

@ -6,7 +6,7 @@
Name: python-%{modulename}
Summary: A python based HTML parser/tokenizer
Version: 0.999
Release: 11%{?dist}
Release: 12%{?dist}
Epoch: 1
Group: Development/Libraries
License: MIT
@ -31,7 +31,7 @@ BuildRequires: python-setuptools
BuildRequires: python2-devel
BuildRequires: python-nose
BuildRequires: python-six
%{?python_provide;%python_provide python2-%{modulename}}
%{?python_provide:%python_provide python2-%{modulename}}
%description -n python2-%{modulename}
A python based HTML parser/tokenizer based on the WHATWG HTML5
@ -47,7 +47,7 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
BuildRequires: python3-six
%{?python_provide;%python_provide python3-%{modulename}}
%{?python_provide:%python_provide python3-%{modulename}}
%description -n python3-%{modulename}
A python based HTML parser/tokenizer based on the WHATWG HTML5
@ -98,6 +98,9 @@ nosetests-%{python3_version}
%changelog
* Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1:0.999-12
- Correct usage of the %%python_provide macro
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1:0.999-11
- Ship python2-html5lib
- Modernize spec