Consider Facades in mono-find-provides

This commit is contained in:
Jo Shields 2017-05-08 19:39:48 +01:00
parent 70e23c7e3c
commit 5adbc00da5
2 changed files with 21 additions and 0 deletions

View File

@ -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

19
provides-facades.patch Normal file
View File

@ -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)