Hello community,
here is the log from the commit of package python-PasteDeploy for
openSUSE:Factory checked in at 2017-05-03 15:55:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PasteDeploy (Old)
and /work/SRC/openSUSE:Factory/.python-PasteDeploy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PasteDeploy"
Wed May 3 15:55:24 2017 rev:13 rq:489510 version:1.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PasteDeploy/python-PasteDeploy.changes
2015-02-10 20:23:15.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-PasteDeploy.new/python-PasteDeploy.changes
2017-05-03 15:55:25.267210261 +0200
@@ -1,0 +2,10 @@
+Wed Apr 19 08:16:47 UTC 2017 - [email protected]
+
+- fix source url
+
+-------------------------------------------------------------------
+Wed Apr 19 02:26:16 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PasteDeploy.spec ++++++
--- /var/tmp/diff_new_pack.F0IHGI/_old 2017-05-03 15:55:26.035101854 +0200
+++ /var/tmp/diff_new_pack.F0IHGI/_new 2017-05-03 15:55:26.039101290 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-PasteDeploy
#
-# Copyright (c) 2015 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-PasteDeploy
Version: 1.5.2
Release: 0
@@ -23,21 +24,18 @@
Summary: Load, configure, and compose WSGI applications and servers
License: MIT
Group: Development/Languages/Python
-Source:
http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-Paste
Requires: python-setuptools
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
-BuildArch: noarch
-%endif
-%endif
Provides: python-pastedeploy = %{version}
Obsoletes: python-pastedeploy < %{version}
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+BuildArch: noarch
+%python_subpackages
%description
This tool provides code to load WSGI applications and servers from URIs; these
@@ -48,14 +46,15 @@
%setup -q -n PasteDeploy-%{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 docs/*
+%doc README docs/license.txt docs/news.txt docs/index.txt
%{python_sitelib}/*
%changelog