From ccc04bdc871a71006c678755498b708a84decdec9e565810d32d78168c30b6e4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 4 Jan 2023 18:34:41 +0000 Subject: [PATCH] - update to 1.4.2: * Add scale-to-X and scale-to-Y attributes to page-layout properties * Add Support for Linux on power * Update datatable.py * Fix bug in __replaceGenerator() OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-odfpy?expand=0&rev=30 --- odfpy-1.4.1.tar.gz | 3 --- python-odfpy.changes | 9 +++++++++ python-odfpy.spec | 14 +++++++------- release-1.4.2.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 10 deletions(-) delete mode 100644 odfpy-1.4.1.tar.gz create mode 100644 release-1.4.2.tar.gz diff --git a/odfpy-1.4.1.tar.gz b/odfpy-1.4.1.tar.gz deleted file mode 100644 index c98f694..0000000 --- a/odfpy-1.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:db766a6e59c5103212f3cc92ec8dd50a0f3a02790233ed0b52148b70d3c438ec -size 717045 diff --git a/python-odfpy.changes b/python-odfpy.changes index b2d5892..46f7133 100644 --- a/python-odfpy.changes +++ b/python-odfpy.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Jan 4 18:32:36 UTC 2023 - Dirk Müller + +- update to 1.4.2: + * Add scale-to-X and scale-to-Y attributes to page-layout properties + * Add Support for Linux on power + * Update datatable.py + * Fix bug in __replaceGenerator() + ------------------------------------------------------------------- Sun Oct 4 15:42:23 UTC 2020 - John Vandenberg diff --git a/python-odfpy.spec b/python-odfpy.spec index 901a658..34b15b6 100644 --- a/python-odfpy.spec +++ b/python-odfpy.spec @@ -1,7 +1,7 @@ # -# spec file for package python-odfpy +# spec file # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,13 +21,13 @@ %define binaries csv2ods mailodf odf2mht odf2xhtml odf2xml odfimgimport odflint odfmeta odfoutline odfuserfield xml2odf %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{modname} -Version: 1.4.1 +Version: 1.4.2 Release: 0 Summary: Python API and tools to manipulate OpenDocument files -License: GPL-2.0-or-later OR Apache-2.0 +License: Apache-2.0 OR GPL-2.0-or-later Group: Development/Languages/Python URL: https://github.com/eea/odfpy -Source: https://files.pythonhosted.org/packages/source/o/odfpy/%{modname}-%{version}.tar.gz +Source: https://github.com/eea/odfpy/archive/refs/tags/release-%{version}.tar.gz BuildRequires: %{python_module defusedxml} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -35,7 +35,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-defusedxml Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -67,7 +67,7 @@ In addition to the API, there are a few scripts: Visit https://github.com/eea/odfpy for documentation and examples. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n %{modname}-release-%{version} sed -i "1d" odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanifest,thumbnail}.py # Fix non-executable scripts %build diff --git a/release-1.4.2.tar.gz b/release-1.4.2.tar.gz new file mode 100644 index 0000000..a95ae62 --- /dev/null +++ b/release-1.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24ad087f38031b2fe60bf22811b9550887afe1cfdea80672d6573387c3025583 +size 10065808