diff --git a/python/python-html5lib/centos/build_srpm.data b/python/python-html5lib/centos/build_srpm.data index bd8e3d959..ea9f4c768 100644 --- a/python/python-html5lib/centos/build_srpm.data +++ b/python/python-html5lib/centos/build_srpm.data @@ -1,3 +1,3 @@ -COPY_LIST="$CGCS_BASE/downloads/html5lib-python-1.0.1.tar.gz" +COPY_LIST="$STX_BASE/downloads/html5lib-python-1.0.1.tar.gz" -TIS_PATCH_VER=0 +TIS_PATCH_VER=1 diff --git a/python/python-html5lib/centos/python-html5lib.spec b/python/python-html5lib/centos/python-html5lib.spec index 1507688f7..e26cefe8a 100644 --- a/python/python-html5lib/centos/python-html5lib.spec +++ b/python/python-html5lib/centos/python-html5lib.spec @@ -13,7 +13,18 @@ URL: https://github.com/html5lib/html5lib-python/archive/1.0.1.tar.gz Source0: html5lib-python-1.0.1.tar.gz BuildArch: noarch + +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +Requires: python3-webencodings +%else +BuildRequires: python2-devel +BuildRequires: python-pip +BuildRequires: python-wheel Requires: python-webencodings +%endif %description diff --git a/python/python-mechanize/centos/build_srpm.data b/python/python-mechanize/centos/build_srpm.data index cbb7fe24a..4fa419153 100644 --- a/python/python-mechanize/centos/build_srpm.data +++ b/python/python-mechanize/centos/build_srpm.data @@ -1,3 +1,3 @@ -COPY_LIST="$CGCS_BASE/downloads/mechanize-0.4.5.tar.gz" +COPY_LIST="$STX_BASE/downloads/mechanize-0.4.5.tar.gz" -TIS_PATCH_VER=0 +TIS_PATCH_VER=1 diff --git a/python/python-mechanize/centos/python-mechanize.spec b/python/python-mechanize/centos/python-mechanize.spec index c7ba152d8..e139cc31e 100644 --- a/python/python-mechanize/centos/python-mechanize.spec +++ b/python/python-mechanize/centos/python-mechanize.spec @@ -19,7 +19,17 @@ URL: https://github.com/python-mechanize/mechanize Source0: mechanize-0.4.5.tar.gz BuildArch: noarch +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +Requires: python3-html5lib +%else +BuildRequires: python2-devel +BuildRequires: python-pip +BuildRequires: python-wheel Requires: python-html5lib +%endif %description diff --git a/python/python-webencodings/centos/build_srpm.data b/python/python-webencodings/centos/build_srpm.data index 696bfe467..6e2ea843c 100644 --- a/python/python-webencodings/centos/build_srpm.data +++ b/python/python-webencodings/centos/build_srpm.data @@ -1,3 +1,3 @@ -COPY_LIST="$CGCS_BASE/downloads/python-webencodings-0.5.1.tar.gz" +COPY_LIST="$STX_BASE/downloads/python-webencodings-0.5.1.tar.gz" -TIS_PATCH_VER=0 +TIS_PATCH_VER=1 diff --git a/python/python-webencodings/centos/python-webencodings.spec b/python/python-webencodings/centos/python-webencodings.spec index 507e99a33..52c56ef12 100644 --- a/python/python-webencodings/centos/python-webencodings.spec +++ b/python/python-webencodings/centos/python-webencodings.spec @@ -12,6 +12,13 @@ URL: https://github.com/gsnedders/python-webencodings/archive/v0.5.1. Source0: python-webencodings-0.5.1.tar.gz BuildArch: noarch +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-pip +%else +BuildRequires: python2-devel +BuildRequires: python-pip +%endif %description This is a Python implementation of the WHATWG Encoding standard.