From 6c70d16755c0237d41647341d36cb25cfe2c1f3a Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Tue, 13 Sep 2016 10:40:30 +0100 Subject: [PATCH] Remove useless redeclarations --- python-s3transfer.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python-s3transfer.spec b/python-s3transfer.spec index 33031b8..d5ca63e 100644 --- a/python-s3transfer.spec +++ b/python-s3transfer.spec @@ -1,10 +1,5 @@ %if 0%{?rhel} %global with_python3 0 -%{!?__python2: %global __python2 /usr/bin/python2} -%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%{!?py2_build: %global py2_build %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} build --executable="%{__python2} -s"}} -%{!?py2_install: %global py2_install %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot}}} %else %global with_python3 1 %endif