Hello community, here is the log from the commit of package python-repoze.who for openSUSE:Factory checked in at 2017-07-11 08:27:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-repoze.who (Old) and /work/SRC/openSUSE:Factory/.python-repoze.who.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-repoze.who" Tue Jul 11 08:27:12 2017 rev:2 rq:509106 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-repoze.who/python-repoze.who.changes 2015-12-09 22:31:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-repoze.who.new/python-repoze.who.changes 2017-07-11 08:27:15.467494402 +0200 @@ -1,0 +2,5 @@ +Mon Jul 10 07:55:45 UTC 2017 - ok...@suse.com + +- Convert to singlespec + +------------------------------------------------------------------- Old: ---- repoze.who-2.2.tar.gz New: ---- repoze.who-2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-repoze.who.spec ++++++ --- /var/tmp/diff_new_pack.iDNuOX/_old 2017-07-11 08:27:17.023274955 +0200 +++ /var/tmp/diff_new_pack.iDNuOX/_new 2017-07-11 08:27:17.027274390 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-repoze.who # -# Copyright (c) 2015 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,29 +16,32 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-repoze.who -Version: 2.2 +%global modname repoze.who +Version: 2.3 Release: 0 Url: http://www.repoze.org Summary: Identification and authentication framework for WSGI License: SUSE-Repoze Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/r/repoze.who/repoze.who-%{version}.tar.gz +Source: https://pypi.io/packages/source/r/%{modname}/%{modname}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-Paste -BuildRequires: python-Sphinx -BuildRequires: python-devel -BuildRequires: python-zope.interface +BuildRequires: %{python_module Paste} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module WebOb} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module zope.interface} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Paste Requires: python-WebOb Requires: python-zope.interface -Provides: python-repoze-who = %{version} -Obsoletes: python-repoze-who < %{version} -%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.who is an identification and authentication framework @@ -53,20 +56,20 @@ domain of the WSGI application. %prep -%setup -q -n repoze.who-%{version} +%setup -q -n %{modname}-%{version} %build -python setup.py build +%python_build cd docs && make html && rm -r .build/html/.buildinfo %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib}/ -# Currently broken: -#%%check -#python setup.py test +%check +%python_exec setup.py test -%files +%files %{python_files} %defattr(-,root,root,-) %doc *.txt docs/.build/html %{python_sitelib}/* ++++++ repoze.who-2.2.tar.gz -> repoze.who-2.3.tar.gz ++++++ ++++ 3762 lines of diff (skipped)