- Update to 1.8.0:

* Support adding directory contents at the top level of the
    ZipStream by specifying an arcname of /
  * Fix issue where leading path separators could cause an
    incorrect size to be calculated.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipstream-ng?expand=0&rev=3
This commit is contained in:
Matej Cepl 2024-10-17 08:31:39 +00:00 committed by Git OBS Bridge
parent 46f304677b
commit f99b45e464
3 changed files with 28 additions and 16 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Oct 16 07:43:51 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
- Update to 1.8.0:
* Support adding directory contents at the top level of the
ZipStream by specifying an arcname of /
* Fix issue where leading path separators could cause an
incorrect size to be calculated.
-------------------------------------------------------------------
Mon Apr 29 06:43:48 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-zipstream-ng
#
# Copyright (c) 2021 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,21 +16,21 @@
#
Name: python-zipstream-ng
Version: 1.7.1
Release: 0
Summary: Modern and easy to use streamable zip file generator
License: LGPL-3.0
URL: https://github.com/pR0Ps/zipstream-ng
Source: https://files.pythonhosted.org/packages/source/z/zipstream-ng/zipstream-ng-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pytest}
BuildRequires: fdupes
Requires(post): update-alternatives
Name: python-zipstream-ng
Version: 1.8.0
Release: 0
Summary: Modern and easy to use streamable zip file generator
License: LGPL-3.0-only
URL: https://github.com/pR0Ps/zipstream-ng
Source: https://files.pythonhosted.org/packages/source/z/zipstream-ng/zipstream_ng-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(preun): update-alternatives
BuildArch: noarch
Conflicts: python-zipstream
BuildArch: noarch
Conflicts: python-zipstream
%python_subpackages
%description
@ -54,7 +54,7 @@ Features:
* No external dependencies.
%prep
%autosetup -n zipstream-ng-%{version}
%autosetup -n zipstream_ng-%{version}
# Remove shebangs for sitelib
find . -type f -name "*.py" -exec sed -i '/^#!.*env python.*/d' {} ';'

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7129d2c15d26934b3e1cb22256593b6bdbd03c553c26f4199a5bf05110642bc
size 35887