From 57f5994774fe9ab2ba9f480f752df41fe9b92a6d Mon Sep 17 00:00:00 2001 From: Pavel Simovec Date: Thu, 22 Aug 2024 09:28:59 +0200 Subject: [PATCH] Re-include openblas.pc Resolves: RHEL-20160 --- openblas.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/openblas.spec b/openblas.spec index f0f244e..fcb476f 100644 --- a/openblas.spec +++ b/openblas.spec @@ -15,7 +15,7 @@ Name: openblas Version: 0.3.26 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An optimized BLAS library based on GotoBLAS2 License: BSD-3-Clause URL: https://github.com/OpenMathLib/OpenBLAS @@ -427,7 +427,7 @@ make -C openmp64_ $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_ %install 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 +make -C serial USE_THREAD=0 DESTDIR=%{buildroot} OPENBLAS_LIBRARY_DIR=%{_libdir} OPENBLAS_INCLUDE_DIR=%{_includedir}/%name OPENBLAS_BINARY_DIR=%{_bindir} OPENBLAS_CMAKE_DIR=%{_libdir}/cmake install # Copy lapacke include files %if %{with system_lapack} && %{lapacke} @@ -559,8 +559,6 @@ done # Get rid of generated CMake config rm -rf %{buildroot}%{_libdir}/cmake -# Get rid of generated pkgconfig -rm -rf %{buildroot}%{_libdir}/pkgconfig %ldconfig_scriptlets @@ -623,6 +621,8 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig %files devel %{_includedir}/%{name}/ +%{_libdir}/pkgconfig/ +%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/lib%{name}.so %{_libdir}/lib%{name}o.so %{_libdir}/lib%{name}p.so @@ -649,6 +649,10 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig %endif %changelog +* Thu Aug 22 2024 Pavel Simovec - 0.3.26-2 +- Re-include openblas.pc +- Resolves: RHEL-20160 + * Thu Jun 27 2024 Pavel Simovec - 0.3.26-1 - Update to 0.3.26 - Resolves: RHEL-20160