From 03d45ae7ce5a423544551b5d8a6b4ec9d5380e6e Mon Sep 17 00:00:00 2001 From: andreamanzi Date: Jul 09 2018 07:36:59 +0000 Subject: use python2 --- diff --git a/gfal2-util.spec b/gfal2-util.spec index 26e6b63..0fc5934 100644 --- a/gfal2-util.spec +++ b/gfal2-util.spec @@ -39,7 +39,7 @@ gridFTP, http(s), SRM, xrootd, etc... %clean rm -rf %{buildroot} -python setup.py clean +python2 setup.py clean %prep %setup -q @@ -54,14 +54,14 @@ if [ "$gfal2_util_ver" != "$gfal2_util_spec_ver" ]; then exit 1 fi -python setup.py build +python2 setup.py build %install rm -rf %{buildroot} -python setup.py install --root=%{buildroot} +python2 setup.py install --root=%{buildroot} %check -python test/functional/test_all.py +python2 test/functional/test_all.py %files %defattr (-,root,root)