Commit a7ec65c3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: fix new readlink using for ASP Linux 11.2

parent 34a2ff3b
...@@ -47,18 +47,25 @@ fi ...@@ -47,18 +47,25 @@ fi
if [ "$VENDOR" = "mdv" ] || [ "$VENDOR" = "pclinux" ] ; then if [ "$VENDOR" = "mdv" ] || [ "$VENDOR" = "pclinux" ] ; then
# due new libtool, affected on Mandriva 2009.0 # due new libtool, affected on Mandriva 2009.0
test -z "$VERBOSE" || echo "Disable libtoolize"
RECONFT="%define _disable_libtoolize 1" RECONFT="%define _disable_libtoolize 1"
fi fi
# Do not add BuildReq if already exist # Do not add BuildReq if already exist
cat $SPECNAME | grep rpm-build-compat &>/dev/null && BUILDREQ="$FIXPATCHFUZZ" cat $SPECNAME | grep rpm-build-compat &>/dev/null && BUILDREQ="$FIXPATCHFUZZ"
# TODO: fix readlink -m, introduced by new libtool and missed in RHEL4 (replace with readlink -e) FIXMKTEMP=""
# fix readlink -m, introduced by new libtool and missed in RHEL4 (replace with readlink -e)
if [ "`distr_vendor -d`/$DISTRVERSION" = "ASPLinux/11.2" ] ; then
test -z "$VERBOSE" || echo "Add subst readlink -m"
FIXMKTEMP="%__subst 's|readlink -m|readlink -f|g' libtool ltmain.sh"
fi
# fix mktemp using for MCBC # fix mktemp using for MCBC
if [ "$VENDOR" = "mcbc" ] ; then if [ "$VENDOR" = "mcbc" ] ; then
FIXMKTEMP="%__subst "s|mktemp -dt|mktemp -d|g" configure" test -z "$VERBOSE" || echo "Add subst mktemp -dt"
else FIXMKTEMP="%__subst 's|mktemp -dt|mktemp -d|g' configure"
FIXMKTEMP=""
fi fi
# Too old problem # Too old problem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment