diff --git a/python-zipstream-ng.changes b/python-zipstream-ng.changes index d6e8575..5827b07 100644 --- a/python-zipstream-ng.changes +++ b/python-zipstream-ng.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Oct 16 07:43:51 UTC 2024 - Joshua Smith + +- 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 diff --git a/python-zipstream-ng.spec b/python-zipstream-ng.spec index 683cf9e..dd11136 100644 --- a/python-zipstream-ng.spec +++ b/python-zipstream-ng.spec @@ -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' {} ';' diff --git a/zipstream_ng-1.8.0.tar.gz b/zipstream_ng-1.8.0.tar.gz new file mode 100644 index 0000000..91d218c --- /dev/null +++ b/zipstream_ng-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7129d2c15d26934b3e1cb22256593b6bdbd03c553c26f4199a5bf05110642bc +size 35887