From 966f07f59b7d174c16bb63f14b77e91bbb3f20b9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 13 May 2024 16:07:17 +0100 Subject: [PATCH] ./configure --disable-perl and other unused languages in RHEL 10 Fixes: commit 4098de8c52789f30ac9557e934b24fb1c57020af (cherry picked from commit 4bc66245565b4619740794dc104d0979748c7974) --- libguestfs.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libguestfs.spec b/libguestfs.spec index 5aafd70..556a4ad 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -753,6 +753,13 @@ fi %endif --without-java \ --disable-erlang \ +%if 0%{?rhel} + --disable-gobject \ + --disable-lua \ + --disable-perl \ + --disable-php \ + --disable-ruby \ +%endif $extra # 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the