Correct usage of python_provide macro
This commit is contained in:
parent
5580b93d3d
commit
86bdc60a99
@ -6,7 +6,7 @@
|
|||||||
Name: python-%{modulename}
|
Name: python-%{modulename}
|
||||||
Summary: A python based HTML parser/tokenizer
|
Summary: A python based HTML parser/tokenizer
|
||||||
Version: 0.999
|
Version: 0.999
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -31,7 +31,7 @@ BuildRequires: python-setuptools
|
|||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
BuildRequires: python-six
|
BuildRequires: python-six
|
||||||
%{?python_provide;%python_provide python2-%{modulename}}
|
%{?python_provide:%python_provide python2-%{modulename}}
|
||||||
|
|
||||||
%description -n python2-%{modulename}
|
%description -n python2-%{modulename}
|
||||||
A python based HTML parser/tokenizer based on the WHATWG HTML5
|
A python based HTML parser/tokenizer based on the WHATWG HTML5
|
||||||
@ -47,7 +47,7 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
BuildRequires: python3-six
|
BuildRequires: python3-six
|
||||||
%{?python_provide;%python_provide python3-%{modulename}}
|
%{?python_provide:%python_provide python3-%{modulename}}
|
||||||
|
|
||||||
%description -n python3-%{modulename}
|
%description -n python3-%{modulename}
|
||||||
A python based HTML parser/tokenizer based on the WHATWG HTML5
|
A python based HTML parser/tokenizer based on the WHATWG HTML5
|
||||||
@ -98,6 +98,9 @@ nosetests-%{python3_version}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1:0.999-11
|
||||||
- Ship python2-html5lib
|
- Ship python2-html5lib
|
||||||
- Modernize spec
|
- Modernize spec
|
||||||
|
Loading…
Reference in New Issue
Block a user