From 6ff8960048c8ac85d61fc44d4f3219118ac7e603 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Nov 02 2018 21:04:23 +0000 Subject: Add -host-fxr-2.1 subpackage Follow https://docs.microsoft.com/en-us/dotnet/core/build/distribution-packaging more closely. --- diff --git a/dotnet.spec b/dotnet.spec index 9a109c1..b9227d9 100644 --- a/dotnet.spec +++ b/dotnet.spec @@ -23,7 +23,7 @@ Name: dotnet Version: %{sdk_version} -Release: 2%{?dist} +Release: 3%{?dist} Summary: .NET Core CLI tools and runtime License: MIT and ASL 2.0 and BSD URL: https://github.com/dotnet/ @@ -93,14 +93,32 @@ cross platform applications that work on Linux, Mac and Windows. It particularly focuses on creating console applications, web applications and micro-services. -%package runtime-2.1 +%package host-fxr-2.1 Version: %{runtime_version} -Summary: NET Core 2.1 runtime +Summary: .NET Core command line host resolver # Theoretically any version of the host should work Requires: %{name}-host%{?_isa} +%description host-fxr-2.1 +The .NET Core host resolver contains the logic to resolve and select +the right version of the .NET Core SDK or runtime to use. + +.NET Core is a fast, lightweight and modular platform for creating +cross platform applications that work on Linux, Mac and Windows. + +It particularly focuses on creating console applications, web +applications and micro-services. + + +%package runtime-2.1 + +Version: %{runtime_version} +Summary: NET Core 2.1 runtime + +Requires: %{name}-host-fxr-2.1%{?_isa} + # libicu is dlopen()ed Requires: libicu @@ -218,7 +236,7 @@ echo "Testing build results for debug symbols..." %files host %dir %{_libdir}/%{name} %{_libdir}/%{name}/dotnet -%{_libdir}/%{name}/host +%dir %{_libdir}/%{name}/host %{_bindir}/dotnet %license %{_libdir}/%{name}/LICENSE.txt %license %{_libdir}/%{name}/ThirdPartyNotices.txt @@ -228,6 +246,9 @@ echo "Testing build results for debug symbols..." %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/dotnet +%files host-fxr-2.1 +%{_libdir}/%{name}/host/fxr + %files runtime-2.1 %dir %{_libdir}/%{name}/shared %dir %{_libdir}/%{name}/shared/Microsoft.NETCore.App @@ -241,6 +262,9 @@ echo "Testing build results for debug symbols..." %{_libdir}/%{name}/sdk/%{sdk_version} %changelog +* Fri Nov 02 2018 Omair Majid - 2.1.403-3 +- Add host-fxr-2.1 subpackage + * Mon Oct 15 2018 Omair Majid - 2.1.403-2 - Disable telemetry by default - Users have to manually export DOTNET_CLI_TELEMETRY_OPTOUT=0 to enable