From: Diego Elio Pettenò Date: Tue, 6 Jun 2006 12:14:06 +0000 (+0000) Subject: Fix deprange-list to generate dependencies starting from a revision. Thanks to Kugelf... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e90fc1f597abee033caf12083352dc1434ce3b2;p=gentoo.git Fix deprange-list to generate dependencies starting from a revision. Thanks to Kugelfang for making me open my eyes on the generated deps. --- diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index 2af2ab422d82..2e2972bb0936 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.136 2006/05/19 22:39:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.137 2006/06/06 12:14:06 flameeyes Exp $ # # Author Dan Armak # @@ -499,12 +499,14 @@ deprange-list() { 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