15
0
forked from pool/python-Gloo

- 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
This commit is contained in:
2025-05-05 06:20:03 +00:00
committed by Git OBS Bridge
parent da908e98fc
commit 523c695f0c
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 5 06:19:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Wed Aug 28 04:36:43 UTC 2024 - Guang Yee <gyee@suse.com>

View File

@@ -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