From a2755c75ab085421959ec5defe73f5586cb89337df31e8d2d4288c534973de7e Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Mon, 11 Sep 2017 15:42:07 +0000 Subject: [PATCH] Accepting request 523264 from home:jengelh:branches:devel:languages:python - Compact description. OBS-URL: https://build.opensuse.org/request/show/523264 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zipstream?expand=0&rev=2 --- python-zipstream.changes | 5 +++++ python-zipstream.spec | 19 +++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/python-zipstream.changes b/python-zipstream.changes index 876b31b..7e71406 100644 --- a/python-zipstream.changes +++ b/python-zipstream.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 11 15:28:03 UTC 2017 - jengelh@inai.de + +- Compact description. + ------------------------------------------------------------------- Thu Sep 7 22:43:04 UTC 2017 - toddrme2178@gmail.com diff --git a/python-zipstream.spec b/python-zipstream.spec index 4f3a5c3..fa7402e 100644 --- a/python-zipstream.spec +++ b/python-zipstream.spec @@ -13,6 +13,7 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,15 +21,15 @@ Name: python-zipstream Version: 1.1.4 Release: 0 -License: GPL-3.0+ Summary: Zipfile generator -Url: https://github.com/allanlei/python-zipstream +License: GPL-3.0+ Group: Development/Languages/Python +Url: https://github.com/allanlei/python-zipstream Source: https://files.pythonhosted.org/packages/source/z/zipstream/zipstream-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module nose} %endif @@ -37,12 +38,10 @@ BuildArch: noarch %python_subpackages %description -zipstream.py is a zip archive generator based on python 3.3's zipfile.py. -It was created to generate a zip file generator for streaming (ie web apps). -This is beneficial for when you want to provide a downloadable archive of a -large collection of regular files, which would be infeasible to generate the -archive prior to downloading or of a very large file that you do not want -to store entirely on disk or on memory. +zipstream.py is a ZIP archive generator based on Python 3.3's zipfile.py. +zipstream can create archives on the fly, which is useful for streaming +the archive to e.g. web clients without needing to store the archive on +disk first. %prep %setup -q -n zipstream-%{version}