Add BuildRequires to avoid build failure in clean mock
Closes-Bug: 1880829 Change-Id: I7dfb8dc494f2e873105cd0282ac4fe553b985a97 Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
This commit is contained in:
parent
5bb777d372
commit
8955cd876c
@ -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…
x
Reference in New Issue
Block a user