Merge "Add BuildRequires to avoid build failure in clean mock"
This commit is contained in:
commit
d2c993c381
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user