Include pkgconf file
Signed-off-by: SuperSix173 <liuchao173@huawei.com>
This commit is contained in:
parent
c674661db4
commit
53b43b07f5
@ -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 <liuchao173@huawei.com> - 0.3.25-3
|
||||
- Include pkgconf file
|
||||
|
||||
* Tue Jan 16 2024 jiahua.yu <jiahua.yu@shingroup.cn> - 0.3.25-2
|
||||
- init support for arch ppc64le
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user