!53 [sync] PR-51: fix so file not found in non-64-bit env

From: @openeuler-sync-bot 
Reviewed-by: @sunsuwan 
Signed-off-by: @sunsuwan
This commit is contained in:
openeuler-ci-bot 2024-07-02 11:18:13 +00:00 committed by Gitee
commit a675fd6195
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libproxy
Version: 0.5.3
Release: 2
Release: 3
Summary: Libproxy is a library that provides automatic proxy configuration management
License: LGPL-2.1-or-later
@ -46,7 +46,7 @@ This package contains libraries and header files for developing applications.
chrpath -d $RPM_BUILD_ROOT%{_libdir}/*.so*
chrpath -d $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
echo "/usr/lib64/libproxy" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
echo "%{_libdir}/libproxy" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%check
%meson_test
@ -77,6 +77,12 @@ echo "/usr/lib64/libproxy" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.c
%{_datadir}/doc/libproxy-1.0/
%changelog
* Mon Jul 01 2024 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix so file not found in non-64-bit env
* Tue Aug 29 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-2
- Type:bugfix
- Id:NA