Skip to content

Commit e9b53e4

Browse files
committed
make-srpm.sh: drop RHEL-6 compatibility
The current code does not build on RHEL-6 any more.
1 parent 06fa42b commit e9b53e4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

make-srpm.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ BuildRequires: python2-devel
117117
%description -n python2-%{name}
118118
This package contains the Python 2 binding for the csdiff tool for comparing
119119
code scan defect lists to find out added or fixed defects.
120-
121-
%if 0%{?rhel} && 0%{?rhel} <= 6
122-
%{!?__python2: %global __python2 /usr/bin/python2}
123-
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
124-
%endif
125120
%endif
126121
127122
%if %{with python3}

0 commit comments

Comments
 (0)