Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
bf026de7b5 |
BIN
olefile-0.46.zip
(Stored with Git LFS)
Normal file
BIN
olefile-0.46.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
olefile-0.47.zip
(Stored with Git LFS)
BIN
olefile-0.47.zip
(Stored with Git LFS)
Binary file not shown.
@@ -1,22 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
Fri Apr 21 12:28:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-olefile
|
# spec file for package python-olefile
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,21 +16,25 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define oldpython python
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-olefile
|
Name: python-olefile
|
||||||
Version: 0.47
|
Version: 0.46
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python package to read and write Microsoft OLE2 files
|
Summary: Python package to read and write Microsoft OLE2 files
|
||||||
License: BSD-2-Clause AND HPND
|
License: BSD-2-Clause AND HPND
|
||||||
URL: https://github.com/decalage2/olefile
|
URL: https://github.com/decalage2/olefile
|
||||||
Source: https://files.pythonhosted.org/packages/source/o/olefile/olefile-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/o/olefile/olefile-%{version}.zip
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
Provides: %{oldpython}-OleFileIO_PL = %{version}
|
||||||
|
Obsoletes: %{oldpython}-OleFileIO_PL <= 0.26
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -44,22 +48,21 @@ formats, McAfee antivirus quarantine files, etc.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n olefile-%{version}
|
%setup -q -n olefile-%{version}
|
||||||
# Fix wrong-file-end-of-line-encoding
|
# Fix wrong-file-end-of-line-encoding
|
||||||
sed -i 's/\r$//' README.md
|
sed -i 's/\r$//' doc/License.rst README.rst
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest discover -v
|
%pyunittest discover -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CONTRIBUTORS.txt README.md
|
%doc CONTRIBUTORS.txt README.md README.rst README.html
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/olefile
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/olefile-*.dist-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user