From c79838b1ea09b3002e1022e99dd953036101fd07003634b5566489ae493e1111 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 11 Nov 2020 13:16:08 +0000 Subject: [PATCH] - add supermin.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=51 --- supermin.changes | 1 + supermin.patch | 11 +++++++++++ supermin.spec | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 supermin.patch diff --git a/supermin.changes b/supermin.changes index 5d26075..137ea16 100644 --- a/supermin.changes +++ b/supermin.changes @@ -9,6 +9,7 @@ Fri Oct 23 18:45:45 UTC 2020 - Dirk Mueller * rpm: provide a dummy supermin_rpm_get_arch implementation * ext2: Build symbolic links correctly (RHBZ#1770304). * Update gnulib to latest. +- add supermin.patch - switch to release tarball, use keyring for gpg validation - run tests diff --git a/supermin.patch b/supermin.patch new file mode 100644 index 0000000..7075d21 --- /dev/null +++ b/supermin.patch @@ -0,0 +1,11 @@ +--- a/src/format_ext2_kernel.ml ++++ b/src/format_ext2_kernel.ml +@@ -221,7 +221,7 @@ and get_kernel_version debug kernel_file + if debug >= 1 then printf " = %s (from filename)\n%!" version; + Some version + ) else ( +- if debug >= 1 then printf " = error, no modpath\n%!"; ++ if debug >= 1 then printf " = error, no modpath for version %s \n%!" version; + None + ) + ) diff --git a/supermin.spec b/supermin.spec index c221274..86c987b 100644 --- a/supermin.spec +++ b/supermin.spec @@ -28,6 +28,7 @@ Source1: https://download.libguestfs.org/supermin/5.2-stable/supermin-5.2 Source9: supermin.keyring # Pending upstream review Patch0: suse_release.patch +Patch1: supermin.patch BuildRequires: augeas BuildRequires: autoconf BuildRequires: automake @@ -67,8 +68,7 @@ which get fully instantiated on-the-fly in a fraction of a second when you need to boot one of them. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build export ZYPPER=zypper