15
0

Accepting request 1208364 from home:smolsheep:upgrades

- 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/request/show/1208364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipstream-ng?expand=0&rev=3
This commit is contained in:
2024-10-17 08:31:39 +00:00
committed by Git OBS Bridge
parent 46f304677b
commit aa3404d5b9
4 changed files with 28 additions and 19 deletions

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' {} ';'