Accepting request 204121 from Base:System

bnc#779965, use export before %configure in spec (forwarded request 204099 from deanraccoon)

OBS-URL: https://build.opensuse.org/request/show/204121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=60
This commit is contained in:
Tomáš Chvátal 2013-10-21 17:53:30 +00:00 committed by Git OBS Bridge
commit 7d1ca61bd2
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 21 08:09:41 UTC 2013 - dmzhang@suse.com
- bnc#779965, use export before %configure in spec
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 11 10:18:47 CEST 2013 - fcrozat@suse.com Wed Sep 11 10:18:47 CEST 2013 - fcrozat@suse.com

View File

@ -98,9 +98,11 @@ Volume Manager.
%patch67 -p1 %patch67 -p1
%build %build
# set path so that thin_check can be found #set path so that thin_check can be found
CFLAGS="$RPM_OPT_FLAGS" MODPROBE_CMD=/sbin/modprobe \ #export before configure due to bnc#779965
PATH=$PATH:/sbin:/usr/sbin \ export MODPROBE_CMD=/sbin/modprobe
export CFLAGS="$RPM_OPT_FLAGS"
export PATH=$PATH:/sbin:/usr/sbin
%configure --prefix=/ \ %configure --prefix=/ \
--bindir=/bin --libdir=/%_lib --with-usrlibdir=%_libdir \ --bindir=/bin --libdir=/%_lib --with-usrlibdir=%_libdir \
--sbindir=/sbin --enable-dmeventd \ --sbindir=/sbin --enable-dmeventd \