diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-06 12:14:06 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-06 12:14:06 +0000 |
commit | 6e90fc1f597abee033caf12083352dc1434ce3b2 (patch) | |
tree | 11d694d45344fed25799bcb5606066bb740912ac /eclass | |
parent | %uL should be %Lu in patch (diff) | |
download | historical-6e90fc1f597abee033caf12083352dc1434ce3b2.tar.gz historical-6e90fc1f597abee033caf12083352dc1434ce3b2.tar.bz2 historical-6e90fc1f597abee033caf12083352dc1434ce3b2.zip |
Fix deprange-list to generate dependencies starting from a revision. Thanks to Kugelfang for making me open my eyes on the generated deps.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 8 |
1 files 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 <danarmak@gentoo.org> # @@ -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 |