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