14
0
2025-06-11 06:14:51 +00:00
committed by Git OBS Bridge
parent e197157a00
commit 83d3a71ca2
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 05:49:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 15 08:01:01 UTC 2024 - opensuse_buildservice@ojkastl.de Sun Dec 15 08:01:01 UTC 2024 - opensuse_buildservice@ojkastl.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-proxmoxer # spec file for package python-proxmoxer
# #
# Copyright (c) 2024 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
@@ -26,7 +26,9 @@ URL: https://github.com/proxmoxer/proxmoxer/
# the Pypi tarball does not contain the tests directory # the Pypi tarball does not contain the tests directory
Source: proxmoxer-%{version}.tar.gz Source: proxmoxer-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module base >= 3.8}
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
@@ -48,10 +50,10 @@ Python Wrapper for the Proxmox 2.x API (HTTP and SSH)
%setup -q -n proxmoxer-%{version} %setup -q -n proxmoxer-%{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}
%check %check
@@ -65,6 +67,6 @@ IGNORED_CHECKS="${IGNORED_CHECKS} or test_repr_openssh"
%doc CHANGELOG.md README.rst %doc CHANGELOG.md README.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/proxmoxer %{python_sitelib}/proxmoxer
%{python_sitelib}/proxmoxer-%{version}*-info %{python_sitelib}/proxmoxer-%{version}.dist-info
%changelog %changelog