File project.diff of Package python-zope.structuredtext
--- python-zope.structuredtext.changes.orig
+++ python-zope.structuredtext.changes
@@ -1,4 +1,28 @@
-------------------------------------------------------------------
+Tue Sep 29 13:34:10 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
+
+- Update to version 4.3 (2018-10-09)
+ + Add support for Python 3.7.
+
+- Update to version 4.2.0 (2017-09-05)
+ + Add support for Python 3.5 and 3.6.
+ + Drop support for Python 2.6 and 3.3.
+ + Add support for PyPy and PyPy3.
+ + Support several new elements (inner and named links,
+ underlines, etc) in the docbook writer.
+ + Fix the XML output of DocBookBook.
+ + 100% test coverage, maintained by CI and tox.
+ + Unused internal code in the stdom module was removed. See issue
+ 3.
+
+- Update to version 4.1.0 (2014-12-29)
+ + Drop dependency on six.
+ + Add support for Python 3.4.
+ + Add support for testing on Travis.
+
+- Single spec
+
+-------------------------------------------------------------------
Sat Aug 3 21:28:56 UTC 2013 - hpj@urpla.net
- version 4.0.0: initial build
--- python-zope.structuredtext.spec.orig
+++ python-zope.structuredtext.spec
@@ -1,8 +1,8 @@
#
# spec file for package python-zope.structuredtext
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
+# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2013-2020 LISA GmbH, Bingen, Germany
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,48 +17,41 @@
#
Name: python-zope.structuredtext
-Version: 4.0.0
+Version: 4.3
Release: 0
License: ZPL-2.1
Summary: StructuredText parser
Url: http://www.python.org/pypi/zope.structuredtext
Group: Development/Languages/Python
-Source: https://pypi.python.org/packages/source/z/zope.structuredtext/zope.structuredtext-%{version}.zip
-BuildRequires: python-setuptools
-BuildRequires: python-six
-BuildRequires: unzip
-# Documentation requirements:
-BuildRequires: python-Sphinx
-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
+Source: https://pypi.python.org/packages/source/z/zope.structuredtext/zope.structuredtext-%{version}.tar.gz
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+%python_subpackages
%description
-When we started working on Zope 3.1, we noticed that the hardest part of the
-development process was to ensure backward-compatibility and correctly mark
-deprecated modules, classes, functions, methods and properties. This package
-provides a simple function called 'deprecated(names, reason)' to deprecate the
-previously mentioned Python objects.
+This package provides a parser and renderers for the classic Zope “structured
+text” markup dialect (STX). STX is a plain text markup in which document
+structure is signalled primarily by indentation
+
+Please see https://zopestructuredtext.readthedocs.org/ for documentation.
%prep
%setup -q -n zope.structuredtext-%{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}
%check
-python setup.py test
+%python_exec setup.py test
-%files
-%defattr(-,root,root,-)
-%doc COPYRIGHT.txt LICENSE.txt README.txt
+%files %{python_files}
+%license LICENSE.txt
+%doc CHANGES.rst README.rst
%python_sitelib/*
%changelog