14
0

Compare commits

2 Commits

2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 6 04:21:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 29 09:01:10 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Dec 29 09:01:10 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-xsge_particle # spec file for package python-xsge_particle
# #
# Copyright (c) 2023 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
@@ -24,7 +24,9 @@ Summary: xSGE Particles
License: LGPL-3.0-or-later License: LGPL-3.0-or-later
URL: https://python-sge.github.io/ URL: https://python-sge.github.io/
Source: https://files.pythonhosted.org/packages/source/x/xsge_particle/xsge_particle-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/x/xsge_particle/xsge_particle-%{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
Requires: python-sge-pygame >= 1.0 Requires: python-sge-pygame >= 1.0
@@ -43,15 +45,16 @@ This extension provides particle effects for SGE.
%setup -q -n xsge_particle-%{version} %setup -q -n xsge_particle-%{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}
%files %{python_files} %files %{python_files}
%doc README %doc README
%license xsge_particle/COPYING %license xsge_particle/COPYING
%{python_sitelib}/* %{python_sitelib}/xsge_particle
%{python_sitelib}/xsge_particle-%{version}.dist-info
%changelog %changelog