Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
moberg
Commits
55f20f35
Commit
55f20f35
authored
Sep 07, 2021
by
Anders Blomdell
Browse files
Update rpm spec template
parent
e4e2565f
Changes
1
Show whitespace changes
Inline
Side-by-side
moberg.spec.template
View file @
55f20f35
...
...
@@ -127,11 +127,15 @@ cp adaptors/matlab/Makefile.mex ${RPM_BUILD_ROOT}/opt/matlab/src/moberg/Makefile
# Python
(
cd adaptors/python
cd adaptors/python
2
export MOBERG_VERSION=%{version}
%{__python2} setup.py install -O1 \
--root=$RPM_BUILD_ROOT --prefix /usr \
--record=INSTALLED_python2
)
(
cd adaptors/python3
export MOBERG_VERSION=%{version}
%{__python3} setup.py install -O1 \
--root=$RPM_BUILD_ROOT --prefix /usr \
--record=INSTALLED_python3
...
...
@@ -201,10 +205,10 @@ EOF
/opt/matlab/src/moberg/*
%{_includedir}/moberg4simulink.h
%files python2 -f adaptors/python/INSTALLED_python2
%files python2 -f adaptors/python
2
/INSTALLED_python2
%defattr(-,root,root,-)
%files python%{python3_pkgversion} -f adaptors/python/INSTALLED_python3
%files python%{python3_pkgversion} -f adaptors/python
3
/INSTALLED_python3
%defattr(-,root,root,-)
%files julia
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment