Compare commits
26 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1497a062aa | ||
|
|
693962ea8b | ||
|
|
f5c8c71b58 | ||
|
|
0609fe3892 | ||
|
|
5ec9f9a52d | ||
|
|
dadb63c517 | ||
|
|
11bcb0079c | ||
|
|
5b17178703 | ||
|
|
d2df19d2f4 | ||
|
|
602f1a28fe | ||
|
|
36ea83449f | ||
|
|
d8108687dd | ||
|
|
a0c935ec09 | ||
|
|
50e0637efd | ||
|
|
38533684b9 | ||
|
|
757503c93b | ||
|
|
76ca8efeed | ||
|
|
eabf7045be | ||
|
|
af04272b19 | ||
|
|
4a520108bb | ||
|
|
2b523b4c16 | ||
|
|
7f8955d046 | ||
|
|
2de98bdc49 | ||
|
|
d4094e151e | ||
|
|
324f3eed4d | ||
|
|
fae04c2d70 |
4 changed files with 129 additions and 22 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +1,2 @@
|
|||
/virt-manager-*.tar.gz
|
||||
/virt-manager-20220220-git363fca41.tar.xz
|
||||
/virt-manager-*.tar.xz
|
||||
|
|
|
|||
32
0001-virtinst-cloudinit-include-empty-meta-data-file.patch
Normal file
32
0001-virtinst-cloudinit-include-empty-meta-data-file.patch
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
From ea71cf9a8a4161ce6e19eacf5f0d86d40ab74f23 Mon Sep 17 00:00:00 2001
|
||||
Message-ID: <ea71cf9a8a4161ce6e19eacf5f0d86d40ab74f23.1767794644.git.phrdina@redhat.com>
|
||||
From: Pavel Hrdina <phrdina@redhat.com>
|
||||
Date: Mon, 29 Sep 2025 16:14:35 +0200
|
||||
Subject: [PATCH] virtinst: cloudinit: include empty meta-data file
|
||||
|
||||
Refactor creation of cloud-init config files introduced a bug where we
|
||||
stopped including empty meta-data file.
|
||||
|
||||
Introduced-by: 5b2d0997a1d2d213b17c227169da64e2fa7d09a6
|
||||
Fixes: https://github.com/virt-manager/virt-manager/issues/975
|
||||
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
|
||||
---
|
||||
virtinst/install/cloudinit.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/virtinst/install/cloudinit.py b/virtinst/install/cloudinit.py
|
||||
index 3f565f399..b2378fbfa 100644
|
||||
--- a/virtinst/install/cloudinit.py
|
||||
+++ b/virtinst/install/cloudinit.py
|
||||
@@ -36,7 +36,7 @@ class _CloudInitConfig:
|
||||
def _create_file(self):
|
||||
content = self._content()
|
||||
|
||||
- if not content:
|
||||
+ if content is None:
|
||||
return None
|
||||
|
||||
fileobj = tempfile.NamedTemporaryFile(
|
||||
--
|
||||
2.52.0
|
||||
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (virt-manager-4.0.0.tar.gz) = 115dc3feb499bb2f1f6df537bffe150d23b9b568fe8047d43577a138ff9b9180b10259dde3476136cdc85750576da1104e81a8c2f5761b4f2a89852467761f81
|
||||
SHA512 (virt-manager-5.1.0.tar.xz) = 6306500ae442a6ccb36d5f19bc26b0e32984ca145ee8d41a475e175ee4db6c0d253f0cf9d908c30e3269cf7aabdad4bbd30e84f3cd0477f233da1e43e0235e3c
|
||||
|
|
|
|||
|
|
@ -1,32 +1,33 @@
|
|||
# -*- rpm-spec -*-
|
||||
|
||||
%global with_guestfs 0
|
||||
%global default_hvs "qemu,xen,lxc"
|
||||
%global default_hvs "qemu,xen,lxc"
|
||||
%global have_spice %{defined fedora}
|
||||
|
||||
|
||||
|
||||
# End local config
|
||||
|
||||
Name: virt-manager
|
||||
Version: 4.0.0
|
||||
Release: 1%{?dist}
|
||||
Version: 5.1.0
|
||||
Release: 5%{?dist}
|
||||
%global verrel %{version}-%{release}
|
||||
|
||||
Summary: Desktop tool for managing virtual machines via libvirt
|
||||
License: GPLv2+
|
||||
License: GPL-2.0-or-later
|
||||
BuildArch: noarch
|
||||
URL: https://virt-manager.org/
|
||||
Source0: https://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
|
||||
Source0: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
|
||||
|
||||
Patch1: 0001-virtinst-cloudinit-include-empty-meta-data-file.patch
|
||||
|
||||
Requires: virt-manager-common = %{verrel}
|
||||
Requires: python3-gobject >= 3.31.3
|
||||
Requires: gtk3 >= 3.22.0
|
||||
Requires: libvirt-glib >= 0.0.9
|
||||
Requires: gtk-vnc2
|
||||
%if %{have_spice}
|
||||
Requires: spice-gtk3
|
||||
|
||||
# We can work with gtksourceview 3 or gtksourceview4, pick the latest one
|
||||
Requires: gtksourceview4
|
||||
%endif
|
||||
|
||||
# virt-manager is one of those apps that people will often install onto
|
||||
# a headless machine for use over SSH. This means the virt-manager dep
|
||||
|
|
@ -34,7 +35,12 @@ Requires: gtksourceview4
|
|||
# Unfortunately nothing in our chain has an explicit dep on some kind
|
||||
# of usable gsettings backend, so we explicitly depend on dconf so that
|
||||
# user settings actually persist across app runs.
|
||||
#
|
||||
# That said, we skip this dep for flatpak, where dconf isn't used in
|
||||
# the runtime. gsettings defaults to ini file in that case
|
||||
%if ! 0%{?flatpak}
|
||||
Requires: dconf
|
||||
%endif
|
||||
|
||||
# The vte291 package is actually the latest vte with API version 2.91, while
|
||||
# the vte3 package is effectively a compat package with API version 2.90.
|
||||
|
|
@ -42,6 +48,10 @@ Requires: dconf
|
|||
# no ambiguity.
|
||||
Requires: vte291
|
||||
|
||||
# We can use GtkTextView, gtksourceview 3 or gtksourceview4, recommend
|
||||
# the latest one but don't make it a hard requirement
|
||||
Recommends: gtksourceview4
|
||||
|
||||
# Weak dependencies for the common virt-manager usecase
|
||||
Recommends: (libvirt-daemon-kvm or libvirt-daemon-qemu)
|
||||
Recommends: libvirt-daemon-config-network
|
||||
|
|
@ -52,7 +62,7 @@ Suggests: python3-libguestfs
|
|||
BuildRequires: gettext
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-docutils
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: meson
|
||||
|
||||
|
||||
%description
|
||||
|
|
@ -103,18 +113,21 @@ machine).
|
|||
|
||||
|
||||
%build
|
||||
%if %{default_hvs}
|
||||
%global _default_hvs --default-hvs %{default_hvs}
|
||||
%if ! %{have_spice}
|
||||
%global _default_graphics -Ddefault-graphics=vnc
|
||||
%endif
|
||||
|
||||
./setup.py configure \
|
||||
%{?_default_hvs}
|
||||
|
||||
%meson \
|
||||
-Ddefault-hvs=%{default_hvs} \
|
||||
%{?_default_graphics} \
|
||||
-Dupdate-icon-cache=false \
|
||||
-Dcompile-schemas=false \
|
||||
-Dtests=disabled
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
./setup.py \
|
||||
--no-update-icon-cache --no-compile-schemas \
|
||||
install -O1 --root=%{buildroot}
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%if 0%{?py_byte_compile:1}
|
||||
|
|
@ -129,7 +142,7 @@ machine).
|
|||
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%{_datadir}/%{name}/ui/*.ui
|
||||
%{_datadir}/%{name}/ui
|
||||
%{_datadir}/%{name}/virtManager
|
||||
|
||||
%{_datadir}/%{name}/icons
|
||||
|
|
@ -163,6 +176,68 @@ machine).
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Jan 07 2026 Pavel Hrdina <phrdina@redhat.com> - 5.1.0.3
|
||||
- Fix cloud init
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 5.1.0-2
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Tue Aug 26 2025 Pavel Hrdina <phrdina@redhat.com> - 5.1.0-1
|
||||
- Update to version 5.1.0
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 5.0.0-4
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Dec 02 2024 Pavel Hrdina <phrdina@redhat.com> - 5.0.0-1
|
||||
- Update to version 5.0.0
|
||||
|
||||
* Tue Sep 10 2024 Cole Robinson <crobinso@redhat.com> - 4.1.0-9
|
||||
- Add sev-snp changes for feature ConfidentialVirtHostAMDSEVSNP
|
||||
|
||||
* Mon Aug 05 2024 Cole Robinson <crobinso@redhat.com> - 4.1.0-8
|
||||
- Fix flatpak build
|
||||
- Add /usr/share/virt-manager/ui/ to rpm db (bz 2283244)
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jun 26 2024 Daniel. P. Berrange <berrange@redhat.com> - 4.1.0-6
|
||||
- Fix compat with latest python 3.13 (rhbz #2294201)
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Sep 29 2023 Sandro Bonazzola <sbonazzo@redhat.com> - 4.1.0-4
|
||||
- Drop spice-gtk3 on Fedora ELN as in CentOS Stream 9
|
||||
- Resolves: fedora#2237969
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Aug 04 2022 Cole Robinson <crobinso@redhat.com> - 4.1.0-1
|
||||
- Update to version 4.1.0
|
||||
|
||||
* Wed Aug 3 2022 Daniel. P. Berrange <berrange@redhat.com> - 4.0.0-3
|
||||
- Fix compat with setuptools >= 61 (rhbz#2113754)
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Mar 02 2022 Cole Robinson <crobinso@redhat.com> - 4.0.0-1
|
||||
- Update to version 4.0.0
|
||||
|
||||
|
|
@ -1100,7 +1175,7 @@ machine).
|
|||
- Disable wizard sensitivity while creating VM
|
||||
|
||||
* Thu Oct 19 2006 Daniel P. Berrange <berrange@redhat.com> - 0.2.5-1.fc7
|
||||
- Switch to use python-virtinst instead of python-xeninst due to
|
||||
- Switch to use python-virtinst instead of python-xeninst due to
|
||||
renaming of original package
|
||||
- Disable keyboard accelerators when grabbing mouse to avoid things like
|
||||
Ctrl-W closing the local window, instead of remote window bz 210364
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue