Compare commits

...

2 Commits

Author SHA1 Message Date
Mark E. Fuller 40bd57ef2d
ExcludeArch: s390x, YAML test failures - BZ 2044056 2023-01-13 09:38:16 +02:00
Mark E. Fuller bb00ae0e9a
add python lib to lib64 kludge 2023-01-07 15:56:59 +02:00
1 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,8 @@ BuildRequires: gcc-gfortran
%global scons scons%{?rhel:-3}
ExcludeArch: s390x # YAML test failures - BZ #2044056
%global common_description %{expand: \
Cantera is a suite of object-oriented software tools for solving problems
@ -114,6 +116,11 @@ 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