diff --git a/mono-core.spec b/mono-core.spec index 93d4c008b7..5086eefd7c 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -36,6 +36,7 @@ License: LGPL-2.1 and MIT and MS-PL Group: Development/Languages/Mono Url: http://www.mono-project.com Source0: http://download.mono-project.com/sources/mono/mono-%{version}.tar.bz2 +Patch0: provides-facades.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -131,6 +132,7 @@ technologies that have been submitted to the ECMA for standardization. %prep %setup -q -n mono-%{__majorver} +%patch0 -p1 %build ./autogen.sh diff --git a/provides-facades.patch b/provides-facades.patch new file mode 100644 index 0000000000..ba1a8d0c98 --- /dev/null +++ b/provides-facades.patch @@ -0,0 +1,19 @@ +diff --git a/external/linker b/external/linker +--- a/external/linker ++++ b/external/linker +@@ -1 +1 @@ +-Subproject commit e4d9784ac37b9ebf4757175c92bc7a3ec9fd867a ++Subproject commit e4d9784ac37b9ebf4757175c92bc7a3ec9fd867a-dirty +diff --git a/scripts/mono-find-provides.in b/scripts/mono-find-provides.in +index 5b2e206..5d6f34c 100644 +--- a/scripts/mono-find-provides.in ++++ b/scripts/mono-find-provides.in +@@ -16,7 +16,7 @@ monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$")) + + # 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|Facades|4\\.5)/")) + # Disabled... see ChangeLog + + # Set the prefix, unless it is overriden (used when building mono rpms)