diff --git a/python-relatorio.changes b/python-relatorio.changes index 071df3c..0f0a3e4 100644 --- a/python-relatorio.changes +++ b/python-relatorio.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Jul 31 09:24:57 UTC 2019 - Tomáš Chvátal + +- Run tests +- Run fdupes + +------------------------------------------------------------------- +Tue Jul 30 18:41:41 UTC 2019 - Axel Braun + +- version 0.9.0 + * Support out parameter of render + * Write opendocument stream directly to the ZipFile + ------------------------------------------------------------------- Fri Jul 5 16:33:12 UTC 2019 - Axel Braun diff --git a/python-relatorio.spec b/python-relatorio.spec index 8cb8a3b..2f62b6d 100644 --- a/python-relatorio.spec +++ b/python-relatorio.spec @@ -1,7 +1,7 @@ # # spec file for package python-relatorio # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016-2019 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -13,32 +13,31 @@ # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with tests %define mod_name relatorio Name: python-relatorio -Version: 0.8.1 +Version: 0.9.0 Release: 0 Summary: Python module to create reports from Python objects -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Office/Management -Url: https://pypi.python.org/pypi/relatorio +URL: https://pypi.python.org/pypi/relatorio Source: https://pypi.io/packages/source/r/%{mod_name}/%{mod_name}-%{version}.tar.gz BuildRequires: %{python_module Genshi} BuildRequires: %{python_module lxml} -# It requires different magic for tests https://github.com/ahupp/python-magic -#BuildRequires: %{python_module magic} +BuildRequires: %{python_module python-magic} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Genshi Requires: python-PyYAML Requires: python-lxml -Requires: python-magic Requires: python-pycha +Requires: python-python-magic BuildArch: noarch %python_subpackages @@ -55,15 +54,14 @@ as documents (odt, ods, pdf) or images (png, svg). %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check %python_exec setup.py test -%endif %files %{python_files} %license LICENSE -%doc README AUTHORS +%doc README AUTHORS %{python_sitelib}/* %changelog diff --git a/relatorio-0.8.1.tar.gz b/relatorio-0.8.1.tar.gz deleted file mode 100644 index d3a56be..0000000 --- a/relatorio-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:149a1c4c2a35d9b9e634fe80cac405bc9b4c03a42f818302362183515e7e835d -size 1099129 diff --git a/relatorio-0.9.0.tar.gz b/relatorio-0.9.0.tar.gz new file mode 100644 index 0000000..6767fef --- /dev/null +++ b/relatorio-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d33c7dabdc20e0af3f41adfb64da718aecd73ab1a526fca8ef72bb7b0fd52361 +size 1105629