diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-06 12:24:26 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-06 12:24:26 +0000 |
commit | bf10aace775db01dbfa75fb7ea118f62c11a88cd (patch) | |
tree | a46e0fa701f530e82b460684bf4d023301ee40b1 /eclass/kde-functions.eclass | |
parent | Fix deprange-list to generate dependencies starting from a revision. Thanks t... (diff) | |
download | gentoo-2-bf10aace775db01dbfa75fb7ea118f62c11a88cd.tar.gz gentoo-2-bf10aace775db01dbfa75fb7ea118f62c11a88cd.tar.bz2 gentoo-2-bf10aace775db01dbfa75fb7ea118f62c11a88cd.zip |
Be a bit more conservative, if we ever get over 50 revisions it means we really screwed up and should simply get a new version as a base.
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index 2e2972bb0936..35a4f1a99310 100644 --- a/eclass/kde-functions.eclass +++ b/eclass/kde-functions.eclass @@ -1,6 +1,6 @@ # 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.137 2006/06/06 12:14:06 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.138 2006/06/06 12:24:26 flameeyes Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -488,7 +488,7 @@ deprange-list() { # 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 @@ -521,7 +521,7 @@ deprange-list() { 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 |