Hello community,

here is the log from the commit of package python-bencode for openSUSE:Factory 
checked in at 2017-05-16 14:43:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bencode (Old)
 and      /work/SRC/openSUSE:Factory/.python-bencode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bencode"

Tue May 16 14:43:33 2017 rev:3 rq:494483 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bencode/python-bencode.changes    
2014-08-25 11:54:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-bencode.new/python-bencode.changes       
2017-05-16 14:44:41.431046928 +0200
@@ -1,0 +2,8 @@
+Tue May  2 20:54:08 UTC 2017 - greg.freem...@gmail.com
+
+- update to match bencode v1.2.0
+       * See bencode v.2.0 for history.  This package is a simple fork of the 
metadata decode logic.
+- add buildrequires: python-pbr which is used to provide reasonable defaults 
python's setup tool
+- convert to python singlespec
+
+-------------------------------------------------------------------

Old:
----
  bencode-1.0.tar.gz

New:
----
  bencode.py-1.2.0.tar.gz

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

Other differences:
------------------
++++++ python-bencode.spec ++++++
--- /var/tmp/diff_new_pack.a5mYYk/_old  2017-05-16 14:44:41.990968253 +0200
+++ /var/tmp/diff_new_pack.a5mYYk/_new  2017-05-16 14:44:41.990968253 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-bencode
 #
-# Copyright (c) 2014 SUSE LINUX Products 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,23 +16,24 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
 Name:           python-bencode
-Version:        1.0
+Version:        1.2.0
 Release:        0
 Summary:        The BitTorrent bencode module as light-weight, standalone 
package
 License:        BitTorrent-1.1
 Group:          Development/Languages/Python
 Url:            http://bittorrent.com/
-Source:         
https://pypi.python.org/packages/source/b/bencode/bencode-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/b/bencode.py/bencode.py-1.2.0.tar.gz
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pbr}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 This package simply re-packages the existing bencoding and bdecoding
@@ -41,18 +42,18 @@
 BitTorrent software as a dependency.
 
 %prep
-%setup -q -n bencode-%{version}
+%setup -q -n bencode.py-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes %{buildroot}/%{python_sitelib}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README.txt
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog


Reply via email to