From: Marcin Krol Date: Thu, 20 Jun 2013 10:00:16 +0000 (+0000) Subject: - drop tool checks, build environment is too restricted to allow that X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=97c5ec2bd87dbc2a7a049b445e614249d16241a4;p=packages%2Flvm2.git - drop tool checks, build environment is too restricted to allow that --- 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