From 0de2d871d948205750f4cafd5c68c2f7f90e639f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 16 2021 04:21:20 +0000 Subject: import openblas-0.3.15-3.el8 --- diff --git a/SPECS/openblas.spec b/SPECS/openblas.spec index 2d1fa36..6287bf4 100644 --- a/SPECS/openblas.spec +++ b/SPECS/openblas.spec @@ -18,7 +18,7 @@ Name: openblas Version: 0.3.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: An optimized BLAS library based on GotoBLAS2 Group: Development/Libraries License: BSD @@ -431,6 +431,9 @@ make -C openmp64_ $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_ %endif %install +# Enable gcc-toolset-11 +source scl_source enable gcc-toolset-11 + rm -rf %{buildroot} # Install serial library and headers make -C serial USE_THREAD=0 PREFIX=%{buildroot} OPENBLAS_LIBRARY_DIR=%{buildroot}%{_libdir} OPENBLAS_INCLUDE_DIR=%{buildroot}%{_includedir}/%name OPENBLAS_BINARY_DIR=%{buildroot}%{_bindir} OPENBLAS_CMAKE_DIR=%{buildroot}%{_libdir}/cmake install @@ -674,6 +677,11 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig %endif %changelog +* Fri Nov 12 2021 Nikola Forró - 0.3.15-3 +- Fix missing header files in openblas-devel subpackage by enabling + gcc-toolset-11 in %%install as well + related: #1983218 + * Thu Oct 21 2021 Nikola Forró - 0.3.15-2 - Enable dynamic cpu detection on all supported architectures related: #1983218