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}