From: Ludwig Nussel Date: Thu, 15 Jan 2009 13:16:35 +0000 (+0000) Subject: fix rpm4 detection on Fedora 10 X-Git-Tag: obs_2.0~290 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb54341e9d8e8239a29370a2d727f43e7e842481;p=tools%2Fobs-build.git fix rpm4 detection on Fedora 10 --- diff --git a/init_buildsystem b/init_buildsystem index b7e10df..960019d 100755 --- a/init_buildsystem +++ b/init_buildsystem @@ -574,8 +574,10 @@ mkdir -p $BUILD_ROOT/installed-pkg RPMCHECKOPTS= RPMCHECKOPTS_HOST= -test -x $BUILD_ROOT/usr/lib/rpm/rpmi && RPMCHECKOPTS="--nodigest --nosignature" -test -x /usr/lib/rpm/rpmi && RPMCHECKOPTS_HOST="--nodigest --nosignature" +# on Fedoar 10 rpmbuild is in a separate package so we need something else to +# detect rpm4 +test -x $BUILD_ROOT/usr/bin/rpmsign && RPMCHECKOPTS="--nodigest --nosignature" +test -x /usr/bin/rpmsign && RPMCHECKOPTS_HOST="--nodigest --nosignature" for PKG in $PACKAGES_TO_INSTALL_FIRST RUN_LDCONFIG $PACKAGES_TO_INSTALL ; do case $PKG in