Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
123eadbfe0 | |||
cf5e1f3b71 | |||
7ea71f527e | |||
aa3404d5b9 |
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 6 03:00:59 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon Apr 29 06:43:48 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-zipstream-ng
|
# spec file for package python-zipstream-ng
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2025 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,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python-zipstream-ng
|
Name: python-zipstream-ng
|
||||||
Version: 1.7.1
|
Version: 1.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Modern and easy to use streamable zip file generator
|
Summary: Modern and easy to use streamable zip file generator
|
||||||
License: LGPL-3.0
|
License: LGPL-3.0-only
|
||||||
URL: https://github.com/pR0Ps/zipstream-ng
|
URL: https://github.com/pR0Ps/zipstream-ng
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zipstream-ng/zipstream-ng-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zipstream-ng/zipstream_ng-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: %{python_module wheel}
|
||||||
Requires(post): update-alternatives
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Conflicts: python-zipstream
|
Conflicts: python-zipstream
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,16 +56,16 @@ Features:
|
|||||||
* No external dependencies.
|
* No external dependencies.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n zipstream-ng-%{version}
|
%autosetup -n zipstream_ng-%{version}
|
||||||
|
|
||||||
# Remove shebangs for sitelib
|
# Remove shebangs for sitelib
|
||||||
find . -type f -name "*.py" -exec sed -i '/^#!.*env python.*/d' {} ';'
|
find . -type f -name "*.py" -exec sed -i '/^#!.*env python.*/d' {} ';'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/zipserver
|
%python_clone -a %{buildroot}%{_bindir}/zipserver
|
||||||
|
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f92023b9ca578cd7fdd94ec733c65664ecf7ee32493e38cdf8e365a1316e9ffc
|
|
||||||
size 35488
|
|
3
zipstream_ng-1.8.0.tar.gz
Normal file
3
zipstream_ng-1.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b7129d2c15d26934b3e1cb22256593b6bdbd03c553c26f4199a5bf05110642bc
|
||||||
|
size 35887
|
Reference in New Issue
Block a user