Commit 7ab93dab authored by Rocky Automation's avatar Rocky Automation 📺
Browse files

import dotnet5.0-5.0.208-2.el8_5

parent b70a0d19
...@@ -54,61 +54,60 @@ ...@@ -54,61 +54,60 @@
%{!?runtime_id:%global runtime_id %(. /etc/os-release ; echo "${ID}.${VERSION_ID%%.*}")-%{runtime_arch}} %{!?runtime_id:%global runtime_id %(. /etc/os-release ; echo "${ID}.${VERSION_ID%%.*}")-%{runtime_arch}}
Name: dotnet5.0 Name: dotnet5.0
Version: %{sdk_rpm_version} Version: %{sdk_rpm_version}
Release: 2%{?dist}.rocky.0.1 Release: 2%{?dist}
Summary: .NET Runtime and SDK Summary: .NET Runtime and SDK
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 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
URL: https://github.com/dotnet/ URL: https://github.com/dotnet/
# The source is generated on a Fedora box via: # The source is generated on a Fedora box via:
# ./build-dotnet-tarball v%%{src_version}-SDK # ./build-dotnet-tarball v%%{src_version}-SDK
Source0: dotnet-v%{src_version}-SDK.tar.gz Source0: dotnet-v%{src_version}-SDK.tar.gz
Source1: check-debug-symbols.py Source1: check-debug-symbols.py
Source2: dotnet.sh.in Source2: dotnet.sh.in
Patch1: source-build-remove-test-references-from-patches.patch Patch1: source-build-remove-test-references-from-patches.patch
# Disable telemetry by default; make it opt-in # Disable telemetry by default; make it opt-in
Patch500: sdk-telemetry-optout.patch Patch500: sdk-telemetry-optout.patch
Patch501: 0001-Add-Rocky-Linux-specific-changes.patch
%if 0%{?fedora} > 32 || 0%{?rhel} > 8 %if 0%{?fedora} > 32 || 0%{?rhel} > 8
ExclusiveArch: aarch64 x86_64 ExclusiveArch: aarch64 x86_64
%else %else
ExclusiveArch: x86_64 ExclusiveArch: x86_64
%endif %endif
BuildRequires: clang BuildRequires: clang
BuildRequires: cmake BuildRequires: cmake
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: dotnet-sdk-5.0 BuildRequires: dotnet-sdk-5.0
%if %{without bootstrap} %if %{without bootstrap}
BuildRequires: dotnet5.0-build-reference-packages BuildRequires: dotnet5.0-build-reference-packages
BuildRequires: dotnet-sdk-5.0-source-built-artifacts BuildRequires: dotnet-sdk-5.0-source-built-artifacts
%endif %endif
BuildRequires: findutils BuildRequires: findutils
BuildRequires: git BuildRequires: git
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: glibc-langpack-en BuildRequires: glibc-langpack-en
%endif %endif
BuildRequires: hostname BuildRequires: hostname
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libicu-devel BuildRequires: libicu-devel
%if ! %{use_bundled_libunwind} %if ! %{use_bundled_libunwind}
BuildRequires: libunwind-devel BuildRequires: libunwind-devel
%endif %endif
BuildRequires: lldb-devel BuildRequires: lldb-devel
BuildRequires: llvm BuildRequires: llvm
BuildRequires: lttng-ust-devel BuildRequires: lttng-ust-devel
BuildRequires: make BuildRequires: make
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: python3 BuildRequires: python3
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
BuildRequires: tar BuildRequires: tar
BuildRequires: zlib-devel BuildRequires: zlib-devel
%description %description
.NET is a fast, lightweight and modular platform for creating .NET is a fast, lightweight and modular platform for creating
...@@ -124,10 +123,10 @@ application to drive everything. ...@@ -124,10 +123,10 @@ application to drive everything.
%package -n dotnet %package -n dotnet
Version: %{sdk_rpm_version} Version: %{sdk_rpm_version}
Summary: .NET CLI tools and runtime Summary: .NET CLI tools and runtime
Requires: dotnet-sdk-5.0%{?_isa} >= %{sdk_rpm_version}-%{release} Requires: dotnet-sdk-5.0%{?_isa} >= %{sdk_rpm_version}-%{release}
%description -n dotnet %description -n dotnet
.NET is a fast, lightweight and modular platform for creating .NET is a fast, lightweight and modular platform for creating
...@@ -143,8 +142,8 @@ application to drive everything. ...@@ -143,8 +142,8 @@ application to drive everything.
%package -n dotnet-host %package -n dotnet-host
Version: %{host_rpm_version} Version: %{host_rpm_version}
Summary: .NET command line launcher Summary: .NET command line launcher
%description -n dotnet-host %description -n dotnet-host
The .NET host is a command line program that runs a standalone The .NET host is a command line program that runs a standalone
...@@ -159,12 +158,12 @@ applications and micro-services. ...@@ -159,12 +158,12 @@ applications and micro-services.
%package -n dotnet-hostfxr-5.0 %package -n dotnet-hostfxr-5.0
Version: %{host_rpm_version} Version: %{host_rpm_version}
Summary: .NET command line host resolver Summary: .NET command line host resolver
# Theoretically any version of the host should work. But lets aim for the one # Theoretically any version of the host should work. But lets aim for the one
# provided by this package, or from a newer version of .NET # provided by this package, or from a newer version of .NET
Requires: dotnet-host%{?_isa} >= %{host_rpm_version}-%{release} Requires: dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
%description -n dotnet-hostfxr-5.0 %description -n dotnet-hostfxr-5.0
The .NET host resolver contains the logic to resolve and select The .NET host resolver contains the logic to resolve and select
...@@ -179,16 +178,16 @@ applications and micro-services. ...@@ -179,16 +178,16 @@ applications and micro-services.
%package -n dotnet-runtime-5.0 %package -n dotnet-runtime-5.0
Version: %{runtime_rpm_version} Version: %{runtime_rpm_version}
Summary: NET 5.0 runtime Summary: NET 5.0 runtime
Requires: dotnet-hostfxr-5.0%{?_isa} >= %{host_rpm_version}-%{release} Requires: dotnet-hostfxr-5.0%{?_isa} >= %{host_rpm_version}-%{release}
# libicu is dlopen()ed # libicu is dlopen()ed
Requires: libicu%{?_isa} Requires: libicu%{?_isa}
%if %{use_bundled_libunwind} %if %{use_bundled_libunwind}
Provides: bundled(libunwind) = 1.3 Provides: bundled(libunwind) = 1.3
%endif %endif
%description -n dotnet-runtime-5.0 %description -n dotnet-runtime-5.0
...@@ -205,10 +204,10 @@ applications and micro-services. ...@@ -205,10 +204,10 @@ applications and micro-services.
%package -n aspnetcore-runtime-5.0 %package -n aspnetcore-runtime-5.0
Version: %{aspnetcore_runtime_rpm_version} Version: %{aspnetcore_runtime_rpm_version}
Summary: ASP.NET Core 5.0 runtime Summary: ASP.NET Core 5.0 runtime
Requires: dotnet-runtime-5.0%{?_isa} >= %{runtime_rpm_version}-%{release} Requires: dotnet-runtime-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
%description -n aspnetcore-runtime-5.0 %description -n aspnetcore-runtime-5.0
The ASP.NET Core runtime contains everything needed to run .NET The ASP.NET Core runtime contains everything needed to run .NET
...@@ -224,12 +223,12 @@ applications and micro-services. ...@@ -224,12 +223,12 @@ applications and micro-services.
%package -n dotnet-templates-5.0 %package -n dotnet-templates-5.0
Version: %{sdk_rpm_version} Version: %{sdk_rpm_version}
Summary: .NET 5.0 templates Summary: .NET 5.0 templates
# Theoretically any version of the host should work. But lets aim for the one # Theoretically any version of the host should work. But lets aim for the one
# provided by this package, or from a newer version of .NET # provided by this package, or from a newer version of .NET
Requires: dotnet-host%{?_isa} >= %{host_rpm_version}-%{release} Requires: dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
%description -n dotnet-templates-5.0 %description -n dotnet-templates-5.0
This package contains templates used by the .NET SDK. This package contains templates used by the .NET SDK.
...@@ -243,21 +242,21 @@ applications and micro-services. ...@@ -243,21 +242,21 @@ applications and micro-services.
%package -n dotnet-sdk-5.0 %package -n dotnet-sdk-5.0
Version: %{sdk_rpm_version} Version: %{sdk_rpm_version}
Summary: .NET 5.0 Software Development Kit Summary: .NET 5.0 Software Development Kit
Provides: bundled(js-jquery) Provides: bundled(js-jquery)
Provides: bundled(npm) Provides: bundled(npm)
Requires: dotnet-runtime-5.0%{?_isa} >= %{runtime_rpm_version}-%{release} Requires: dotnet-runtime-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
Requires: aspnetcore-runtime-5.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release} Requires: aspnetcore-runtime-5.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
Requires: dotnet-apphost-pack-5.0%{?_isa} >= %{runtime_rpm_version}-%{release} Requires: dotnet-apphost-pack-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
Requires: dotnet-targeting-pack-5.0%{?_isa} >= %{runtime_rpm_version}-%{release} Requires: dotnet-targeting-pack-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
Requires: aspnetcore-targeting-pack-5.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release} Requires: aspnetcore-targeting-pack-5.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
Requires: netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release} Requires: netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release}
Requires: dotnet-templates-5.0%{?_isa} >= %{sdk_rpm_version}-%{release} Requires: dotnet-templates-5.0%{?_isa} >= %{sdk_rpm_version}-%{release}
%description -n dotnet-sdk-5.0 %description -n dotnet-sdk-5.0
The .NET SDK is a collection of command line applications to The .NET SDK is a collection of command line applications to
...@@ -273,10 +272,10 @@ applications and micro-services. ...@@ -273,10 +272,10 @@ applications and micro-services.
%global dotnet_targeting_pack() %{expand: %global dotnet_targeting_pack() %{expand:
%package -n %{1} %package -n %{1}
Version: %{2} Version: %{2}
Summary: Targeting Pack for %{3} %{4} Summary: Targeting Pack for %{3} %{4}
Requires: dotnet-host%{?_isa} Requires: dotnet-host%{?_isa}
%description -n %{1} %description -n %{1}
This package provides a targeting pack for %{3} %{4} This package provides a targeting pack for %{3} %{4}
...@@ -296,8 +295,8 @@ applications using the .NET SDK. ...@@ -296,8 +295,8 @@ applications using the .NET SDK.
%package -n dotnet-sdk-5.0-source-built-artifacts %package -n dotnet-sdk-5.0-source-built-artifacts
Version: %{sdk_rpm_version} Version: %{sdk_rpm_version}
Summary: Internal package for building .NET 5.0 Software Development Kit Summary: Internal package for building .NET 5.0 Software Development Kit
%description -n dotnet-sdk-5.0-source-built-artifacts %description -n dotnet-sdk-5.0-source-built-artifacts
The .NET source-built archive is a collection of packages needed The .NET source-built archive is a collection of packages needed
...@@ -350,7 +349,6 @@ cat source-build-info.txt ...@@ -350,7 +349,6 @@ cat source-build-info.txt
find -iname 'nuget.config' -exec echo {}: \; -exec cat {} \; -exec echo \; find -iname 'nuget.config' -exec echo {}: \; -exec cat {} \; -exec echo \;
%patch501 -p1
%build %build
cat /etc/os-release cat /etc/os-release
...@@ -518,9 +516,6 @@ rm -rf %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0 ...@@ -518,9 +516,6 @@ rm -rf %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0
%changelog %changelog
* Wed Nov 10 2021 Release Engineering <releng@rockylinux.org> - 5.0.208-2.rocky.0.1
- Add Rocky Linux specific changes
* Wed Oct 13 2021 Omair Majid <omajid@redhat.com> - 5.0.208-2 * Wed Oct 13 2021 Omair Majid <omajid@redhat.com> - 5.0.208-2
- Update to .NET SDK 5.0.208 and Runtime 5.0.11 - Update to .NET SDK 5.0.208 and Runtime 5.0.11
- Resolves: 2015936 - Resolves: 2015936
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment