Forráskód Böngészése

* 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

Wade Berrier 19 éve
szülő
commit
7adc936b05
2 módosított fájl, 12 hozzáadás és 3 törlés
  1. 5 0
      ChangeLog
  2. 7 3
      scripts/mono-find-requires.in

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2006-07-17  Wade Berrier <[email protected]>
+
+	* 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  <[email protected]>
 
 	* docs/exception-handling.txt: Update libunwind status since it is not really

+ 7 - 3
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