Hello community, here is the log from the commit of package python-anyjson for openSUSE:Factory checked in at 2017-09-05 15:17:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-anyjson (Old) and /work/SRC/openSUSE:Factory/.python-anyjson.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-anyjson" Tue Sep 5 15:17:14 2017 rev:17 rq:520812 version:0.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-anyjson/python-anyjson.changes 2013-10-24 19:09:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-anyjson.new/python-anyjson.changes 2017-09-05 15:17:29.934018928 +0200 @@ -1,0 +2,11 @@ +Wed Aug 30 21:16:00 UTC 2017 - toddrme2...@gmail.com + +- Use pypi download URL and source +- Misc auto-conversion cleanups + +------------------------------------------------------------------- +Thu Aug 24 13:32:45 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -82,0 +94 @@ + Old: ---- anyjson-0.3.3.tar.bz2 New: ---- anyjson-0.3.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-anyjson.spec ++++++ --- /var/tmp/diff_new_pack.8GeXQs/_old 2017-09-05 15:17:32.229696239 +0200 +++ /var/tmp/diff_new_pack.8GeXQs/_new 2017-09-05 15:17:32.233695677 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-anyjson # -# Copyright (c) 2013 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,9 +16,7 @@ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-anyjson Version: 0.3.3 Release: 0 @@ -26,16 +24,14 @@ License: BSD-3-Clause Group: Development/Languages/Python Url: http://bitbucket.org/runeh/anyjson -Source: anyjson-%{version}.tar.bz2 -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/a/anyjson/anyjson-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 BuildArch: noarch -%endif -%endif + +%python_subpackages %description Anyjson loads whichever is the fastest JSON module installed and provides @@ -47,15 +43,15 @@ %setup -q -n anyjson-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc CHANGELOG README LICENSE %{python_sitelib}/anyjson/ -%{python_sitelib}/anyjson-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/anyjson-%{version}-py*.egg-info %changelog