Hello community,
here is the log from the commit of package python-itsdangerous for
openSUSE:Factory checked in at 2017-04-24 09:47:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-itsdangerous (Old)
and /work/SRC/openSUSE:Factory/.python-itsdangerous.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-itsdangerous"
Mon Apr 24 09:47:59 2017 rev:5 rq:487846 version:0.24
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-itsdangerous/python-itsdangerous.changes
2016-11-28 15:06:32.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-itsdangerous.new/python-itsdangerous.changes
2017-04-24 09:48:02.574244517 +0200
@@ -1,0 +2,5 @@
+Tue Apr 4 15:53:02 UTC 2017 - [email protected]
+
+- update for singlespec
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-itsdangerous.spec ++++++
--- /var/tmp/diff_new_pack.owHHuc/_old 2017-04-24 09:48:03.630095182 +0200
+++ /var/tmp/diff_new_pack.owHHuc/_new 2017-04-24 09:48:03.634094616 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-itsdangerous
#
-# 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,7 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-itsdangerous
Version: 0.24
Release: 0
@@ -23,14 +24,12 @@
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://github.com/mitsuhiko/itsdangerous
-Source:
https://pypi.python.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
-BuildRequires: python-devel
+Source:
https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
+BuildRequires: %{python_module devel}
+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
It's Dangerous
@@ -45,17 +44,16 @@
Also I plan to add some extra things. Work in progress.
-
%prep
%setup -q -n itsdangerous-%{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 LICENSE README
%{python_sitelib}/*