Add six module as a runtime requirement

Per https://lists.fedoraproject.org/pipermail/devel/2014-March/196647.html it
turns out that "six" is a runtime requirement. Other modules, like rdflib, that
depend on functionality will fail in a mock build where six is not installed.

Signed-off-by: Dan Scott <dan@coffeecode.net>
This commit is contained in:
Dan Scott 2014-03-12 15:37:40 -04:00
parent 512dc87f8d
commit 92a09b16ec

View File

@ -4,8 +4,8 @@
Name: python-%{modulename}
Summary: A python based HTML parser/tokenizer
Version: 0.999
Release: 1%{?dist}
Epoch: 1
Release: 2%{?dist}
Epoch: 1
Group: Development/Libraries
License: MIT
URL: https://pypi.python.org/pypi/%{modulename}
@ -13,12 +13,14 @@ URL: https://pypi.python.org/pypi/%{modulename}
Source0: https://pypi.python.org/packages/source/h/%{modulename}/%{modulename}-%{version}.tar.gz
BuildArch: noarch
Requires: python-six
BuildRequires: python-setuptools
BuildRequires: python2-devel
BuildRequires: python-nose
BuildRequires: python-six
%if 1%{?with_python3}
Requires: python3-six
BuildRequires: python3-devel
BuildRequires: python-tools
BuildRequires: python3-nose
@ -93,6 +95,9 @@ popd
%changelog
* Wed Mar 12 2014 Dan Scott <dan@coffeecode.net> - 0.999-2
- "six" module is a runtime requirement
* Sat Mar 01 2014 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> 0.999-1
- Added epoch information