diff --git a/python-xsge_particle.changes b/python-xsge_particle.changes index 2b95779..9105699 100644 --- a/python-xsge_particle.changes +++ b/python-xsge_particle.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 6 04:21:34 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Fri Dec 29 09:01:10 UTC 2023 - Dirk Müller diff --git a/python-xsge_particle.spec b/python-xsge_particle.spec index c872298..88be0fb 100644 --- a/python-xsge_particle.spec +++ b/python-xsge_particle.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,9 @@ Summary: xSGE Particles License: LGPL-3.0-or-later URL: https://python-sge.github.io/ 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 wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-sge-pygame >= 1.0 @@ -43,15 +45,16 @@ This extension provides particle effects for SGE. %setup -q -n xsge_particle-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README %license xsge_particle/COPYING -%{python_sitelib}/* +%{python_sitelib}/xsge_particle +%{python_sitelib}/xsge_particle-%{version}.dist-info %changelog