SHA256
1
0
forked from pool/libguestfs

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
This commit is contained in:
Olaf Hering 2012-08-16 08:35:01 +00:00 committed by Git OBS Bridge
parent 7f0f21c357
commit 5a2c85e441

View File

@ -1,6 +1,6 @@
%define with_python 1 %define with_python 1
%define with_perl 1 %define with_perl 1
%define with_ruby 1 %define with_ruby 0
# Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com> # Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -208,6 +208,7 @@ virtual machines.
%patch -p1 %patch -p1
%build %build
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-unused"
autoreconf -fi autoreconf -fi
%configure \ %configure \
--help || : --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 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 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{l,}a
xz -cd %{S:1} | tar -C $RPM_BUILD_ROOT/%{_libdir} -xvf - xz -cd %{S:1} | tar -C $RPM_BUILD_ROOT/%{_libdir} -xvf -
touch %{name}.lang
%find_lang %{name} %find_lang %{name}
# #