diff --git a/openblas.spec b/openblas.spec index 359d8a30c4ac5e9beb2d2ee1fa50a6e117f62465..801470e9eb165f53171a0b159e592833ad145b00 100644 --- a/openblas.spec +++ b/openblas.spec @@ -2,7 +2,7 @@ Name: openblas Version: 0.3.25 -Release: 2 +Release: 3 Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version License: BSD-3-Clause URL: https://github.com/xianyi/OpenBLAS/ @@ -345,8 +345,9 @@ ln -sf ${pname64_}.so lib%{name}p64_.so.0 # Get rid of generated CMake config rm -rf %{buildroot}%{_libdir}/cmake -# Get rid of generated pkgconfig -rm -rf %{buildroot}%{_libdir}/pkgconfig +# Variables overrided above lead to include buildroot path, +# which we need to get rid of in the resulting pkgconf file +sed -i -e 's|%{buildroot}||' "%{buildroot}%{_libdir}/pkgconfig/%{name}.pc" %post /sbin/ldconfig @@ -361,6 +362,7 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig %{_libdir}/lib%{name}*.so.* %{_libdir}/R/lib/libRblas.so %{_libdir}/lib%{name}*.a +%{_libdir}/pkgconfig/%{name}.pc %files devel %{_includedir}/%{name}/ @@ -371,6 +373,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig %{_libdir}/lib%{name}*64_.so %changelog +* Wed Feb 21 2024 Liu Chao - 0.3.25-3 +- Include pkgconf file + * Tue Jan 16 2024 jiahua.yu - 0.3.25-2 - init support for arch ppc64le