!56 Include pkgconf file
From: @SuperSix173 Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
767ba7b9d8
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: openblas
|
Name: openblas
|
||||||
Version: 0.3.25
|
Version: 0.3.25
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/xianyi/OpenBLAS/
|
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
|
# Get rid of generated CMake config
|
||||||
rm -rf %{buildroot}%{_libdir}/cmake
|
rm -rf %{buildroot}%{_libdir}/cmake
|
||||||
# Get rid of generated pkgconfig
|
# Variables overrided above lead to include buildroot path,
|
||||||
rm -rf %{buildroot}%{_libdir}/pkgconfig
|
# which we need to get rid of in the resulting pkgconf file
|
||||||
|
sed -i -e 's|%{buildroot}||' "%{buildroot}%{_libdir}/pkgconfig/%{name}.pc"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -361,6 +362,7 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|||||||
%{_libdir}/lib%{name}*.so.*
|
%{_libdir}/lib%{name}*.so.*
|
||||||
%{_libdir}/R/lib/libRblas.so
|
%{_libdir}/R/lib/libRblas.so
|
||||||
%{_libdir}/lib%{name}*.a
|
%{_libdir}/lib%{name}*.a
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/%{name}/
|
%{_includedir}/%{name}/
|
||||||
@ -371,6 +373,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|||||||
%{_libdir}/lib%{name}*64_.so
|
%{_libdir}/lib%{name}*64_.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jan 16 2024 jiahua.yu <jiahua.yu@shingroup.cn> - 0.3.25-2
|
||||||
- init support for arch ppc64le
|
- init support for arch ppc64le
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user