SOURCES: mono-script_fixes.patch (NEW) - diabled wrong chnges in ...
freetz
freetz at pld-linux.org
Sun Jul 23 23:19:51 CEST 2006
Author: freetz Date: Sun Jul 23 21:19:51 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- diabled wrong chnges in 'provides' script, include upstream changes to
'requires' script, include sed changes form spec file
---- Files affected:
SOURCES:
mono-script_fixes.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/mono-script_fixes.patch
diff -u /dev/null SOURCES/mono-script_fixes.patch:1.1
--- /dev/null Sun Jul 23 23:19:51 2006
+++ SOURCES/mono-script_fixes.patch Sun Jul 23 23:19:46 2006
@@ -0,0 +1,47 @@
+diff -aurN mono-1.1.16.1.orig/scripts/mono-find-provides.in mono-1.1.16.1/scripts/mono-find-provides.in
+--- mono-1.1.16.1.orig/scripts/mono-find-provides.in 2006-05-11 00:31:47.000000000 +0200
++++ mono-1.1.16.1/scripts/mono-find-provides.in 2006-07-23 23:14:18.642993609 +0200
+@@ -14,9 +14,9 @@
+
+ # Only include files with /gac/ in path
+ # (Allows packages to contain private assemblies that don't conflict with other packages)
+-monolist=($(printf "%s\n" "${monolist[@]}" | egrep "/gac/"))
++#monolist=($(printf "%s\n" "${monolist[@]}" | egrep "/gac/"))
+
+-a=`which "$0"`
++a="/usr/bin/whatever"
+ d=`dirname "$a"`
+
+ # Set the prefix, unless it is overriden (used when building mono rpms)
+diff -aurN mono-1.1.16.1.orig/scripts/mono-find-requires.in mono-1.1.16.1/scripts/mono-find-requires.in
+--- mono-1.1.16.1.orig/scripts/mono-find-requires.in 2006-05-11 00:31:47.000000000 +0200
++++ mono-1.1.16.1/scripts/mono-find-requires.in 2006-07-23 22:58:06.000000000 +0200
+@@ -12,7 +12,7 @@
+ filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/'))
+ monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
+
+-a=`which "$0"`
++a="/usr/bin/whatever"
+ d=`dirname "$a"`
+
+ # Set the prefix, unless it is overriden (used when building mono rpms)
+@@ -38,12 +38,16 @@
+ 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
================================================================
More information about the pld-cvs-commit
mailing list