From aa980de8f46a0689b1e0fce3f0eebaa7d9424607de9f1a3c88e0c09ebf771fbf Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Thu, 21 Apr 2022 12:50:22 +0000 Subject: [PATCH] Accepting request 971808 from home:alois:branches:devel:libraries:c_c++ - Fix pkgconfig file for Leap 15.4 OBS-URL: https://build.opensuse.org/request/show/971808 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=160 --- libtorrent-rasterbar.changes | 5 +++++ libtorrent-rasterbar.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libtorrent-rasterbar.changes b/libtorrent-rasterbar.changes index eae5cee..8b41b6c 100644 --- a/libtorrent-rasterbar.changes +++ b/libtorrent-rasterbar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 21 11:51:34 UTC 2022 - Luigi Baldoni + +- Fix pkgconfig file for Leap 15.4 + ------------------------------------------------------------------- Sat Apr 16 14:49:34 UTC 2022 - Luigi Baldoni diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index 9becf4e..7c9a335 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -136,6 +136,10 @@ install -Dm0755 build/examples/dump_torrent build/examples/make_torrent \ %fdupes %{buildroot}%{python3_sitearch} +# quick and dirty fix until upstream gh#arvidn/libtorrent#6830 is addressed +sed -e 's/\-l\-pthread/\-pthread/' \ + -i %{buildroot}%{_libdir}/pkgconfig/%{name}.pc + %if %{with tests} %check export LD_LIBRARY_PATH=$PWD/build