Hello community,

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

Package is "python-GeoIP"

Wed May  3 15:58:33 2017 rev:2 rq:492544 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-GeoIP/python-GeoIP.changes        
2016-07-28 23:45:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-GeoIP.new/python-GeoIP.changes   
2017-05-03 15:58:35.044418681 +0200
@@ -1,0 +2,5 @@
+Tue May  2 21:42:12 UTC 2017 - [email protected]
+
+- Update for the multipython build.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-GeoIP.spec ++++++
--- /var/tmp/diff_new_pack.ctCf54/_old  2017-05-03 15:58:36.464218243 +0200
+++ /var/tmp/diff_new_pack.ctCf54/_new  2017-05-03 15:58:36.464218243 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-GeoIP
 #
-# 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,6 +16,8 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
 %define _name   GeoIP
 Name:           python-GeoIP
 Version:        1.3.2
@@ -25,11 +27,13 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/maxmind/geoip-api-python
 Source:         
https://files.pythonhosted.org/packages/source/G/%{_name}/%{_name}-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
 BuildRequires:  libGeoIP-devel
-BuildRequires:  python-devel
-%if 0%{?suse_version} < 1120
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%py_requires
+BuildRequires:  python-rpm-macros
+%ifpython2
+# python-GeoIP was last used in openSUSE Leap 14.2.
+Provides:       %{oldpython}-GeoIP = %{version}
+Obsoletes:      %{oldpython}-GeoIP < %{version}
 %endif
 
 %description
@@ -37,22 +41,23 @@
 allowing IP to location lookups to country, city and organisation
 level within Python code.
 
+%python_subpackages
+
 %prep
 %setup -q -n %{_name}-%{version}
 
 %build
 export CFLAGS="%{optflags}"
-python2 setup.py build
+%python_build
 
 %install
-python2 setup.py install \
-  --root=%{buildroot} --prefix=%{_prefix}
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc LICENSE README.rst
 %doc examples/
-%{python_sitearch}/%{_name}.so
-%{python_sitearch}/%{_name}-*
+%{python_sitearch}/%{_name}*.so
+%{python_sitearch}/%{_name}-%{version}-py%{python_version}.egg-info
 
 %changelog


Reply via email to