Commit 658e6666 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: fix fuzz fix

parent d920f217
...@@ -24,6 +24,8 @@ SPECNAME=$1 ...@@ -24,6 +24,8 @@ SPECNAME=$1
BASERELEASE=$(get_numrelease $SPECNAME) BASERELEASE=$(get_numrelease $SPECNAME)
FIXPATCHFUZZ="%define _default_patch_fuzz 3"
# Set buildreq # Set buildreq
if [ "$VENDOR" = "alt" ] ; then if [ "$VENDOR" = "alt" ] ; then
BUILDREQ="BuildRequires: rpm-build-compat >= 0.95" BUILDREQ="BuildRequires: rpm-build-compat >= 0.95"
...@@ -35,7 +37,7 @@ if [ "$VENDOR" = "alt" ] ; then ...@@ -35,7 +37,7 @@ if [ "$VENDOR" = "alt" ] ; then
CLEANTEXT="" CLEANTEXT=""
else else
# Need our compat package and disable strong patch checking # Need our compat package and disable strong patch checking
BUILDREQ="BuildRequires: rpm-build-altlinux-compat >= 0.95\n%define _default_patch_fuzz 3" BUILDREQ="BuildRequires: rpm-build-altlinux-compat >= 0.95\n$FIXPATCHFUZZ"
[ -z "$BUILDCOMMAND" ] && BUILDCOMMAND=rpmbb [ -z "$BUILDCOMMAND" ] && BUILDCOMMAND=rpmbb
set_release $SPECNAME eter$BASERELEASE$VENDOR set_release $SPECNAME eter$BASERELEASE$VENDOR
ADDDEF="%defattr(-, root, root)" ADDDEF="%defattr(-, root, root)"
...@@ -43,7 +45,7 @@ else ...@@ -43,7 +45,7 @@ else
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="" cat $SPECNAME | grep rpm-build-compat &>/dev/null && BUILDREQ="$FIXPATCHFUZZ"
# fix mktemp using for MCBC # fix mktemp using for MCBC
if [ "$VENDOR" = "mcbc" ] ; then if [ "$VENDOR" = "mcbc" ] ; then
......
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