Hello community,

here is the log from the commit of package python-twitter.common.finagle-thrift 
for openSUSE:Factory checked in at 2020-04-05 20:55:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-twitter.common.finagle-thrift (Old)
 and      
/work/SRC/openSUSE:Factory/.python-twitter.common.finagle-thrift.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-twitter.common.finagle-thrift"

Sun Apr  5 20:55:11 2020 rev:2 rq:791478 version:0.3.9

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-twitter.common.finagle-thrift/python-twitter.common.finagle-thrift.changes
        2018-12-13 19:50:02.884576628 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-twitter.common.finagle-thrift.new.3248/python-twitter.common.finagle-thrift.changes
      2020-04-05 20:55:25.433306147 +0200
@@ -1,0 +2,6 @@
+Mon Jan 13 18:35:18 UTC 2020 - John Vandenberg <jay...@gmail.com>
+
+- Add setup-ns-fix.patch to remove top level __init__ from site-packages
+- Run fdupes
+
+-------------------------------------------------------------------

New:
----
  setup-ns-fix.patch

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

Other differences:
------------------
++++++ python-twitter.common.finagle-thrift.spec ++++++
--- /var/tmp/diff_new_pack.Fe1bBD/_old  2020-04-05 20:55:27.453308314 +0200
+++ /var/tmp/diff_new_pack.Fe1bBD/_new  2020-04-05 20:55:27.453308314 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-twitter.common.finagle-thrift
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,10 +22,12 @@
 Summary:        Thrift stubs for zipkin RPC tracing support in finagle
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/twitter/commons
-Source0:        
https://files.pythonhosted.org/packages/f9/e7/4f80d582578f8489226370762d2cf6bc9381175d1929eba1754e03f70708/twitter.common.finagle-thrift-0.3.9.tar.gz
+URL:            https://github.com/twitter/commons
+Source0:        
https://files.pythonhosted.org/packages/source/t/twitter.common.finagle-thrift/twitter.common.finagle-thrift-0.3.9.tar.gz
 Source1:        
https://raw.githubusercontent.com/twitter/commons/master/LICENSE
+Patch0:         setup-ns-fix.patch
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 %python_subpackages
 
@@ -35,13 +37,16 @@
 
 %prep
 %setup -q -n twitter.common.finagle-thrift-%{version}
+%patch0 -p1
 cp %{SOURCE1} .
+rm src/__init__.py
 
 %build
 %python_build
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
 %license LICENSE

++++++ setup-ns-fix.patch ++++++
--- twitter.common.finagle-thrift-0.3.9-orig/setup.py   2016-10-18 
03:52:06.000000000 +0700
+++ twitter.common.finagle-thrift-0.3.9/setup.py        2020-01-14 
08:28:32.225386394 +0700
@@ -16,7 +16,7 @@
     'namespace_packages': ['gen', 'gen.twitter', 'gen.twitter.finagle'],
     'package_data': {   },
     'package_dir': {   '': 'src'},
-    'packages': [   '.',
+    'packages': [
                     'gen',
                     'gen.twitter',
                     'gen.twitter.finagle',

Reply via email to