Hello community,

here is the log from the commit of package python-thrift for openSUSE:Factory 
checked in at 2017-08-18 15:04:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-thrift (Old)
 and      /work/SRC/openSUSE:Factory/.python-thrift.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-thrift"

Fri Aug 18 15:04:46 2017 rev:7 rq:517244 version:0.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-thrift/python-thrift.changes      
2016-03-02 14:21:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-thrift.new/python-thrift.changes 
2017-08-18 15:04:49.234634237 +0200
@@ -1,0 +2,7 @@
+Wed Aug 16 02:23:22 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- update to version 0.10.0:
+  * no changelog available
+
+-------------------------------------------------------------------

Old:
----
  thrift-0.9.3.tar.gz

New:
----
  thrift-0.10.0.zip

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

Other differences:
------------------
++++++ python-thrift.spec ++++++
--- /var/tmp/diff_new_pack.HOanFB/_old  2017-08-18 15:04:51.742281055 +0200
+++ /var/tmp/diff_new_pack.HOanFB/_new  2017-08-18 15:04:51.758278802 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-thrift
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,20 +16,33 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-thrift
-Version:        0.9.3
+Version:        0.10.0
 Release:        0
 Summary:        Python bindings for the Apache Thrift RPC system
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://thrift.apache.org
-Source:         
http://pypi.python.org/packages/source/t/thrift/thrift-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/t/thrift/thrift-%{version}.zip
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+BuildRequires:  c++_compiler
+BuildRequires:  python-rpm-macros
+BuildRequires:  unzip
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+%ifpython2
+Recommends:     python-backports.ssl_match_hostname
 %endif
+%ifpython3
+%if %{python3_version_nodots} < 35
+Recommends:     python-backports.ssl_match_hostname
+%endif
+%endif
+Recommends:     python-tornado >= 4.0
+Recommends:     python-twisted
+
+%python_subpackages
 
 %description
 Thrift Python Software Library
@@ -45,15 +58,16 @@
 %setup -q -n thrift-%{version}
 
 %build
-CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes %{buildroot}%{python_sitearch}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%{python_sitearch}/thrift-%{version}-py%{py_ver}.egg-info
-%{python_sitearch}/thrift
+%{python_sitearch}/thrift/
+%{python_sitearch}/thrift-%{version}-py*.egg-info
 
 %changelog


Reply via email to