From 678f2bef31eaef9e3ee545dbdb33bb68a64459e9 Mon Sep 17 00:00:00 2001 From: sherlock2010 <15151851377@163.com> Date: Mon, 1 Jul 2024 08:23:10 +0000 Subject: [PATCH] fix so file not found in non-64-bit env (cherry picked from commit 1f583056c15fc0946bb5fe39ae34e5154b0bf635) --- libproxy.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libproxy.spec b/libproxy.spec index 3d0b2ae..28dd332 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -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 - 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 - 0.5.3-2 - Type:bugfix - Id:NA -- Gitee