New test.
[mono.git] / scripts / mono-find-requires.in
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