Re-include openblas.pc
Resolves: RHEL-72679
This commit is contained in:
parent
80d8bb047a
commit
18b8858713
@ -15,7 +15,7 @@
|
||||
|
||||
Name: openblas
|
||||
Version: 0.3.29
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: An optimized BLAS library based on GotoBLAS2
|
||||
|
||||
License: BSD-3-Clause
|
||||
@ -430,7 +430,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}
|
||||
@ -565,8 +565,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
|
||||
|
||||
@ -629,6 +627,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
|
||||
@ -655,6 +655,10 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jul 07 2025 Pavel Simovec <psimovec@redhat.com> - 0.3.29-2
|
||||
- Re-include openblas.pc
|
||||
- Resolves: RHEL-72679
|
||||
|
||||
* Wed Apr 09 2025 Pavel Simovec <psimovec@redhat.com> - 0.3.29-1
|
||||
- Update to 0.3.29
|
||||
- Resolves: RHEL-82829
|
||||
|
||||
Loading…
Reference in New Issue
Block a user