From 523c695f0c10dba50b4af79cc68fcdf6958766401453b29a09b18e23a38546d7 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 5 May 2025 06:20:03 +0000 Subject: [PATCH] - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Gloo?expand=0&rev=9 --- python-Gloo.changes | 6 ++++++ python-Gloo.spec | 12 +++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/python-Gloo.changes b/python-Gloo.changes index 06d3f71..2064d50 100644 --- a/python-Gloo.changes +++ b/python-Gloo.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 5 06:19:28 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Wed Aug 28 04:36:43 UTC 2024 - Guang Yee diff --git a/python-Gloo.spec b/python-Gloo.spec index d15eb29..45e9ab2 100644 --- a/python-Gloo.spec +++ b/python-Gloo.spec @@ -1,7 +1,7 @@ # # spec file for package python-Gloo # -# Copyright (c) 2024 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 @@ -17,7 +17,6 @@ %{?sle15_python_module_pythons} -%define skip_python36 1 Name: python-Gloo Version: 0.1.2 Release: 0 @@ -25,7 +24,9 @@ Summary: Project management for data analysis projects License: BSD-3-Clause URL: https://pypi.python.org/pypi/Gloo/ Source: https://files.pythonhosted.org/packages/source/G/Gloo/Gloo-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pandas @@ -42,10 +43,10 @@ runs scripts, makes utitlity functions available and more. %setup -q -n Gloo-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # The tests in test directory are broken and so they are not checked @@ -53,6 +54,7 @@ runs scripts, makes utitlity functions available and more. %files %{python_files} %doc CHANGES.txt README.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/[Gg]loo +%{python_sitelib}/[Gg]loo-%{version}.dist-info %changelog