diff --git a/odfpy-1.3.5.tar.gz b/odfpy-1.3.5.tar.gz deleted file mode 100644 index deba7f6..0000000 --- a/odfpy-1.3.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f8163f8464868cff9421a058f25566e41d73c8f7e849c021b86630941b44366 -size 492825 diff --git a/odfpy-1.3.6.tar.gz b/odfpy-1.3.6.tar.gz deleted file mode 100644 index 1df4435..0000000 --- a/odfpy-1.3.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6bcaf3b23aa9e49ed8c8c177266539b211add4e02402748a994451482a10cb1b -size 691122 diff --git a/python-odfpy.changes b/python-odfpy.changes index ef00d42..7fd08db 100644 --- a/python-odfpy.changes +++ b/python-odfpy.changes @@ -1,11 +1,3 @@ -------------------------------------------------------------------- -Wed Jun 6 13:52:20 UTC 2018 - mcepl@suse.com - -- Clean SPEC file -- Switched on tests -- Update to 1.3.6 - - Various bugfixes - ------------------------------------------------------------------- Thu Aug 24 05:19:14 UTC 2017 - tbechtold@suse.com diff --git a/python-odfpy.spec b/python-odfpy.spec index 81d9828..fa73f8a 100644 --- a/python-odfpy.spec +++ b/python-odfpy.spec @@ -1,7 +1,7 @@ # # spec file for package python-odfpy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,20 +16,17 @@ # -# -%define modname odfpy - %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-%{modname} -Version: 1.3.6 +Name: python-odfpy +Version: 1.3.5 Release: 0 Url: http://opendocumentfellowship.com/development/projects/odfpy Summary: Python API and tools to manipulate OpenDocument files -License: GPL-2.0-or-later AND Apache-2.0 +License: GPL-2.0+ and Apache-2.0 Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/o/%{modname}/%{modname}-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/o/odfpy/odfpy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -65,7 +62,7 @@ In addition to the API, there are a few scripts: Visit http://odfpy.forge.osor.eu/ for documentation and examples. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n odfpy-%{version} sed -i "1d" odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanifest,thumbnail}.py # Fix non-executable scripts %build @@ -75,14 +72,10 @@ sed -i "1d" odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanif %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%check -%python_expand PYTHONPATH=build/lib py.test-%{$python_version} -v - %files %{python_files} %defattr(-,root,root,-) %python3_only %{_bindir}/* %python3_only %{_mandir}/man1/* -%{python_sitelib}/odf -%{python_sitelib}/%{modname}* +%{python_sitelib}/* %changelog