Hello community,
here is the log from the commit of package python-zope.deprecation for
openSUSE:Factory checked in at 2017-07-11 08:26:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.deprecation (Old)
and /work/SRC/openSUSE:Factory/.python-zope.deprecation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.deprecation"
Tue Jul 11 08:26:00 2017 rev:5 rq:508928 version:4.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-zope.deprecation/python-zope.deprecation.changes
2015-05-18 22:22:13.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-zope.deprecation.new/python-zope.deprecation.changes
2017-07-11 08:26:00.350089694 +0200
@@ -1,0 +2,9 @@
+Sat Jul 8 07:39:24 UTC 2017 - [email protected]
+
+- Update to version 4.2.0
+ * Drop support for Python 2.6 and 3.2.
+ * Add support for Python 3.5.
+
+- Converted to single-spec
+
+-------------------------------------------------------------------
Old:
----
zope.deprecation-4.1.2.tar.gz
New:
----
zope.deprecation-4.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.deprecation.spec ++++++
--- /var/tmp/diff_new_pack.ddEHuF/_old 2017-07-11 08:26:01.325952052 +0200
+++ /var/tmp/diff_new_pack.ddEHuF/_new 2017-07-11 08:26:01.325952052 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.deprecation
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -17,23 +17,23 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.deprecation
-Version: 4.1.2
+Version: 4.2.0
Release: 0
-Url: http://pypi.python.org/pypi/zope.deprecation
Summary: Zope Deprecation Infrastructure
License: ZPL-2.1
Group: Development/Languages/Python
-Source:
https://pypi.python.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-setuptools
-# Documentation requirements:
-BuildRequires: python-Sphinx
-%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
+Url: https://pypi.python.org/pypi/zope.deprecation
+Source:
https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz
+BuildRequires: %{python_module setuptools}
+# SECTION documentation requirements
+BuildRequires: %{python_module Sphinx}
+# /SECTION
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
BuildArch: noarch
-%endif
+%python_subpackages
%description
When we started working on Zope 3.1, we noticed that the hardest part of the
@@ -42,33 +42,36 @@
provides a simple function called 'deprecated(names, reason)' to deprecate the
previously mentioned Python objects.
-%package doc
+%package -n %{name}-doc
Summary: Zope 3 Deprecation Infrastructure
Group: Development/Languages/Python
Requires: %{name} = %{version}
+Provides: %{python_module zope.deprecation-doc = %{version}}
-%description doc
+%description -n %{name}-doc
This package contains documentation files for %{name}.
%prep
%setup -q -n zope.deprecation-%{version}
+rm -rf zope.deprecation.egg-info
%build
-python setup.py build
-python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
+%python_build
+%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
-python setup.py -q test
+%python_exec setup.py -q test
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
%python_sitelib/*
-%files doc
+%files -n %{name}-doc
%defattr(-,root,root,-)
%doc build/sphinx/html/
++++++ zope.deprecation-4.1.2.tar.gz -> zope.deprecation-4.2.0.tar.gz ++++++
++++ 14742 lines of diff (skipped)