Commit 279e9e1f authored by Marian Babik's avatar Marian Babik
Browse files

cs8 (py2/py3 packaging)

parent 106bb453
......@@ -42,10 +42,18 @@ python grid job submission api supporting arc, cream, htcondor, etc.
%autosetup -n python-jess-%{unmangled_version}
%build
python setup.py build
%if 0%{?el7}
%{__python2} setup.py build
%else
%{__python3} setup.py build
%endif
%install
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%if 0%{?el7}
%{__python2} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%else
%{__python3} setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%endif
%clean
rm -rf $RPM_BUILD_ROOT
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment