From 92a09b16ec3d7b2f7cbe28995777046e6ae0655c Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 12 Mar 2014 15:37:40 -0400 Subject: [PATCH] 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 --- python-html5lib.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-html5lib.spec b/python-html5lib.spec index b189be9..9e164de 100644 --- a/python-html5lib.spec +++ b/python-html5lib.spec @@ -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 - 0.999-2 +- "six" module is a runtime requirement + * Sat Mar 01 2014 Praveen Kumar 0.999-1 - Added epoch information