diff --git a/olefile-0.46.zip b/olefile-0.46.zip deleted file mode 100644 index 1bd968c..0000000 --- a/olefile-0.46.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:133b031eaf8fd2c9399b78b8bc5b8fcbe4c31e85295749bb17a87cba8f3c3964 -size 112226 diff --git a/olefile-0.47.zip b/olefile-0.47.zip new file mode 100644 index 0000000..b47f067 --- /dev/null +++ b/olefile-0.47.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:599383381a0bf3dfbd932ca0ca6515acd174ed48870cbf7fee123d698c192c1c +size 112240 diff --git a/python-olefile.changes b/python-olefile.changes index 86793e5..8cedaf8 100644 --- a/python-olefile.changes +++ b/python-olefile.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Sep 3 06:42:23 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 0.47 + * Now distributed as wheel package + * Added VT_VECTOR support for properties + * Added get_userdefined_properties + * Fixed bugs in isOleFile and write_sect + * Improved file closure +- Drop README.html from %doc section +- Drop README.rst from %doc section +- Drop support for older Python versions +- Limit Python files matched in %files section +- Remove obsolete sed invocation to fix line endings +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Fri Apr 21 12:28:42 UTC 2023 - Dirk Müller diff --git a/python-olefile.spec b/python-olefile.spec index af99057..51c4c21 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -1,7 +1,7 @@ # # spec file for package python-olefile # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,25 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python %{?sle15_python_module_pythons} Name: python-olefile -Version: 0.46 +Version: 0.47 Release: 0 Summary: Python package to read and write Microsoft OLE2 files License: BSD-2-Clause AND HPND URL: https://github.com/decalage2/olefile Source: https://files.pythonhosted.org/packages/source/o/olefile/olefile-%{version}.zip +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip BuildArch: noarch -%ifpython2 -Provides: %{oldpython}-OleFileIO_PL = %{version} -Obsoletes: %{oldpython}-OleFileIO_PL <= 0.26 -%endif %python_subpackages %description @@ -48,21 +44,22 @@ formats, McAfee antivirus quarantine files, etc. %prep %setup -q -n olefile-%{version} # Fix wrong-file-end-of-line-encoding -sed -i 's/\r$//' doc/License.rst README.rst +sed -i 's/\r$//' README.md %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pyunittest discover -v %files %{python_files} -%doc CONTRIBUTORS.txt README.md README.rst README.html +%doc CONTRIBUTORS.txt README.md %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/olefile +%{python_sitelib}/olefile-*.dist-info %changelog