From 89e8119c15beec4dac5b6e86b24b4e9b7a639865 Mon Sep 17 00:00:00 2001 From: slava86 Date: Thu, 7 Apr 2022 00:22:21 +0300 Subject: [PATCH] specify RuntimeIdentifier --- RuntimeIdentifierGraph-Rosa.patch | 13 +++++++++++-- dotnet3.1.spec | 3 +++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/RuntimeIdentifierGraph-Rosa.patch b/RuntimeIdentifierGraph-Rosa.patch index ec943be..cd0b01d 100644 --- a/RuntimeIdentifierGraph-Rosa.patch +++ b/RuntimeIdentifierGraph-Rosa.patch @@ -1,5 +1,7 @@ ---- a/sdk/3.1.112/RuntimeIdentifierGraph.json 2021-03-21 15:37:29.355463709 +0300 -+++ b/sdk/3.1.112/RuntimeIdentifierGraph.json 2021-03-21 15:40:12.316442542 +0300 +diff --git a/sdk/3.1.118/RuntimeIdentifierGraph.json b/sdk/3.1.118/RuntimeIdentifierGraph.json-diff +index 627a6a3..f834806 100644 +--- a/sdk/3.1.118/RuntimeIdentifierGraph.json ++++ b/sdk/3.1.118/RuntimeIdentifierGraph.json-diff @@ -1,5 +1,35 @@ { "runtimes": { @@ -36,3 +38,10 @@ "alpine": { "#import": [ "linux-musl" +@@ -2368,4 +2398,4 @@ + ] + } + } +-} +\ No newline at end of file ++} diff --git a/dotnet3.1.spec b/dotnet3.1.spec index b59fdb2..da91e0c 100644 --- a/dotnet3.1.spec +++ b/dotnet3.1.spec @@ -410,6 +410,9 @@ cat /etc/os-release %if %{without bootstrap} # We need to create a copy because we will mutate this cp -a %{_libdir}/dotnet previously-built-dotnet +pushd previously-built-dotnet +patch -p1 < %{P:501} +popd %endif %if 0%{?fedora} > 32 || 0%{?rhel} > 8