diff --git a/0001-builder-Disable-opensuse-repository.patch b/0001-builder-Disable-opensuse-repository.patch new file mode 100644 index 0000000..fa49b7f --- /dev/null +++ b/0001-builder-Disable-opensuse-repository.patch @@ -0,0 +1,29 @@ +From 8e0e91c923bd7076fd906a71678ddd3f328ae2c0 Mon Sep 17 00:00:00 2001 +From: "Richard W.M. Jones" +Date: Mon, 21 Nov 2022 13:03:22 +0000 +Subject: [PATCH] builder: Disable opensuse repository + +The upstream site went down last week, breaking virt-builder. Disable +the repository for now until we can work out what to do. + +Related: https://github.com/libguestfs/libguestfs/issues/99 +--- + builder/opensuse.conf.in | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/builder/opensuse.conf.in b/builder/opensuse.conf.in +index 19f9796992..d802e6178c 100644 +--- a/builder/opensuse.conf.in ++++ b/builder/opensuse.conf.in +@@ -1,3 +1,5 @@ +-[opensuse.org] +-uri=http://download.opensuse.org/repositories/Virtualization:/virt-builder-images/images/index +-gpgkey=file://@SYSCONFDIR@/virt-builder/repos.d/opensuse.gpg ++# Disabled for now, see: ++# https://github.com/libguestfs/libguestfs/issues/99 ++#[opensuse.org] ++#uri=http://download.opensuse.org/repositories/Virtualization:/virt-builder-images/images/index ++#gpgkey=file://@SYSCONFDIR@/virt-builder/repos.d/opensuse.gpg +-- +2.37.0.rc2 + diff --git a/guestfs-tools.spec b/guestfs-tools.spec index 92aff9c..648c9dd 100644 --- a/guestfs-tools.spec +++ b/guestfs-tools.spec @@ -26,7 +26,7 @@ Summary: Tools to access and modify virtual machine disk images Name: guestfs-tools Version: 1.49.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ # Build only for architectures that have a kernel @@ -43,6 +43,9 @@ Source0: http://download.libguestfs.org/guestfs-tools/%{source_directory}/ Source1: http://download.libguestfs.org/guestfs-tools/%{source_directory}/%{name}-%{version}.tar.gz.sig %endif +# https://github.com/libguestfs/libguestfs/issues/99 +Patch: 0001-builder-Disable-opensuse-repository.patch + # Keyring used to verify tarball signature. %if 0%{verify_tarball_signature} Source2: libguestfs.keyring @@ -425,6 +428,9 @@ end %changelog +* Mon Nov 21 2022 Richard W.M. Jones - 1.49.5-2 +- Disable opensuse repository + * Wed Oct 12 2022 Richard W.M. Jones - 1.49.5-1 - New upstream development version 1.49.5