!56 Include pkgconf file

From: @SuperSix173 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2024-02-22 11:10:10 +00:00 committed by Gitee
commit 767ba7b9d8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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