diff --git a/mono-find-requires.diff b/mono-find-requires.diff new file mode 100644 index 0000000..b75fe06 --- /dev/null +++ b/mono-find-requires.diff @@ -0,0 +1,17 @@ +--- scripts/mono-find-requires ++++ scripts/mono-find-requires +@@ -42,8 +42,12 @@ + (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 diff --git a/rpm.changes b/rpm.changes index 8708bf3..9ca12a2 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Aug 15 01:04:17 CEST 2011 - ro@suse.de + +- workaround in mono-find-requires: use >= as operator when finding + .NET 1.0 dependencies, the .NET 1.5 libraries are compatible + (note mono-find-requires and mono-find-provides as used by the + internal dependency generator are really outdated) + +------------------------------------------------------------------- +Wed Aug 10 02:40:22 UTC 2011 - crrodriguez@opensuse.org + +- Do not use -fno-strict-aliasing globally, the code + already does in places where really needed. + ------------------------------------------------------------------- Tue Jul 26 19:09:31 CEST 2011 - mls@suse.de diff --git a/rpm.spec b/rpm.spec index 2f521e8..ecb37fa 100644 --- a/rpm.spec +++ b/rpm.spec @@ -113,6 +113,7 @@ Patch75: assumeexec.diff Patch76: buildpipe.diff Patch77: trailslash.diff Patch78: docdefattr.diff +Patch79: mono-find-requires.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build # # avoid bootstrapping problem @@ -175,7 +176,7 @@ rm -f rpmdb/db.h %patch -P 40 -P 41 -P 42 -P 43 -P 44 -P 45 -P 46 -P 47 -P 48 -P 49 %patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59 %patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69 -%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 +%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79 #chmod 755 scripts/find-supplements{,.ksyms} #chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms #chmod 755 scripts/firmware.prov @@ -190,7 +191,7 @@ rm -f m4/libtool.m4 rm -f m4/lt*.m4 %build -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -ffunction-sections" +export CFLAGS="$RPM_OPT_FLAGS -ffunction-sections" export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections" %ifarch alpha export CFLAGS="-g -O0 -fno-strict-aliasing"