Hello community,

here is the log from the commit of package python-simplegeneric for 
openSUSE:Factory checked in at 2017-05-17 17:11:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-simplegeneric (Old)
 and      /work/SRC/openSUSE:Factory/.python-simplegeneric.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-simplegeneric"

Wed May 17 17:11:37 2017 rev:5 rq:491154 version:0.8.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-simplegeneric/python-simplegeneric.changes    
    2013-01-21 18:20:39.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-simplegeneric.new/python-simplegeneric.changes
   2017-05-17 17:11:39.149765936 +0200
@@ -1,0 +2,11 @@
+Tue Apr 25 21:49:49 UTC 2017 - [email protected]
+
+- Fix URL.
+
+-------------------------------------------------------------------
+Mon Apr 24 20:39:20 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+- Update source URL.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-simplegeneric.spec ++++++
--- /var/tmp/diff_new_pack.Bh9wm6/_old  2017-05-17 17:11:39.933655445 +0200
+++ /var/tmp/diff_new_pack.Bh9wm6/_new  2017-05-17 17:11:39.933655445 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-simplegeneric
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-simplegeneric
 Version:        0.8.1
 Release:        0
@@ -22,15 +23,14 @@
 Summary:        Simple generic functions (similar to Python's own len(), 
pickle.dump(), etc)
 Url:            http://cheeseshop.python.org/pypi/simplegeneric
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/s/simplegeneric/simplegeneric-%{version}.zip
-BuildRequires:  python-devel
+Source:         
https://files.pythonhosted.org/packages/source/s/simplegeneric/simplegeneric-%{version}.zip
+BuildRequires:  fdupes
 BuildRequires:  unzip
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
 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
 The gsimplegeneric module lets you define simple single-dispatch
@@ -57,12 +57,13 @@
 %setup -q -n simplegeneric-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.txt
 %{python_sitelib}/*



Reply via email to