diff --git a/dotnet8.0.spec b/dotnet8.0.spec index ce48160..532e403 100644 --- a/dotnet8.0.spec +++ b/dotnet8.0.spec @@ -8,22 +8,22 @@ %global dotnetver 8.0 -%global host_version 8.0.0-preview.4.23259.5 -%global runtime_version 8.0.0-preview.4.23259.5 -%global aspnetcore_runtime_version 8.0.0-preview.4.23260.4 -%global sdk_version 8.0.100-preview.4.23260.1 +%global host_version 8.0.0-preview.5.23280.8 +%global runtime_version 8.0.0-preview.5.23280.8 +%global aspnetcore_runtime_version 8.0.0-preview.5.23302.2 +%global sdk_version 8.0.100-preview.5.23303.1 %global sdk_feature_band_version %(echo %{sdk_version} | cut -d '-' -f 1 | sed -e 's|[[:digit:]][[:digit:]]$|00|') -%global templates_version 8.0.0-preview.4.23260.4 +%global templates_version 8.0.0-preview.5.23302.2 #%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }') # upstream can update releases without revving the SDK version so these don't always match -%global upstream_tag v8.0.0-preview.4.23259.5 +%global upstream_tag v8.0.0-preview.5.23280.8 %global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||') -%global host_rpm_version 8.0.0~preview.4 -%global runtime_rpm_version 8.0.0~preview.4 -%global aspnetcore_runtime_rpm_version 8.0.0~preview.4 -%global sdk_rpm_version 8.0.100~preview.4 +%global host_rpm_version 8.0.0~preview.5 +%global runtime_rpm_version 8.0.0~preview.5 +%global aspnetcore_runtime_rpm_version 8.0.0~preview.5 +%global sdk_rpm_version 8.0.100~preview.5 %if 0%{?fedora} || 0%{?rhel} < 8 %global use_bundled_libunwind 0 @@ -66,11 +66,11 @@ URL: https://github.com/dotnet/ # ./build-dotnet-tarball --bootstrap %%{upstream_tag} Source0: %{tarball_name}.tar.xz # Generated via ./build-arm64-bootstrap-tarball -Source1: dotnet-arm64-prebuilts-2023-05-17.tar.gz +Source1: dotnet-arm64-prebuilts-2023-06-16.tar.gz # Generated manually, same pattern as the arm64 tarball -Source2: dotnet-ppc64le-prebuilts-2023-05-18.tar.gz +Source2: dotnet-ppc64le-prebuilts-2023-06-16.tar.gz # Generated manually, same pattern as the arm64 tarball -Source3: dotnet-s390x-prebuilts-2023-05-25.tar.gz +Source3: dotnet-s390x-prebuilts-2023-06-16.tar.gz %else # For non-releases, the source is generated on a Fedora box via: # ./build-dotnet-tarball %%{upstream_tag} or commit @@ -652,6 +652,9 @@ export COMPlus_LTTng=0 %changelog +* Mon Jun 19 2023 Omair Majid - 8.0.100~preview.5-0.1 +- Update to .NET SDK 8.0.100 Preview 5 and Runtime 8.0.0 Preview 5 + * Wed Apr 12 2023 Omair Majid - 8.0.100~preview.3-0.1 - Update to .NET SDK 8.0.100 Preview 3 and Runtime 8.0.0 Preview 3 diff --git a/nuget-client-use-net8.0.patch b/nuget-client-use-net8.0.patch index 63a7ab5..7ca5d95 100644 --- a/nuget-client-use-net8.0.patch +++ b/nuget-client-use-net8.0.patch @@ -8,9 +8,9 @@ From https://github.com/dotnet/source-build/discussions/3481 netcoreapp3.1 - net7.0 + net8.0 - net7.0;net8.0 + net7.0 + net7.0;net8.0 netstandard2.0 - $(NETFXTargetFramework);$(NETCoreTargetFramework) @@ -24,7 +24,7 @@ $(TargetFrameworksExe);net7.0 $(NETFXTargetFramework);netcoreapp5.0 @@ -32,7 +32,7 @@ From https://github.com/dotnet/source-build/discussions/3481 true --- a/src/nuget-client/src/NuGet.Core/NuGet.Configuration/NuGet.Configuration.csproj -+++ a/src/nuget-client/src/NuGet.Core/NuGet.Configuration/NuGet.Configuration.csproj ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Configuration/NuGet.Configuration.csproj @@ -26,7 +26,7 @@ @@ -53,3 +53,199 @@ From https://github.com/dotnet/source-build/discussions/3481 +diff --git a/src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/Exceptions/PackageSourceException.cs b/src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/Exceptions/PackageSourceException.cs +index ef589f85a..a0615d68c 100644 +--- a/src/nuget-client/src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/Exceptions/PackageSourceException.cs ++++ b/src/nuget-client/src/NuGet.Clients/NuGet.PackageManagement.PowerShellCmdlets/Exceptions/PackageSourceException.cs +@@ -14,6 +14,9 @@ public PackageSourceException(string message) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected PackageSourceException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Commands/Common/CommandException.cs b/src/NuGet.Core/NuGet.Commands/Common/CommandException.cs +index 0b2ded3fc..6cf41ea16 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Commands/Common/CommandException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Commands/Common/CommandException.cs +@@ -29,6 +29,9 @@ public CommandException(string message, Exception exception) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected CommandException(SerializationInfo info, StreamingContext context) + : base(info, context) + { +diff --git a/src/NuGet.Core/NuGet.Configuration/Exceptions/NuGetConfigurationException.cs b/src/NuGet.Core/NuGet.Configuration/Exceptions/NuGetConfigurationException.cs +index 7e62c4562..88ab349ba 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Configuration/Exceptions/NuGetConfigurationException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Configuration/Exceptions/NuGetConfigurationException.cs +@@ -22,6 +22,9 @@ public NuGetConfigurationException(string message, Exception innerException) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected NuGetConfigurationException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Frameworks/FrameworkException.cs b/src/NuGet.Core/NuGet.Frameworks/FrameworkException.cs +index 9e538d481..5a7fd3feb 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Frameworks/FrameworkException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Frameworks/FrameworkException.cs +@@ -14,6 +14,9 @@ public FrameworkException(string message) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected FrameworkException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Packaging/Licenses/NuGetLicenseExpressionParsingException.cs b/src/NuGet.Core/NuGet.Packaging/Licenses/NuGetLicenseExpressionParsingException.cs +index b48fe5bdd..bee4f569b 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Packaging/Licenses/NuGetLicenseExpressionParsingException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Packaging/Licenses/NuGetLicenseExpressionParsingException.cs +@@ -18,6 +18,9 @@ public NuGetLicenseExpressionParsingException(string message, Exception innerExc + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected NuGetLicenseExpressionParsingException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Protocol/Exceptions/FatalProtocolException.cs b/src/NuGet.Core/NuGet.Protocol/Exceptions/FatalProtocolException.cs +index 68913b98d..999da9db7 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/FatalProtocolException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/FatalProtocolException.cs +@@ -18,6 +18,9 @@ public FatalProtocolException(string message, Exception innerException) : base(m + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected FatalProtocolException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Protocol/Exceptions/InvalidCacheProtocolException.cs b/src/NuGet.Core/NuGet.Protocol/Exceptions/InvalidCacheProtocolException.cs +index de810344a..07ae05cae 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/InvalidCacheProtocolException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/InvalidCacheProtocolException.cs +@@ -23,6 +23,9 @@ public InvalidCacheProtocolException(string message, Exception innerException) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected InvalidCacheProtocolException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Protocol/Exceptions/NuGetProtocolException.cs b/src/NuGet.Core/NuGet.Protocol/Exceptions/NuGetProtocolException.cs +index 8a1a81c9d..0655b8429 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/NuGetProtocolException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/NuGetProtocolException.cs +@@ -22,6 +22,9 @@ public NuGetProtocolException(string message, Exception innerException) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected NuGetProtocolException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Protocol/Exceptions/RetriableProtocolException.cs b/src/NuGet.Core/NuGet.Protocol/Exceptions/RetriableProtocolException.cs +index 4a63a8f4c..a53490f62 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/RetriableProtocolException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Exceptions/RetriableProtocolException.cs +@@ -17,6 +17,9 @@ public RetriableProtocolException(string message, Exception innerException) : ba + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected RetriableProtocolException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Protocol/Plugins/PluginException.cs b/src/NuGet.Core/NuGet.Protocol/Plugins/PluginException.cs +index da7df46fd..ea8c8083e 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Plugins/PluginException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Plugins/PluginException.cs +@@ -31,6 +31,9 @@ public PluginException(string message, Exception innerException) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + private PluginException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Protocol/Plugins/ProtocolException.cs b/src/NuGet.Core/NuGet.Protocol/Plugins/ProtocolException.cs +index df18f9f81..e701ece77 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Plugins/ProtocolException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Protocol/Plugins/ProtocolException.cs +@@ -31,6 +31,9 @@ public ProtocolException(string message, Exception innerException) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + private ProtocolException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverConstraintException.cs b/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverConstraintException.cs +index 6998e28c1..e9252092a 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverConstraintException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverConstraintException.cs +@@ -17,6 +17,9 @@ public NuGetResolverConstraintException(string message) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected NuGetResolverConstraintException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverException.cs b/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverException.cs +index e2b426eb4..c3ea9fb08 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverException.cs +@@ -14,6 +14,9 @@ public NuGetResolverException(string message) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected NuGetResolverException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } +diff --git a/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverInputException.cs b/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverInputException.cs +index e1542ec4f..0471a3597 100644 +--- a/src/nuget-client/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverInputException.cs ++++ b/src/nuget-client/src/NuGet.Core/NuGet.Resolver/Exceptions/NuGetResolverInputException.cs +@@ -17,6 +17,9 @@ public NuGetResolverInputException(string message) + { + } + ++#if NET8_0_OR_GREATER ++ [Obsolete(DiagnosticId = "SYSLIB0051")] ++#endif + protected NuGetResolverInputException(SerializationInfo info, StreamingContext context) : base(info, context) + { + }