Merge "Add BuildRequires to avoid build failure in clean mock"

This commit is contained in:
Zuul 2020-06-01 19:47:48 +00:00 committed by Gerrit Code Review
commit d2c993c381
6 changed files with 34 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.