Re-include openblas.pc
Resolves: RHEL-20160
This commit is contained in:
parent
57f2d1d33b
commit
57f5994774
@ -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 <psimovec@redhat.com> - 0.3.26-2
|
||||
- Re-include openblas.pc
|
||||
- Resolves: RHEL-20160
|
||||
|
||||
* Thu Jun 27 2024 Pavel Simovec <psimovec@redhat.com> - 0.3.26-1
|
||||
- Update to 0.3.26
|
||||
- Resolves: RHEL-20160
|
||||
|
Loading…
Reference in New Issue
Block a user