* scripts/mono-find-requires.in: Change rpm requires to >= 1.0.3300.0 instead of
authorWade Berrier <wade@mono-cvs.ximian.com>
Mon, 17 Jul 2006 19:34:28 +0000 (19:34 -0000)
committerWade Berrier <wade@mono-cvs.ximian.com>
Mon, 17 Jul 2006 19:34:28 +0000 (19:34 -0000)
=, since we don't explicitly provide 1.0.3300.0 versions.

svn path=/trunk/mono/; revision=62688

ChangeLog
scripts/mono-find-requires.in

index 9b1f87f5b44e217a27118df6c1648c3911066ade..addf73e4e8f5ff5c54cb44809d78c127ddd4a1bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-17  Wade Berrier <wberrier@novell.com>
+
+       * 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.
+
 2006-07-09  Zoltan Varga  <vargaz@gmail.com>
 
        * docs/exception-handling.txt: Update libunwind status since it is not really
index a721f23997f1a8e3258df5ea067da8ad8e5fc64d..c2b8832f95674a575135d95cc768ae4528ebcacf 100644 (file)
@@ -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