Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Mark E. Fuller | 7a67c2f67b | |
Mark E. Fuller | e6f9c5c7cd | |
Mark E. Fuller | 8ba292abbb |
|
@ -49,6 +49,7 @@ BuildRequires: gcc-gfortran
|
|||
%global scons scons%{?rhel:-3}
|
||||
|
||||
ExcludeArch: s390x # YAML test failures - BZ #2044056
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
%global common_description %{expand: \
|
||||
Cantera is a suite of object-oriented software tools for solving problems
|
||||
|
@ -115,6 +116,12 @@ Summary: Static libraries for Cantera
|
|||
%install
|
||||
%scons install prefix=%{_prefix} python_prefix=%{_prefix} libdirname=%{_lib} stage_dir=%{buildroot}
|
||||
|
||||
if [[ -d %{buildroot}%{_prefix}/lib/python%{python3_version}/site-packages ]] && [ %{_lib} == "lib64" ]; then
|
||||
mkdir -p %{buildroot}%{python3_sitearch}/
|
||||
mv %{buildroot}%{_prefix}/lib/python%{python3_version}/site-packages/* %{buildroot}%{python3_sitearch}/
|
||||
fi
|
||||
|
||||
|
||||
%check
|
||||
%scons test
|
||||
|
||||
|
|
Loading…
Reference in New Issue