Fix libproxy rpath (#2209173)

This commit is contained in:
David King 2023-05-23 08:26:53 +01:00
parent a0a20e2c55
commit 76f8fe51e9
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,22 @@
From 4aef6b5c5e0d1b5c87cbd081cf841e7211bae149 Mon Sep 17 00:00:00 2001
From: Jan-Michael Brummer <jan.brummer@tabos.org>
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 (

View File

@ -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 <amigadave@amigadave.com> - 0.5.0-3
- Fix libproxy rpath (#2209173)
* Mon May 22 2023 Adam Williamson <awilliam@redhat.com> - 0.5.0-2
- Add missing obsolete/provide for libproxy-duktape