From f969ecad4d9d3517e3e04a4862d39152fce3d1ca Mon Sep 17 00:00:00 2001 From: slava86 Date: Wed, 6 Apr 2022 21:36:01 +0300 Subject: [PATCH 1/3] remove development tools --- dotnet3.1.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotnet3.1.spec b/dotnet3.1.spec index b67f4e4..b59fdb2 100644 --- a/dotnet3.1.spec +++ b/dotnet3.1.spec @@ -64,7 +64,7 @@ Name: dotnet3.1 Version: %{sdk_rpm_version} -Release: 1 +Release: 2 Summary: .NET Core Runtime and SDK Group: Development/Other License: MIT and ASL 2.0 and BSD and LGPLv2+ and CC-BY and CC0 and MS-PL and EPL-1.0 and GPL+ and GPLv2 and ISC and OFL and zlib @@ -207,8 +207,11 @@ Summary: NET Core 3.1 runtime Requires: dotnet-hostfxr-3.1 >= %{host_rpm_version}-%{release} +# remove development tools +%if 0 # libicu is dlopen()ed Requires: %{_lib}icu-devel +%endif %if %{use_bundled_libunwind} Provides: bundled(libunwind) = 1.3 From 89e8119c15beec4dac5b6e86b24b4e9b7a639865 Mon Sep 17 00:00:00 2001 From: slava86 Date: Thu, 7 Apr 2022 00:22:21 +0300 Subject: [PATCH 2/3] 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 From f333c449c1e724f1088366b843154aebcf13805d Mon Sep 17 00:00:00 2001 From: "survolog (Andrey Grigorev)" Date: Wed, 15 Jun 2022 12:41:58 +0300 Subject: [PATCH 3/3] Bump release for rebuild with icu 71.1 --- dotnet3.1.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet3.1.spec b/dotnet3.1.spec index da91e0c..d0cff9f 100644 --- a/dotnet3.1.spec +++ b/dotnet3.1.spec @@ -64,7 +64,7 @@ Name: dotnet3.1 Version: %{sdk_rpm_version} -Release: 2 +Release: 3 Summary: .NET Core Runtime and SDK Group: Development/Other License: MIT and ASL 2.0 and BSD and LGPLv2+ and CC-BY and CC0 and MS-PL and EPL-1.0 and GPL+ and GPLv2 and ISC and OFL and zlib