From e2cc1cf0252b0e8e8c5a1f09d65e76303b4ab4595fb70c3a7965eb97c5dba09f Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 7 Aug 2018 15:27:22 +0000 Subject: [PATCH] Accepting request 627921 from home:TheBlackCat:branches:devel:languages:python - Update to 0.45.1 * overwrite streams of any size * improved handling of malformed files * fixed several bugs * end of support for Python 2.6 and 3.3. OBS-URL: https://build.opensuse.org/request/show/627921 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-olefile?expand=0&rev=6 --- olefile-0.44.zip | 3 --- olefile-0.45.1.zip | 3 +++ python-olefile.changes | 9 +++++++++ python-olefile.spec | 23 +++++++++++++---------- 4 files changed, 25 insertions(+), 13 deletions(-) delete mode 100644 olefile-0.44.zip create mode 100644 olefile-0.45.1.zip diff --git a/olefile-0.44.zip b/olefile-0.44.zip deleted file mode 100644 index f6a8aa1..0000000 --- a/olefile-0.44.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad -size 74147 diff --git a/olefile-0.45.1.zip b/olefile-0.45.1.zip new file mode 100644 index 0000000..064f344 --- /dev/null +++ b/olefile-0.45.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b6575f5290de8ab1086f8c5490591f7e0885af682c7c1793bdaf6e64078d385 +size 112359 diff --git a/python-olefile.changes b/python-olefile.changes index 096d849..6ae8572 100644 --- a/python-olefile.changes +++ b/python-olefile.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Aug 7 15:04:40 UTC 2018 - toddrme2178@gmail.com + +- Update to 0.45.1 + * overwrite streams of any size + * improved handling of malformed files + * fixed several bugs + * end of support for Python 2.6 and 3.3. + ------------------------------------------------------------------- Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com diff --git a/python-olefile.spec b/python-olefile.spec index 5c3cd03..547c250 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -1,7 +1,7 @@ # # spec file for package python-olefile # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -17,26 +17,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%define oldpython python Name: python-olefile -Version: 0.44 +Version: 0.45.1 Release: 0 Summary: Read and write Microsoft OLE2 files License: BSD-2-Clause and HPND Group: Development/Languages/Python -Url: https://www.decalage.info/python/olefileio +Url: https://github.com/decalage2/olefile Source: https://files.pythonhosted.org/packages/source/o/olefile/olefile-%{version}.zip -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: unzip -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %ifpython2 Provides: %{oldpython}-OleFileIO_PL = %{version} Obsoletes: %{oldpython}-OleFileIO_PL <= 0.26 %endif +BuildArch: noarch + %python_subpackages %description @@ -59,9 +59,12 @@ sed -i 's/\r$//' doc/License.rst %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%check +%python_exec setup.py test + %files %{python_files} -%defattr(-,root,root,-) -%doc README.md doc/License.rst +%doc CONTRIBUTORS.txt README.md README.rst README.html +%license LICENSE.txt %{python_sitelib}/* %changelog