15
0
forked from pool/python-ara

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ara?expand=0&rev=37
This commit is contained in:
2025-06-13 05:41:23 +00:00
committed by Git OBS Bridge
parent 349616bf00
commit af9ce42764
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 13 05:35:06 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Nov 25 08:44:24 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ara
#
# 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
@@ -36,7 +36,9 @@ URL: https://github.com/ansible-community/ara
Source: https://files.pythonhosted.org/packages/source/a/ara/ara-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cliff
@@ -76,11 +78,11 @@ tools and interfaces.
%setup -q -n ara-%{version}
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/ara
%python_clone -a %{buildroot}%{_bindir}/ara-manage
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -105,7 +107,7 @@ ara-manage test -v 2 ara
%license LICENSE
%python_alternative %{_bindir}/ara
%python_alternative %{_bindir}/ara-manage
%{python_sitelib}/ara-%{version}*-info
%{python_sitelib}/ara-%{version}.dist-info
%{python_sitelib}/ara
%endif