move python3 Requires and BuildRequires into the python3 sub-package

This commit is contained in:
Dennis Gilmore 2014-05-09 14:23:09 -05:00
parent 92a09b16ec
commit 5656997aa8

View File

@ -4,7 +4,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: 2%{?dist} Release: 3%{?dist}
Epoch: 1 Epoch: 1
Group: Development/Libraries Group: Development/Libraries
License: MIT License: MIT
@ -19,16 +19,6 @@ BuildRequires: python2-devel
BuildRequires: python-nose BuildRequires: python-nose
BuildRequires: python-six BuildRequires: python-six
%if 1%{?with_python3}
Requires: python3-six
BuildRequires: python3-devel
BuildRequires: python-tools
BuildRequires: python3-nose
BuildRequires: python3-six
BuildRequires: python3-setuptools
%endif
%description %description
A python based HTML parser/tokenizer based on the WHATWG HTML5 A python based HTML parser/tokenizer based on the WHATWG HTML5
specification for maximum compatibility with major desktop web browsers. specification for maximum compatibility with major desktop web browsers.
@ -38,6 +28,13 @@ specification for maximum compatibility with major desktop web browsers.
Summary: A python based HTML parser/tokenizer Summary: A python based HTML parser/tokenizer
Group: Development/Libraries Group: Development/Libraries
Requires: python3-six
BuildRequires: python3-devel
BuildRequires: python-tools
BuildRequires: python3-nose
BuildRequires: python3-six
BuildRequires: python3-setuptools
%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
specification for maximum compatibility with major desktop web browsers. specification for maximum compatibility with major desktop web browsers.
@ -95,6 +92,9 @@ popd
%changelog %changelog
* Fri May 09 2014 Dennis Gilmore <dennis@ausil.us> - 0.999-3
- move python3 Requires and BuildRequires into the python3 sub-package
* Wed Mar 12 2014 Dan Scott <dan@coffeecode.net> - 0.999-2 * Wed Mar 12 2014 Dan Scott <dan@coffeecode.net> - 0.999-2
- "six" module is a runtime requirement - "six" module is a runtime requirement