Hello community, here is the log from the commit of package python-repoze.lru for openSUSE:Factory checked in at 2017-08-24 18:32:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-repoze.lru (Old) and /work/SRC/openSUSE:Factory/.python-repoze.lru.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-repoze.lru" Thu Aug 24 18:32:51 2017 rev:8 rq:507286 version:0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-repoze.lru/python-repoze.lru.changes 2013-10-25 11:30:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-repoze.lru.new/python-repoze.lru.changes 2017-08-24 18:33:01.281177712 +0200 @@ -1,0 +2,6 @@ +Thu Jun 29 16:26:36 UTC 2017 - [email protected] + +- convert to singlespec +- update Source url + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-repoze.lru.spec ++++++ --- /var/tmp/diff_new_pack.dJJF7E/_old 2017-08-24 18:33:01.997076853 +0200 +++ /var/tmp/diff_new_pack.dJJF7E/_new 2017-08-24 18:33:02.005075727 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-repoze.lru # -# 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,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-repoze.lru Version: 0.6 Release: 0 @@ -23,15 +24,14 @@ License: SUSE-Repoze Group: Development/Languages/Python Url: http://www.repoze.org -Source: http://pypi.python.org/packages/source/r/repoze.lru/repoze.lru-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: https://files.pythonhosted.org/packages/source/r/repoze.lru/repoze.lru-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros 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 repoze.lru is a LRU (least recently used) cache implementation. Keys and @@ -43,12 +43,12 @@ %setup -q -n repoze.lru-%{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 CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt %{python_sitelib}/*
