Hello community, here is the log from the commit of package python-odfpy for openSUSE:Leap:15.2 checked in at 2020-03-09 18:09:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-odfpy (Old) and /work/SRC/openSUSE:Leap:15.2/.python-odfpy.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-odfpy" Mon Mar 9 18:09:34 2020 rev:11 rq:776863 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-odfpy/python-odfpy.changes 2020-01-15 15:50:54.735510857 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-odfpy.new.26092/python-odfpy.changes 2020-03-09 18:09:35.161043528 +0100 @@ -1,0 +2,27 @@ +Fri Feb 22 01:45:28 UTC 2019 - John Vandenberg <[email protected]> + +- Update to v1.4.0 + * Use defusedxml, which guards against various XML vulnerabilities + * Fix odf/opendocument.py toXml needs codecs import + * Add tests for various XML vulnerabilities + * Add metadata for Python 3.7 support +- Replace dead url with https://github.com/eea/odfpy + +------------------------------------------------------------------- +Wed Aug 29 10:52:40 UTC 2018 - [email protected] + +- Make sure to install license files + +------------------------------------------------------------------- +Wed Jun 6 13:52:20 UTC 2018 - [email protected] + +- Clean SPEC file +- Switched on tests +- Update to 1.3.6 + * Proper import of load + * Escaping: replace xml-1.0-illegal characters with question marks + * ODT merge example + * Changed the path to save images. + Now image of the subobject is stored in a folder of subobject + +------------------------------------------------------------------- Old: ---- odfpy-1.3.5.tar.gz New: ---- odfpy-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-odfpy.spec ++++++ --- /var/tmp/diff_new_pack.eXm77F/_old 2020-03-09 18:09:35.565044108 +0100 +++ /var/tmp/diff_new_pack.eXm77F/_new 2020-03-09 18:09:35.565044108 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-odfpy # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,26 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# +%define modname odfpy %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-odfpy -Version: 1.3.5 +Name: python-%{modname} +Version: 1.4.0 Release: 0 -Url: http://opendocumentfellowship.com/development/projects/odfpy Summary: Python API and tools to manipulate OpenDocument files -License: GPL-2.0+ and Apache-2.0 +License: GPL-2.0-or-later AND Apache-2.0 Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/o/odfpy/odfpy-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module devel} +URL: https://github.com/eea/odfpy +Source: https://files.pythonhosted.org/packages/source/o/odfpy/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module defusedxml} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - +Requires: python-defusedxml %python_subpackages %description @@ -59,10 +61,10 @@ - odfuserfield - List or change the user-field declarations in an ODF file - xml2odf - Create OD? package from OpenDocument in XML form -Visit http://odfpy.forge.osor.eu/ for documentation and examples. +Visit https://github.com/eea/odfpy for documentation and examples. %prep -%setup -q -n odfpy-%{version} +%setup -q -n %{modname}-%{version} sed -i "1d" odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanifest,thumbnail}.py # Fix non-executable scripts %build @@ -72,10 +74,14 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} -v + %files %{python_files} -%defattr(-,root,root,-) +%license APACHE-LICENSE-2.0.txt GPL-LICENSE-2.txt %python3_only %{_bindir}/* %python3_only %{_mandir}/man1/* -%{python_sitelib}/* +%{python_sitelib}/odf +%{python_sitelib}/%{modname}* %changelog ++++++ odfpy-1.3.5.tar.gz -> odfpy-1.4.0.tar.gz ++++++ ++++ 32064 lines of diff (skipped)
