public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/testcloud] epel9: Remove deprecated py3_* macros (RHBZ#2378514)
@ 2026-09-15 12:28
0 siblings, 0 replies; only message in thread
From: @ 2026-09-15 12:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/testcloud
Branch : epel9
Commit : 75f7bd9119b0902c2bd802797a5be596abd3cc91
Author : František Zatloukal <fzatlouk@redhat.com>
Date : 2025-10-26T17:57:36+01:00
Stats : +5/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/testcloud/c/75f7bd9119b0902c2bd802797a5be596abd3cc91?branch=epel9
Log:
Remove deprecated py3_* macros (RHBZ#2378514)
---
diff --git a/testcloud.spec b/testcloud.spec
index 58a3c24..5a417c8 100644
--- a/testcloud.spec
+++ b/testcloud.spec
@@ -37,7 +37,6 @@ Summary: Python 3 interface to testcloud
BuildRequires: bash-completion
BuildRequires: python3-devel
BuildRequires: python3-pytest
-BuildRequires: python3-setuptools
Requires: acl
Requires: genisoimage
@@ -65,10 +64,11 @@ sed -i 's/ --cov-report=term-missing --cov testcloud//g' tox.ini
%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files testcloud
# configuration files
mkdir -p %{buildroot}%{_sysconfdir}/testcloud/
@@ -91,6 +91,7 @@ install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir
install -p -m644 -D %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
%check
+%pyproject_check_import
%pytest
# Remove compiled .py files from /etc after os_install_post
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
@@ -115,9 +116,7 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%{_sysusersdir}/%{name}.conf
-%files -n python3-%{name}
-%{python3_sitelib}/testcloud
-%{python3_sitelib}/*.egg-info
+%files -n python3-%{name} -f %{pyproject_files}
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-15 12:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 12:28 [rpms/testcloud] epel9: Remove deprecated py3_* macros (RHBZ#2378514)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox