Compare commits

...

3 Commits
rawhide ... f36

Author SHA1 Message Date
Mark E. Fuller 7a67c2f67b
drop x86 2023-01-27 10:36:29 +02:00
Mark E. Fuller e6f9c5c7cd
fixup 2023-01-05 23:49:56 +02:00
Mark E. Fuller 8ba292abbb
F36 FTBFS fix: python installed in lib, not lib64 2023-01-05 22:33:43 +02:00
1 changed files with 7 additions and 0 deletions

View File

@ -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