From 76f8fe51e93be2c42e13004a10cb135009670248 Mon Sep 17 00:00:00 2001 From: David King Date: Tue, 23 May 2023 08:26:53 +0100 Subject: [PATCH] Fix libproxy rpath (#2209173) --- libproxy-0.5.0-fix-libproxy-rpath.patch | 22 ++++++++++++++++++++++ libproxy.spec | 8 +++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 libproxy-0.5.0-fix-libproxy-rpath.patch diff --git a/libproxy-0.5.0-fix-libproxy-rpath.patch b/libproxy-0.5.0-fix-libproxy-rpath.patch new file mode 100644 index 0000000..6ee5e14 --- /dev/null +++ b/libproxy-0.5.0-fix-libproxy-rpath.patch @@ -0,0 +1,22 @@ +From 4aef6b5c5e0d1b5c87cbd081cf841e7211bae149 Mon Sep 17 00:00:00 2001 +From: Jan-Michael Brummer +Date: Tue, 23 May 2023 09:17:34 +0200 +Subject: [PATCH] Fix libproxy rpath + +Should fix https://bugzilla.redhat.com/show_bug.cgi?id=2209173 +--- + src/libproxy/meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libproxy/meson.build b/src/libproxy/meson.build +index 3a9aa87a..a2b9b3b6 100644 +--- a/src/libproxy/meson.build ++++ b/src/libproxy/meson.build +@@ -30,6 +30,7 @@ libproxy = shared_library( + link_depends : mapfile, + soversion: '1', + install: true, ++ install_rpath: pkglibdir, + ) + + libproxy_dep = declare_dependency ( diff --git a/libproxy.spec b/libproxy.spec index a49dccb..48208fa 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -4,7 +4,7 @@ Name: libproxy Version: 0.5.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library handling all the details of proxy configuration License: LGPL-2.1-or-later @@ -12,6 +12,9 @@ URL: https://libproxy.github.io/libproxy/ Source0: https://github.com/libproxy/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz # https://github.com/libproxy/libproxy/issues/222 and others. Patch0: libproxy-0.5.0-post-release-fixes.patch +# https://github.com/libproxy/libproxy/pull/231 +# https://bugzilla.redhat.com/show_bug.cgi?id=2209173 +Patch1: libproxy-0.5.0-fix-libproxy-rpath.patch BuildRequires: gcc BuildRequires: meson @@ -124,6 +127,9 @@ developing applications that use %{name}. %changelog +* Tue May 23 2023 David King - 0.5.0-3 +- Fix libproxy rpath (#2209173) + * Mon May 22 2023 Adam Williamson - 0.5.0-2 - Add missing obsolete/provide for libproxy-duktape