diff --git a/libproxy.spec b/libproxy.spec index cc1d966f883db73e76a9fecfcfb51eeffa974404..3d0b2ae993767b7d1f4f033b2a481efb8a367831 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -1,13 +1,13 @@ Name: libproxy Version: 0.5.3 -Release: 1 +Release: 2 Summary: Libproxy is a library that provides automatic proxy configuration management License: LGPL-2.1-or-later URL: https://libproxy.github.io/libproxy/ Source0: https://github.com/libproxy/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: gcc meson vala gi-docgen +BuildRequires: gcc meson vala gi-docgen chrpath BuildRequires: pkgconfig(gio-2.0) >= 2.71.3 pkgconfig(gsettings-desktop-schemas) python3-devel BuildRequires: pkgconfig(duktape) pkgconfig(gobject-introspection-1.0) pkgconfig(libcurl) @@ -43,6 +43,10 @@ This package contains libraries and header files for developing applications. %install %meson_install +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 %check %meson_test @@ -53,6 +57,7 @@ This package contains libraries and header files for developing applications. %defattr(-,root,root) %doc CHANGELOG.md README.md %license COPYING +%config(noreplace) /etc/ld.so.conf.d/* %{_libdir}/*.so.* %{_libdir}/libproxy/libpxbackend-1.0.so %{_libdir}/girepository-1.0/ @@ -72,6 +77,12 @@ This package contains libraries and header files for developing applications. %{_datadir}/doc/libproxy-1.0/ %changelog +* Tue Aug 29 2023 zhouyihang - 0.5.3-2 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:remove rpath + * Fri Aug 04 2023 zhouyihang - 0.5.3-1 - Type:requirements - Id:NA