Commit 55f20f35 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Update rpm spec template

parent e4e2565f
......@@ -127,11 +127,15 @@ cp adaptors/matlab/Makefile.mex ${RPM_BUILD_ROOT}/opt/matlab/src/moberg/Makefile
# Python
cd adaptors/python
cd adaptors/python2
export MOBERG_VERSION=%{version}
%{__python2} install -O1 \
--root=$RPM_BUILD_ROOT --prefix /usr \
cd adaptors/python3
export MOBERG_VERSION=%{version}
%{__python3} install -O1 \
--root=$RPM_BUILD_ROOT --prefix /usr \
......@@ -201,10 +205,10 @@ EOF
%files python2 -f adaptors/python/INSTALLED_python2
%files python2 -f adaptors/python2/INSTALLED_python2
%files python%{python3_pkgversion} -f adaptors/python/INSTALLED_python3
%files python%{python3_pkgversion} -f adaptors/python3/INSTALLED_python3
%files julia
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