From 6e90fc1f597abee033caf12083352dc1434ce3b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Tue, 6 Jun 2006 12:14:06 +0000 Subject: [PATCH] Fix deprange-list to generate dependencies starting from a revision. Thanks to Kugelfang for making me open my eyes on the generated deps. --- eclass/kde-functions.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.26.2