# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.139 2006/06/06 16:40:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.140 2006/06/06 22:19:13 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
# Revision constraint on lower bound
if [ -n "$MINREV" ]; then
NEWDEP="$NEWDEP
- $(deprange-iterate-numbers "=$PACKAGE-$BASEVER.${MINMINOR}_$MINSUFFIX-r" $MINREV 99)"
+ $(deprange-iterate-numbers "=$PACKAGE-$BASEVER.${MINMINOR}_$MINSUFFIX-r" $MINREV 50)"
fi
# If the minor version numbers are different too
NEWDEP="$(deprange-iterate-suffixes "~$PACKAGE-$BASEVER.$MAXMINOR" alpha1 $MAXSUFFIX)"
fi
+ STARTMINOR="${MINMINOR}"
+
# regular versions in between
if [ -n "$MINREV" -a -z "$MINSUFFIX" ]; then
- let MAXMINOR++
+ let STARTMINOR++
fi
NEWDEP="$NEWDEP
- $(deprange-iterate-numbers "~${PACKAGE}-${BASEVER}." $MINMINOR $MAXMINOR)"
+ $(deprange-iterate-numbers "~${PACKAGE}-${BASEVER}." $STARTMINOR $MAXMINOR)"
# Min version's allowed suffixes
if [ -n "$MINSUFFIX" ]; then
BASE="=$PACKAGE-$BASEVER.${MINMINOR%-r*}-r"
fi
NEWDEP="$NEWDEP
- $(deprange-iterate-numbers $BASE ${MINREV#r} 99)"
+ $(deprange-iterate-numbers $BASE ${MINREV#r} 50)"
fi
fi