diff --git a/deluge_torrent_handle.patch b/deluge_torrent_handle.patch new file mode 100644 index 0000000..7ab3f57 --- /dev/null +++ b/deluge_torrent_handle.patch @@ -0,0 +1,10 @@ +diff --git a/bindings/python/src/converters.cpp b/bindings/python/src/converters.cpp +index 5395cf2bae..e77b9abacc 100644 +--- a/bindings/python/src/converters.cpp ++++ b/bindings/python/src/converters.cpp +@@ -549,4 +549,5 @@ void bind_converters() + to_bitfield_flag(); + to_string_view(); + to_bitfield_flag(); ++ to_bitfield_flag(); + } diff --git a/rb_libtorrent.spec b/rb_libtorrent.spec index e263f68..bb020d4 100644 --- a/rb_libtorrent.spec +++ b/rb_libtorrent.spec @@ -1,6 +1,6 @@ Name: rb_libtorrent Version: 2.0.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A C++ BitTorrent library aiming to be the best alternative License: BSD @@ -13,6 +13,8 @@ Source3: %{name}-COPYING.zlib # Upstream missed adding a few source files to the CMake build files Patch1: %{name}-python-sha256.patch Patch2: https://github.com/arvidn/libtorrent/commit/725d47d1efbd6ad22032fc68b2c4672fb669369c.patch#/fix_ssl_test.patch +# Based on https://github.com/arvidn/libtorrent/commit/c5445fda70ed25c7a92c78a6934ae8e25b4f29b1 +Patch3: deluge_torrent_handle.patch BuildRequires: asio-devel BuildRequires: cmake @@ -81,6 +83,7 @@ Python applications. %setup -q -n "libtorrent-rasterbar-%{version}" %patch1 -p1 -b.python-sha256 %patch2 -p1 -b.ssl_test +%patch3 -p1 -b.torrent_handle ## The RST files are the sources used to create the final HTML files; and are ## not needed. @@ -181,6 +184,9 @@ install -p -m 0644 %{SOURCE1} ./README-renames.Fedora %{python3_sitearch}/libtorrent.cpython-*.so %changelog +* Mon Aug 09 2021 Leigh Scott - 2.0.4-5 +- Add fix for deluge files tab + * Sat Aug 07 2021 Leigh Scott - 2.0.4-4 - Fix build failure, remove python2 and old releases