Hello community,

here is the log from the commit of package deluge for openSUSE:Factory checked 
in at 2016-05-17 17:16:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deluge (Old)
 and      /work/SRC/openSUSE:Factory/.deluge.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "deluge"

Changes:
--------
--- /work/SRC/openSUSE:Factory/deluge/deluge.changes    2015-09-17 
09:20:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.deluge.new/deluge.changes       2016-05-17 
17:16:46.000000000 +0200
@@ -1,0 +2,7 @@
+Mon May 16 13:26:12 UTC 2016 - sor.ale...@meowr.ru
+
+- Add deluge-fix-blocklist-crash.patch: workaround a bug in
+  libtorrent-rasterbar 1.1.0 which results in a crash when
+  blocklist is used (boo#978600).
+
+-------------------------------------------------------------------

New:
----
  deluge-fix-blocklist-crash.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ deluge.spec ++++++
--- /var/tmp/diff_new_pack.ctvgcy/_old  2016-05-17 17:16:47.000000000 +0200
+++ /var/tmp/diff_new_pack.ctvgcy/_new  2016-05-17 17:16:47.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package deluge
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Source:         
http://download.deluge-torrent.org/source/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM deluge-update_7z_binary.patch
 Patch0:         %{name}-update_7z_binary.patch
+# PATCH-FIX-OPENSUSE deluge-fix-blocklist-crash.patch -- Workaround a bug in 
libtorrent-rb 1.1.0 which results in a crash when blocklist is used.
+Patch1:         %{name}-fix-blocklist-crash.patch
 BuildRequires:  fdupes
 BuildRequires:  gettext
 BuildRequires:  hicolor-icon-theme
@@ -60,12 +62,14 @@
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 
 %build
 python2 setup.py build
 
 %install
-python2 setup.py install --root=%{buildroot} --prefix=%{_prefix} --optimize=1
+python2 setup.py install \
+  --root=%{buildroot} --prefix=%{_prefix}
 
 mv -f %{buildroot}%{python_sitelib}/%{name}/i18n/ 
%{buildroot}%{_datadir}/locale/
 ln -s %{_datadir}/locale %{buildroot}%{python_sitelib}/%{name}/i18n
@@ -77,7 +81,7 @@
     fi
 done
 
-%fdupes %{buildroot}%{python_sitelib}
+%fdupes %{buildroot}%{python_sitelib}/
 %find_lang %{name}
 
 %post

++++++ deluge-fix-blocklist-crash.patch ++++++
--- a/deluge/core/core.py
+++ b/deluge/core/core.py
@@ -92,6 +92,9 @@ class Core(component.Component):
             # Setting session flags to 1 enables all libtorrent default plugins
             self.session = lt.session(lt.fingerprint("DE", *version), flags=1)
 
+        # Load an empty ip_filter
+        self.session.set_ip_filter(lt.ip_filter())
+
         # Load the session state if available
         self.__load_session_state()
 

Reply via email to