diff options
author | Wade Berrier <wade@mono-cvs.ximian.com> | 2006-07-17 23:34:28 +0400 |
---|---|---|
committer | Wade Berrier <wade@mono-cvs.ximian.com> | 2006-07-17 23:34:28 +0400 |
commit | 7adc936b055e336dadd7fed76292ee55eade684a (patch) | |
tree | 626e521de6901b98fcc66ceddbeca108ef68af83 /scripts/mono-find-requires.in | |
parent | 5a0de522a68c724cc65e7df189fb2369acc95830 (diff) |
* scripts/mono-find-requires.in: Change rpm requires to >= 1.0.3300.0 instead of
=, since we don't explicitly provide 1.0.3300.0 versions.
svn path=/trunk/mono/; revision=62688
Diffstat (limited to 'scripts/mono-find-requires.in')
-rw-r--r-- | scripts/mono-find-requires.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/mono-find-requires.in b/scripts/mono-find-requires.in index a721f23997f..c2b8832f956 100644 --- a/scripts/mono-find-requires.in +++ b/scripts/mono-find-requires.in @@ -38,12 +38,16 @@ REQUIRES=$( sub(/Version=/, "", $2); VERSION=$2 } - + (START==1) && /^\tName=/ { sub(/Name=/, "", $1); LIBNAME=$1 - - print "mono(" LIBNAME ") = " VERSION + # Allow rpm deps to be resolved for 1.0 profile version + if (VERSION=="1.0.3300.0") + OP=">=" + else + OP="=" + print "mono(" LIBNAME ") " OP " " VERSION START=0 } ') 2> /dev/null |