17
0

Compare commits

2 Commits

2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 6 03:08:41 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 16 02:25:00 UTC 2020 - John Vandenberg <jayvdb@gmail.com> Sun Aug 16 02:25:00 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-zipstream # spec file for package python-zipstream
# #
# Copyright (c) 2020 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,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zipstream Name: python-zipstream
Version: 1.1.4 Version: 1.1.4
Release: 0 Release: 0
@@ -25,7 +24,9 @@ License: GPL-3.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/allanlei/python-zipstream URL: https://github.com/allanlei/python-zipstream
Source: https://github.com/allanlei/python-zipstream/archive/v%{version}.tar.gz#/zipstream-%{version}.tar.gz Source: https://github.com/allanlei/python-zipstream/archive/v%{version}.tar.gz#/zipstream-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -42,10 +43,10 @@ disk first.
%setup -q -n python-zipstream-%{version} %setup -q -n python-zipstream-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -54,6 +55,7 @@ disk first.
%files %{python_files} %files %{python_files}
%doc README.markdown %doc README.markdown
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/zipstream
%{python_sitelib}/zipstream-%{version}.dist-info
%changelog %changelog