[python-html5lib] Add six module as a runtime requirement

Dan Scott dscott at fedoraproject.org
Wed Mar 12 22:50:24 UTC 2014


commit 92a09b16ec3d7b2f7cbe28995777046e6ae0655c
Author: Dan Scott <dan at coffeecode.net>
Date:   Wed Mar 12 15:37:40 2014 -0400

    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 at coffeecode.net>

 python-html5lib.spec |    9 +++++++--
 1 files 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 <dan at coffeecode.net> - 0.999-2
+- "six" module is a runtime requirement
+
 * Sat Mar 01 2014 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> 0.999-1
 - Added epoch information
 


More information about the scm-commits mailing list