diff --git a/libguestfs.spec b/libguestfs.spec index 7f095d6..e7ffe81 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -907,8 +907,7 @@ popd # On all known architectures, depending on 'kernel' should # mean "we need a kernel". pushd $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d -sed 's/^kernel-.*/kernel/' < packages > packages-t -mv packages-t packages +sed -i 's/^kernel-.*/kernel/' packages popd # Guestfish colour prompts.