Centos8: Remove python2 related macros

Because there is a macro related to python2,
it will cause a build error, so remove it

Story: 2006729
Task: 39875

Change-Id: I0284141f839f30206bd2197dab65b4110576a960
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
This commit is contained in:
Dongqi Chen 2020-05-28 10:18:36 +08:00
parent e4d12decc4
commit 81efadf2d3
2 changed files with 0 additions and 6 deletions

View File

@ -1,6 +1,3 @@
# define some macros for RHEL 6
%global __python2 %__python
%global python2_sitelib %python_sitelib
%define with_python3 1 %define with_python3 1
Name: html5lib-python Name: html5lib-python

View File

@ -4,9 +4,6 @@
%global with_check 0 %global with_check 0
%global build_wheel 0 %global build_wheel 0
%define with_python3 1 %define with_python3 1
# define some macros for RHEL 6
%global __python2 %__python
%global python2_sitelib %python_sitelib
Name: mechanize Name: mechanize
Version: 0.4.5 Version: 0.4.5