From 97c5ec2bd87dbc2a7a049b445e614249d16241a4 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 20 Jun 2013 10:00:16 +0000 Subject: [PATCH] - drop tool checks, build environment is too restricted to allow that --- lvm2.spec | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lvm2.spec b/lvm2.spec index f3d5cdd..30fccef 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -310,16 +310,6 @@ cp -f /usr/share/automake/config.sub autoconf mv -f tools/lvm.static initrd-lvm mv -f tools/dmsetup.static initrd-dmsetup -# check if tools works -for tool in initrd-lvm initrd-dmsetup; do - LVM_SYSTEM_DIR=$(pwd) ./$tool help && rc=$? || rc=$? - if [ $rc -gt 127 ]; then - echo >&2 "Unexpected failure (exit status: $rc) from $tool. Does this tool work?!" - exit 1 - fi -done - - %{?with_dietlibc:mv -f libdm/ioctl/libdevmapper.a diet-libdevmapper.a} %{__make} clean -- 2.46.0