From 5a2c85e441bd682cd59a77657ac3a627b33a9f840117af12d58bedca79055aec Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 16 Aug 2012 08:35:01 +0000 Subject: [PATCH] disable ruby, uses -Wl,-R build with -Wno-unused touch file list OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=5 --- libguestfs.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libguestfs.spec b/libguestfs.spec index a48e01b..46ba42e 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -1,6 +1,6 @@ %define with_python 1 %define with_perl 1 -%define with_ruby 1 +%define with_ruby 0 # Copyright (c) 2011 Michal Hrusecky # # All modifications and additions to the file contributed by third parties @@ -208,6 +208,7 @@ virtual machines. %patch -p1 %build +export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-unused" autoreconf -fi %configure \ --help || : @@ -228,6 +229,7 @@ make %{?jobs:-j%jobs} find $RPM_BUILD_ROOT \( -name "*.pod" -o -name ".packlist" \) -print0 | xargs -0 --no-run-if-empty rm -fv rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{l,}a xz -cd %{S:1} | tar -C $RPM_BUILD_ROOT/%{_libdir} -xvf - +touch %{name}.lang %find_lang %{name} #