public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/libvirt-python] rawhide: Update to 12.7.0 and convert to pyproject macros
Date: Thu, 03 Sep 2026 09:37:46 GMT [thread overview]
Message-ID: <178842826604.1.6797537536762362221.rpms-libvirt-python-598c4b6766c9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libvirt-python
Branch : rawhide
Commit : 598c4b6766c9ac3a6d7229fd059b40c2b30dff49
Author : Daniel P. Berrangé <berrange@redhat.com>
Date : 2026-09-03T10:37:26+01:00
Stats : +16/-19 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/libvirt-python/c/598c4b6766c9ac3a6d7229fd059b40c2b30dff49?branch=rawhide
Log:
Update to 12.7.0 and convert to pyproject macros
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
diff --git a/libvirt-python.spec b/libvirt-python.spec
index 919fb60..4ff1ba8 100644
--- a/libvirt-python.spec
+++ b/libvirt-python.spec
@@ -3,8 +3,8 @@
# This spec file assumes you are building on a Fedora or RHEL version
# that's still supported by the vendor. It may work on other distros
# or versions, but no effort will be made to ensure that going forward
-%define min_rhel 8
-%define min_fedora 33
+%define min_rhel 9
+%define min_fedora 43
%if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel})
%define supported_platform 1
@@ -16,7 +16,7 @@
Summary: The libvirt virtualization API python3 binding
Name: libvirt-python
-Version: 12.6.0
+Version: 12.7.0
Release: 1%{?dist}
Source0: https://libvirt.org/sources/python/%{dist_name}-%{version}.tar.gz
Url: https://libvirt.org
@@ -25,7 +25,6 @@ BuildRequires: libvirt-devel == %{version}
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-lxml
-BuildRequires: python3-setuptools
BuildRequires: gcc
# Don't want provides for python shared objects
@@ -59,35 +58,33 @@ of recent versions of Linux (and other OSes).
# for the -python3 package
find examples -type f -exec chmod 0644 \{\} \;
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
%if ! %{supported_platform}
echo "This RPM requires either Fedora >= %{min_fedora} or RHEL >= %{min_rhel}"
exit 1
%endif
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files libvirt libvirt_lxc libvirt_qemu libvirtaio 'libvirtmod*'
%check
+%pyproject_check_import
%pytest
-%files -n python3-libvirt
+%files -n python3-libvirt -f %{pyproject_files}
%doc ChangeLog AUTHORS README COPYING examples/
-%{python3_sitearch}/libvirt.py*
-%{python3_sitearch}/libvirtaio.py*
-%{python3_sitearch}/libvirt_qemu.py*
-%{python3_sitearch}/libvirt_lxc.py*
-%{python3_sitearch}/__pycache__/libvirt.cpython-*.py*
-%{python3_sitearch}/__pycache__/libvirt_qemu.cpython-*.py*
-%{python3_sitearch}/__pycache__/libvirt_lxc.cpython-*.py*
-%{python3_sitearch}/__pycache__/libvirtaio.cpython-*.py*
-%{python3_sitearch}/libvirtmod*
-%{python3_sitearch}/*egg-info
-
%changelog
+* Thu Sep 3 2026 Daniel P. Berrangé <berrange@redhat.com> - 12.7.0-1
+- Update to 12.7.0 release
+- Convert to modern pyproject macros
+
* Mon Aug 3 2026 Daniel P. Berrangé <berrange@redhat.com> - 12.6.0-1
- Update to 12.6.0 release
diff --git a/sources b/sources
index c83a0da..3ea2fb2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libvirt_python-12.6.0.tar.gz) = e43a3ee2c46fdcb82c65239639e38683067fb0492c0dc26e5435138435d612277f3ab08b7e73a933b07ad9e2f411feb82e84690e82f906cfcfc9f3aa7b5f3c42
+SHA512 (libvirt_python-12.7.0.tar.gz) = 35c837491141bf8a856711991840ef7526cab26375175042d9f1326aa0217886ec6c3f3334ae60be96564b5258dd78f1504a0a841cb4c77e5bd9c813beee7a77
reply other threads:[~2026-09-03 9:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178842826604.1.6797537536762362221.rpms-libvirt-python-598c4b6766c9@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox