From 580c84bd49e237aa64d1c89079379a9ac50e1d67 Mon Sep 17 00:00:00 2001 From: Timotheus Pokorra Date: Sat, 27 Apr 2019 21:35:09 +0000 Subject: [PATCH] add symbolic link from /usr/lib/mono/4.5-api to 4.7.1-api to fix build issues for other packages depending on Mono --- mono.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mono.spec b/mono.spec index bc339ef..d918e78 100644 --- a/mono.spec +++ b/mono.spec @@ -23,7 +23,7 @@ %global xamarinrelease 3 Name: mono Version: 5.18.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cross-platform, Open Source, .NET development framework License: MIT @@ -445,6 +445,9 @@ rm -rf %{buildroot}/usr/lib/mono/msbuild # we have btls debug files rm -rf %{buildroot}/usr/lib/debug/usr/lib64/libmono-btls-shared.so-*.debug +# create a symbolic link so that Fedora packages targetting Framework 4.5 will still build +cd %{buildroot}/usr/lib/mono && ln -s 4.7.1-api 4.5-api && cd - + %find_lang mcs %post @@ -879,6 +882,9 @@ cert-sync /etc/pki/tls/certs/ca-bundle.crt %files complete %changelog +* Sat Apr 27 2019 Timotheus Pokorra - 5.18.1-4 +- add symbolic link from /usr/lib/mono/4.5-api to 4.7.1-api to fix build issues for other packages depending on Mono + * Thu Apr 18 2019 Timotheus Pokorra - 5.18.1-3 - upgrade to Mono 5.18.1.3 - fix typo for mcs in Microsoft.Build.Tasks patch