From 9538af88993b0a532f4eb066a1dd71954a9d57441e882bd336c2243cc4cfb14b Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 13 Jun 2022 08:22:45 +0000 Subject: [PATCH] Accepting request 981559 from home:mnhauke:games - Set LIBIR during 'make install' to fix the library path in the generated pkg-config file. OBS-URL: https://build.opensuse.org/request/show/981559 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/miniupnpc?expand=0&rev=40 --- miniupnpc.changes | 6 ++++++ miniupnpc.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/miniupnpc.changes b/miniupnpc.changes index 297e94e..20b1b51 100644 --- a/miniupnpc.changes +++ b/miniupnpc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 9 17:50:48 UTC 2022 - Martin Hauke + +- Set LIBIR during 'make install' to fix the library path in the + generated pkg-config file. + ------------------------------------------------------------------- Tue May 18 17:53:57 UTC 2021 - Andreas Stieger diff --git a/miniupnpc.spec b/miniupnpc.spec index ed2249e..05c6b2b 100644 --- a/miniupnpc.spec +++ b/miniupnpc.spec @@ -1,7 +1,7 @@ # # spec file for package miniupnpc # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -80,6 +80,7 @@ The MiniUPnP project offers software which supports the UPnP Internet Gateway Device (IGD) specifications. %else + %package -n python2-miniupnpc Summary: Universal Plug'n'Play (UPnP) Client Module for Python Group: Development/Libraries/Python @@ -113,7 +114,7 @@ make %{?_smp_mflags} \ %python_build %install -%make_install INSTALLDIRLIB=%{_libdir} +%make_install INSTALLDIRLIB=%{_libdir} LIBDIR=%{_lib} %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch}