Accepting request 1198644 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1198644 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-olefile?expand=0&rev=9
This commit is contained in:
commit
8d86609ef7
BIN
olefile-0.46.zip
(Stored with Git LFS)
BIN
olefile-0.46.zip
(Stored with Git LFS)
Binary file not shown.
BIN
olefile-0.47.zip
(Stored with Git LFS)
Normal file
BIN
olefile-0.47.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 06:42:23 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user