|
|
9939d1 |
%{?scl:%scl_package dotnet}
|
|
|
9939d1 |
%{!?scl:%global pkg_name %{name}}
|
|
|
9939d1 |
|
|
|
9939d1 |
%bcond_with bootstrap
|
|
|
9939d1 |
|
|
|
9939d1 |
# Avoid provides/requires from private libraries
|
|
|
9939d1 |
%global privlibs libhostfxr
|
|
|
9939d1 |
%global privlibs %{privlibs}|libclrjit
|
|
|
9939d1 |
%global privlibs %{privlibs}|libcoreclr
|
|
|
9939d1 |
%global privlibs %{privlibs}|libcoreclrtraceptprovider
|
|
|
9939d1 |
%global privlibs %{privlibs}|libdbgshim
|
|
|
9939d1 |
%global privlibs %{privlibs}|libhostpolicy
|
|
|
9939d1 |
%global privlibs %{privlibs}|libmscordaccore
|
|
|
9939d1 |
%global privlibs %{privlibs}|libmscordbi
|
|
|
9939d1 |
%global privlibs %{privlibs}|libsos
|
|
|
9939d1 |
%global privlibs %{privlibs}|libsosplugin
|
|
|
9939d1 |
%global __provides_exclude ^(%{privlibs})\\.so
|
|
|
9939d1 |
%global __requires_exclude ^(%{privlibs})\\.so
|
|
|
9939d1 |
|
|
|
9939d1 |
# LTO triggers a compilation error for a source level issue. Given that LTO should not
|
|
|
9939d1 |
# change the validity of any given source and the nature of the error (undefined enum), I
|
|
|
9939d1 |
# suspect a generator program is mis-behaving in some way. This needs further debugging,
|
|
|
9939d1 |
# until that's done, disable LTO. This has to happen before setting the flags below.
|
|
|
9939d1 |
%define _lto_cflags %{nil}
|
|
|
9939d1 |
|
|
|
e5883b |
%global host_version 6.0.7
|
|
|
e5883b |
%global runtime_version 6.0.7
|
|
|
2547b6 |
%global aspnetcore_runtime_version %{runtime_version}
|
|
|
e5883b |
%global sdk_version 6.0.107
|
|
|
2547b6 |
%global sdk_feature_band_version %(echo %{sdk_version} | sed -e 's|[[:digit:]][[:digit:]]$|00|')
|
|
|
2547b6 |
%global templates_version %{runtime_version}
|
|
|
9939d1 |
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
|
|
|
9939d1 |
|
|
|
9939d1 |
%global host_rpm_version %{host_version}
|
|
|
9939d1 |
%global runtime_rpm_version %{runtime_version}
|
|
|
9939d1 |
%global aspnetcore_runtime_rpm_version %{aspnetcore_runtime_version}
|
|
|
9939d1 |
%global sdk_rpm_version %{sdk_version}
|
|
|
9939d1 |
|
|
|
9939d1 |
# upstream can update releases without revving the SDK version so these don't always match
|
|
|
2547b6 |
%global upstream_tag v%{sdk_version}-SDK
|
|
|
9939d1 |
|
|
|
9939d1 |
%if 0%{?fedora} || 0%{?rhel} < 8
|
|
|
9939d1 |
%global use_bundled_libunwind 0
|
|
|
9939d1 |
%else
|
|
|
9939d1 |
%global use_bundled_libunwind 1
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%ifarch aarch64 s390x
|
|
|
9939d1 |
%global use_bundled_libunwind 1
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%ifarch x86_64
|
|
|
9939d1 |
%global runtime_arch x64
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
%ifarch aarch64
|
|
|
9939d1 |
%global runtime_arch arm64
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
%ifarch s390x
|
|
|
9939d1 |
%global runtime_arch s390x
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%{!?runtime_id:%global runtime_id %(. /etc/os-release ; echo "${ID}.${VERSION_ID%%.*}")-%{runtime_arch}}
|
|
|
9939d1 |
|
|
|
9939d1 |
Name: %{?scl_prefix}dotnet
|
|
|
9939d1 |
Version: %{sdk_rpm_version}
|
|
|
991444 |
Release: 1%{?dist}
|
|
|
9939d1 |
Summary: .NET Runtime and SDK
|
|
|
9939d1 |
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
|
|
|
9939d1 |
URL: https://github.com/dotnet/
|
|
|
9939d1 |
|
|
|
9939d1 |
%if %{with bootstrap}
|
|
|
9939d1 |
# The source is generated on a RHEL box via:
|
|
|
9939d1 |
# ./build-dotnet-tarball --bootstrap %%{upstream_tag}
|
|
|
9939d1 |
Source0: dotnet-%{upstream_tag}-x64-bootstrap.tar.xz
|
|
|
9939d1 |
%else
|
|
|
9939d1 |
# The source is generated via:
|
|
|
9939d1 |
# ./build-dotnet-tarball %%{upstream_tag}
|
|
|
9939d1 |
Source0: dotnet-%{upstream_tag}.tar.gz
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
Source10: check-debug-symbols.py
|
|
|
9939d1 |
Source11: dotnet.sh.in
|
|
|
9939d1 |
|
|
|
9939d1 |
# https://github.com/dotnet/command-line-api/pull/1401
|
|
|
9939d1 |
Patch300: command-line-api-use-work-tree-with-git-apply.patch
|
|
|
9939d1 |
|
|
|
9939d1 |
# https://github.com/microsoft/vstest/pull/3046
|
|
|
9939d1 |
Patch400: vstest-use-work-tree-with-git-apply.patch
|
|
|
9939d1 |
|
|
|
9939d1 |
# This is the suggestion from https://github.com/dotnet/source-build/pull/2450, applied
|
|
|
9939d1 |
Patch500: fsharp-use-work-tree-with-git-apply.patch
|
|
|
9939d1 |
# Disable apphost, needed for s390x
|
|
|
9939d1 |
Patch501: fsharp-no-apphost.patch
|
|
|
9939d1 |
|
|
|
9939d1 |
# This is the suggestion from https://github.com/dotnet/source-build/pull/2450, applied
|
|
|
9939d1 |
Patch600: xliff-tasks-use-work-tree-with-git-apply.patch
|
|
|
9939d1 |
|
|
|
9939d1 |
# Disable apphost, needed for s390x
|
|
|
9939d1 |
Patch700: arcade-no-apphost.patch
|
|
|
9939d1 |
|
|
|
9939d1 |
# Named mutex fix for mono, needed for s390x. https://github.com/dotnet/roslyn/pull/57003
|
|
|
9939d1 |
Patch800: roslyn-57003-mono-named-mutex.patch
|
|
|
9939d1 |
# Disable apphost, needed for s390x
|
|
|
9939d1 |
Patch801: roslyn-no-apphost.patch
|
|
|
9939d1 |
|
|
|
9939d1 |
# Disable apphost, needed for s390x
|
|
|
9939d1 |
Patch900: roslyn-analyzers-no-apphost.patch
|
|
|
9939d1 |
|
|
|
9939d1 |
# Disable telemetry by default; make it opt-in
|
|
|
9939d1 |
Patch1500: sdk-telemetry-optout.patch
|
|
|
2547b6 |
# https://github.com/dotnet/sdk/pull/22373
|
|
|
2547b6 |
Patch1501: sdk-22373-portablerid.patch
|
|
|
9939d1 |
|
|
|
2547b6 |
# https://github.com/dotnet/installer/pull/12516
|
|
|
2547b6 |
Patch1600: installer-12516-portablerid.patch
|
|
|
2547b6 |
|
|
|
2547b6 |
|
|
|
2547b6 |
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
|
9939d1 |
ExclusiveArch: aarch64 x86_64 s390x
|
|
|
9939d1 |
%else
|
|
|
9939d1 |
ExclusiveArch: x86_64
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
BuildRequires: llvm-toolset-12.0-clang
|
|
|
9939d1 |
BuildRequires: llvm-toolset-12.0-cmake
|
|
|
9939d1 |
BuildRequires: coreutils
|
|
|
9939d1 |
%if %{without bootstrap}
|
|
|
9939d1 |
BuildRequires: %{?scl_prefix}dotnet-sdk-6.0
|
|
|
9939d1 |
BuildRequires: %{?scl_prefix}dotnet-sdk-6.0-source-built-artifacts
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
BuildRequires: findutils
|
|
|
9939d1 |
BuildRequires: git
|
|
|
9939d1 |
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
9939d1 |
BuildRequires: glibc-langpack-en
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
BuildRequires: hostname
|
|
|
9939d1 |
BuildRequires: krb5-devel
|
|
|
9939d1 |
BuildRequires: libicu-devel
|
|
|
9939d1 |
%if ! %{use_bundled_libunwind}
|
|
|
9939d1 |
BuildRequires: libunwind-devel
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
%ifarch aarch64
|
|
|
9939d1 |
BuildRequires: llvm-toolset-12.0-lld
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
BuildRequires: llvm-toolset-12.0-llvm
|
|
|
9939d1 |
BuildRequires: %{?scl_prefix}lttng-ust-devel
|
|
|
9939d1 |
BuildRequires: make
|
|
|
9939d1 |
BuildRequires: openssl-devel
|
|
|
9939d1 |
BuildRequires: python3
|
|
|
9939d1 |
BuildRequires: tar
|
|
|
9939d1 |
BuildRequires: zlib-devel
|
|
|
9939d1 |
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-sdk-6.0%{?_isa} >= %{sdk_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}dotnet
|
|
|
9939d1 |
.NET is a fast, lightweight and modular platform for creating
|
|
|
9939d1 |
cross platform applications that work on Linux, macOS and Windows.
|
|
|
9939d1 |
|
|
|
9939d1 |
It particularly focuses on creating console applications, web
|
|
|
9939d1 |
applications and micro-services.
|
|
|
9939d1 |
|
|
|
9939d1 |
.NET contains a runtime conforming to .NET Standards a set of
|
|
|
9939d1 |
framework libraries, an SDK containing compilers and a 'dotnet'
|
|
|
9939d1 |
application to drive everything.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%package -n %{?scl_prefix}dotnet-host
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{host_rpm_version}
|
|
|
9939d1 |
Summary: .NET command line launcher
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}dotnet-host
|
|
|
9939d1 |
The .NET host is a command line program that runs a standalone
|
|
|
9939d1 |
.NET application or launches the SDK.
|
|
|
9939d1 |
|
|
|
9939d1 |
.NET is a fast, lightweight and modular platform for creating
|
|
|
9939d1 |
cross platform applications that work on Linux, Mac and Windows.
|
|
|
9939d1 |
|
|
|
9939d1 |
It particularly focuses on creating console applications, web
|
|
|
9939d1 |
applications and micro-services.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%package -n %{?scl_prefix}dotnet-hostfxr-6.0
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{host_rpm_version}
|
|
|
9939d1 |
Summary: .NET command line host resolver
|
|
|
9939d1 |
|
|
|
9939d1 |
# Theoretically any version of the host should work. But lets aim for the one
|
|
|
9939d1 |
# provided by this package, or from a newer version of .NET
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}dotnet-hostfxr-6.0
|
|
|
9939d1 |
The .NET host resolver contains the logic to resolve and select
|
|
|
9939d1 |
the right version of the .NET SDK or runtime to use.
|
|
|
9939d1 |
|
|
|
9939d1 |
.NET is a fast, lightweight and modular platform for creating
|
|
|
9939d1 |
cross platform applications that work on Linux, Mac and Windows.
|
|
|
9939d1 |
|
|
|
9939d1 |
It particularly focuses on creating console applications, web
|
|
|
9939d1 |
applications and micro-services.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%package -n %{?scl_prefix}dotnet-runtime-6.0
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{runtime_rpm_version}
|
|
|
9939d1 |
Summary: NET 6.0 runtime
|
|
|
9939d1 |
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-hostfxr-6.0%{?_isa} >= %{host_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
# libicu is dlopen()ed
|
|
|
9939d1 |
Requires: libicu%{?_isa}
|
|
|
9939d1 |
|
|
|
37fa24 |
# See src/runtime/src/libraries/Native/AnyOS/brotli-version.txt
|
|
|
991444 |
Provides: bundled(libbrotli) = 1.0.9
|
|
|
9939d1 |
%if %{use_bundled_libunwind}
|
|
|
37fa24 |
# See runtime/src/coreclr/pal/src/libunwind/libunwind-version.txt
|
|
|
9939d1 |
Provides: bundled(libunwind) = 1.5.rc1.28.g9165d2a1
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}dotnet-runtime-6.0
|
|
|
9939d1 |
The .NET runtime contains everything needed to run .NET applications.
|
|
|
9939d1 |
It includes a high performance Virtual Machine as well as the framework
|
|
|
9939d1 |
libraries used by .NET applications.
|
|
|
9939d1 |
|
|
|
9939d1 |
.NET is a fast, lightweight and modular platform for creating
|
|
|
9939d1 |
cross platform applications that work on Linux, Mac and Windows.
|
|
|
9939d1 |
|
|
|
9939d1 |
It particularly focuses on creating console applications, web
|
|
|
9939d1 |
applications and micro-services.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%package -n %{?scl_prefix}aspnetcore-runtime-6.0
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{aspnetcore_runtime_rpm_version}
|
|
|
9939d1 |
Summary: ASP.NET Core 6.0 runtime
|
|
|
9939d1 |
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-runtime-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}aspnetcore-runtime-6.0
|
|
|
9939d1 |
The ASP.NET Core runtime contains everything needed to run .NET
|
|
|
9939d1 |
web applications. It includes a high performance Virtual Machine as
|
|
|
9939d1 |
well as the framework libraries used by .NET applications.
|
|
|
9939d1 |
|
|
|
9939d1 |
ASP.NET Core is a fast, lightweight and modular platform for creating
|
|
|
9939d1 |
cross platform web applications that work on Linux, Mac and Windows.
|
|
|
9939d1 |
|
|
|
9939d1 |
It particularly focuses on creating console applications, web
|
|
|
9939d1 |
applications and micro-services.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%package -n %{?scl_prefix}dotnet-templates-6.0
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{sdk_rpm_version}
|
|
|
9939d1 |
Summary: .NET 6.0 templates
|
|
|
9939d1 |
|
|
|
9939d1 |
# Theoretically any version of the host should work. But lets aim for the one
|
|
|
9939d1 |
# provided by this package, or from a newer version of .NET
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}dotnet-templates-6.0
|
|
|
9939d1 |
This package contains templates used by the .NET SDK.
|
|
|
9939d1 |
|
|
|
9939d1 |
.NET is a fast, lightweight and modular platform for creating
|
|
|
9939d1 |
cross platform applications that work on Linux, Mac and Windows.
|
|
|
9939d1 |
|
|
|
9939d1 |
It particularly focuses on creating console applications, web
|
|
|
9939d1 |
applications and micro-services.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%package -n %{?scl_prefix}dotnet-sdk-6.0
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{sdk_rpm_version}
|
|
|
9939d1 |
Summary: .NET 6.0 Software Development Kit
|
|
|
9939d1 |
|
|
|
9939d1 |
Provides: bundled(js-jquery)
|
|
|
9939d1 |
Provides: bundled(npm)
|
|
|
9939d1 |
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-runtime-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
|
|
|
9939d1 |
Requires: %{?scl_prefix}aspnetcore-runtime-6.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-apphost-pack-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-targeting-pack-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
|
|
|
9939d1 |
Requires: %{?scl_prefix}aspnetcore-targeting-pack-6.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
|
|
|
9939d1 |
Requires: %{?scl_prefix}netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-templates-6.0%{?_isa} >= %{sdk_rpm_version}-%{release}
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}dotnet-sdk-6.0
|
|
|
9939d1 |
The .NET SDK is a collection of command line applications to
|
|
|
9939d1 |
create, build, publish and run .NET applications.
|
|
|
9939d1 |
|
|
|
9939d1 |
.NET is a fast, lightweight and modular platform for creating
|
|
|
9939d1 |
cross platform applications that work on Linux, Mac and Windows.
|
|
|
9939d1 |
|
|
|
9939d1 |
It particularly focuses on creating console applications, web
|
|
|
9939d1 |
applications and micro-services.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%global dotnet_targeting_pack() %{expand:
|
|
|
9939d1 |
%package -n %{?scl_prefix}%{1}
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{2}
|
|
|
9939d1 |
Summary: Targeting Pack for %{3} %{4}
|
|
|
9939d1 |
|
|
|
9939d1 |
Requires: %{?scl_prefix}dotnet-host%{?_isa}
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}%{1}
|
|
|
9939d1 |
This package provides a targeting pack for %{3} %{4}
|
|
|
9939d1 |
that allows developers to compile against and target %{3} %{4}
|
|
|
9939d1 |
applications using the .NET SDK.
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}%{1}
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/packs
|
|
|
9939d1 |
%{_libdir}/dotnet/packs/%{5}
|
|
|
9939d1 |
}
|
|
|
9939d1 |
|
|
|
9939d1 |
%dotnet_targeting_pack dotnet-apphost-pack-6.0 %{runtime_rpm_version} Microsoft.NETCore.App 6.0 Microsoft.NETCore.App.Host.%{runtime_id}
|
|
|
9939d1 |
%dotnet_targeting_pack dotnet-targeting-pack-6.0 %{runtime_rpm_version} Microsoft.NETCore.App 6.0 Microsoft.NETCore.App.Ref
|
|
|
9939d1 |
%dotnet_targeting_pack aspnetcore-targeting-pack-6.0 %{aspnetcore_runtime_rpm_version} Microsoft.AspNetCore.App 6.0 Microsoft.AspNetCore.App.Ref
|
|
|
9939d1 |
%dotnet_targeting_pack netstandard-targeting-pack-2.1 %{sdk_rpm_version} NETStandard.Library 2.1 NETStandard.Library.Ref
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%package -n %{?scl_prefix}dotnet-sdk-6.0-source-built-artifacts
|
|
|
9939d1 |
|
|
|
9939d1 |
Version: %{sdk_rpm_version}
|
|
|
9939d1 |
Summary: Internal package for building .NET 6.0 Software Development Kit
|
|
|
9939d1 |
|
|
|
9939d1 |
%description -n %{?scl_prefix}dotnet-sdk-6.0-source-built-artifacts
|
|
|
9939d1 |
The .NET source-built archive is a collection of packages needed
|
|
|
9939d1 |
to build the .NET SDK itself.
|
|
|
9939d1 |
|
|
|
9939d1 |
These are not meant for general use.
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%prep
|
|
|
9939d1 |
%if %{without bootstrap}
|
|
|
9939d1 |
%setup -q -n dotnet-%{upstream_tag}
|
|
|
9939d1 |
%else
|
|
|
9939d1 |
|
|
|
9939d1 |
%setup -q -T -b 0 -n dotnet-%{upstream_tag}-x64-bootstrap
|
|
|
9939d1 |
|
|
|
9939d1 |
%ifnarch x86_64
|
|
|
9939d1 |
|
|
|
9939d1 |
rm -rf .dotnet
|
|
|
9939d1 |
%ifarch aarch64
|
|
|
9939d1 |
tar -x --strip-components=1 -f %{SOURCE1} -C packages/prebuilt
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
%ifarch s390x
|
|
|
9939d1 |
tar -x --strip-components=1 -f %{SOURCE2} -C packages/prebuilt
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
mkdir -p .dotnet
|
|
|
9939d1 |
tar xf packages/prebuilt/dotnet-sdk*.tar.gz -C .dotnet/
|
|
|
9939d1 |
rm packages/prebuilt/dotnet-sdk*.tar.gz
|
|
|
9939d1 |
boot_sdk_version=$(ls -1 .dotnet/sdk/)
|
|
|
9939d1 |
sed -i -E 's|"dotnet": "[^"]+"|"dotnet" : "'$boot_sdk_version'"|' global.json
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%if %{without bootstrap}
|
|
|
9939d1 |
# Remove all prebuilts
|
|
|
9939d1 |
find -iname '*.dll' -type f -delete
|
|
|
9939d1 |
find -iname '*.so' -type f -delete
|
|
|
9939d1 |
find -iname '*.tar.gz' -type f -delete
|
|
|
9939d1 |
find -iname '*.nupkg' -type f -delete
|
|
|
9939d1 |
find -iname '*.zip' -type f -delete
|
|
|
9939d1 |
rm -rf .dotnet/
|
|
|
9939d1 |
rm -rf packages/source-built
|
|
|
9939d1 |
|
|
|
9939d1 |
mkdir -p packages/archive
|
|
|
9939d1 |
ln -s %{_libdir}/dotnet/source-built-artifacts/Private.SourceBuilt.Artifacts.*.tar.gz packages/archive/
|
|
|
9939d1 |
ln -s %{_libdir}/dotnet/reference-packages/Private.SourceBuild.ReferencePackages*.tar.gz packages/archive/
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
# Fix bad hardcoded path in build
|
|
|
37fa24 |
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/runtime/src/native/corehost/hostmisc/pal.unix.cpp
|
|
|
9939d1 |
|
|
|
9939d1 |
# Disable warnings
|
|
|
9939d1 |
# sed -i 's|skiptests|skiptests ignorewarnings|' repos/runtime.common.props
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/runtime
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/command-line-api
|
|
|
9939d1 |
%patch300 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/vstest
|
|
|
9939d1 |
%patch400 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/fsharp
|
|
|
9939d1 |
%patch500 -p1
|
|
|
9939d1 |
%patch501 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/xliff-tasks
|
|
|
9939d1 |
%patch600 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/arcade
|
|
|
9939d1 |
%patch700 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/roslyn
|
|
|
9939d1 |
%patch800 -p3
|
|
|
9939d1 |
%patch801 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/roslyn-analyzers
|
|
|
9939d1 |
%patch900 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
37fa24 |
pushd src/sdk
|
|
|
9939d1 |
%patch1500 -p1
|
|
|
2547b6 |
%patch1501 -p1
|
|
|
2547b6 |
popd
|
|
|
2547b6 |
|
|
|
37fa24 |
pushd src/installer
|
|
|
2547b6 |
%patch1600 -p1
|
|
|
9939d1 |
popd
|
|
|
9939d1 |
|
|
|
9939d1 |
# Disable package validation which breaks our build, even though we
|
|
|
9939d1 |
# are injecting "blessed" nuget packages produced by Microsoft.
|
|
|
9939d1 |
# There's no need to run validation in RPM packages anyway.
|
|
|
37fa24 |
sed -i -E 's|( /p:BuildDebPackage=false)|\1 /p:EnablePackageValidation=false|' src/runtime/eng/SourceBuild.props
|
|
|
9939d1 |
|
|
|
9939d1 |
%if ! %{use_bundled_libunwind}
|
|
|
37fa24 |
sed -i -E 's|( /p:BuildDebPackage=false)|\1 --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' src/runtime/eng/SourceBuild.props
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%build
|
|
|
9939d1 |
%{?scl:scl enable %scl llvm-toolset-12.0 - << \EOF}
|
|
|
9939d1 |
set -xe
|
|
|
9939d1 |
|
|
|
9939d1 |
cat /etc/os-release
|
|
|
9939d1 |
|
|
|
9939d1 |
%if %{without bootstrap}
|
|
|
9939d1 |
# We need to create a copy because we will mutate this
|
|
|
9939d1 |
cp -a %{_libdir}/dotnet previously-built-dotnet
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%if 0%{?fedora} > 32 || 0%{?rhel} > 8
|
|
|
9939d1 |
# Setting this macro ensures that only clang supported options will be
|
|
|
9939d1 |
# added to ldflags and cflags.
|
|
|
9939d1 |
%global toolchain clang
|
|
|
9939d1 |
%set_build_flags
|
|
|
9939d1 |
%else
|
|
|
9939d1 |
# Filter flags not supported by clang
|
|
|
9939d1 |
%global dotnet_cflags %(echo %optflags | sed -re 's/-specs=[^ ]*//g')
|
|
|
9939d1 |
%global dotnet_ldflags %(echo %{__global_ldflags} | sed -re 's/-specs=[^ ]*//g')
|
|
|
9939d1 |
export CFLAGS="%{dotnet_cflags}"
|
|
|
9939d1 |
export CXXFLAGS="%{dotnet_cflags}"
|
|
|
9939d1 |
export LDFLAGS="%{dotnet_ldflags}"
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
%ifarch aarch64
|
|
|
9939d1 |
# -mbranch-protection=standard breaks unwinding in CoreCLR through libunwind
|
|
|
9939d1 |
CFLAGS=$(echo $CFLAGS | sed -e 's/-mbranch-protection=standard //')
|
|
|
9939d1 |
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/-mbranch-protection=standard //')
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
|
|
|
9939d1 |
# -fstack-clash-protection breaks CoreCLR
|
|
|
9939d1 |
CFLAGS=$(echo $CFLAGS | sed -e 's/-fstack-clash-protection//' )
|
|
|
9939d1 |
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/-fstack-clash-protection//' )
|
|
|
9939d1 |
|
|
|
9939d1 |
export EXTRA_CFLAGS="$CFLAGS"
|
|
|
9939d1 |
export EXTRA_CXXFLAGS="$CXXFLAGS"
|
|
|
9939d1 |
export EXTRA_LDFLAGS="$LDFLAGS"
|
|
|
9939d1 |
|
|
|
9939d1 |
unset CFLAGS
|
|
|
9939d1 |
unset CXXFLAGS
|
|
|
9939d1 |
unset LDFLAGS
|
|
|
9939d1 |
|
|
|
9939d1 |
export LIBRARY_PATH="%{_libdir}"
|
|
|
9939d1 |
export LLVM_HOME=/opt/rh/llvm-toolset-12.0/root/usr
|
|
|
9939d1 |
export CMAKE_PREFIX_PATH="%{_prefix}"
|
|
|
9939d1 |
|
|
|
9939d1 |
VERBOSE=1 ./build.sh \
|
|
|
9939d1 |
%if %{without bootstrap}
|
|
|
9939d1 |
--with-sdk previously-built-dotnet \
|
|
|
9939d1 |
%endif
|
|
|
9939d1 |
-- \
|
|
|
9939d1 |
|
|
|
9939d1 |
echo \
|
|
|
9939d1 |
/v:n \
|
|
|
9939d1 |
/p:SkipPortableRuntimeBuild=true \
|
|
|
9939d1 |
/p:LogVerbosity=n \
|
|
|
9939d1 |
/p:MinimalConsoleLogOutput=false \
|
|
|
9939d1 |
/p:ContinueOnPrebuiltBaselineError=true \
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE11} > dotnet.sh
|
|
|
9939d1 |
|
|
|
9939d1 |
%{?scl:EOF}
|
|
|
9939d1 |
|
|
|
9939d1 |
%install
|
|
|
9939d1 |
install -dm 0755 %{buildroot}%{_libdir}/dotnet
|
|
|
9939d1 |
ls artifacts/%{runtime_arch}/Release
|
|
|
9939d1 |
tar xf artifacts/%{runtime_arch}/Release/dotnet-sdk-%{sdk_version}-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
|
|
|
9939d1 |
|
|
|
9939d1 |
# See https://github.com/dotnet/source-build/issues/2579
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -iname testhost.x86 -delete
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -iname vstest.console -delete
|
|
|
9939d1 |
|
|
|
2547b6 |
# Install managed symbols. Disabled until we find a fix for the build
|
|
|
2547b6 |
# system embedding hardcoded source code paths. More at
|
|
|
2547b6 |
# https://github.com/dotnet/source-build/issues/2623
|
|
|
2547b6 |
# tar xf artifacts/%%{runtime_arch}/Release/runtime/dotnet-runtime-symbols-*%%{runtime_version}*.tar.gz \
|
|
|
2547b6 |
# -C %%{buildroot}/%%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%%{runtime_version}/
|
|
|
9939d1 |
|
|
|
9939d1 |
# Fix executable permissions on files
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'apphost' -exec chmod +x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'singlefilehost' -exec chmod +x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'lib*so' -exec chmod +x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.a' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.dll' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.h' -exec chmod 0644 {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.json' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pdb' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.props' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pubxml' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.txt' -exec chmod -x {} \;
|
|
|
9939d1 |
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \;
|
|
|
9939d1 |
|
|
|
9939d1 |
install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/
|
|
|
9939d1 |
install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/
|
|
|
9939d1 |
|
|
|
9939d1 |
install -dm 0755 %{buildroot}/%{_root_datadir}/bash-completion/completions
|
|
|
9939d1 |
# dynamic completion needs the file to be named the same as the base command
|
|
|
37fa24 |
install src/sdk/scripts/register-completions.bash %{buildroot}/%{_root_datadir}/bash-completion/completions/dotnet
|
|
|
9939d1 |
|
|
|
9939d1 |
# TODO: the zsh completion script needs to be ported to use #compdef
|
|
|
9939d1 |
#install -dm 755 %%{buildroot}/%%{_root_datadir}/zsh/site-functions
|
|
|
9939d1 |
#install src/cli/scripts/register-completions.zsh %%{buildroot}/%%{_root_datadir}/zsh/site-functions/_dotnet
|
|
|
9939d1 |
|
|
|
9939d1 |
install -dm 0755 %{buildroot}%{_bindir}
|
|
|
9939d1 |
ln -s ../../../../../../%{_libdir}/dotnet/dotnet %{buildroot}%{_bindir}/
|
|
|
9939d1 |
|
|
|
9939d1 |
install -dm 0755 %{buildroot}%{_mandir}/man1/
|
|
|
9939d1 |
find -iname 'dotnet*.1' -type f -exec cp {} %{buildroot}%{_mandir}/man1/ \;
|
|
|
9939d1 |
|
|
|
9939d1 |
install -dm 0755 %{buildroot}%{_sysconfdir}/dotnet
|
|
|
9939d1 |
echo "%{_libdir}/dotnet" >> install_location
|
|
|
9939d1 |
install install_location %{buildroot}%{_sysconfdir}/dotnet/
|
|
|
9939d1 |
echo "%{_libdir}/dotnet" >> install_location_%{runtime_arch}
|
|
|
9939d1 |
install install_location_%{runtime_arch} %{buildroot}%{_sysconfdir}/dotnet/
|
|
|
9939d1 |
|
|
|
9939d1 |
install -dm 0755 %{buildroot}%{_libdir}/dotnet/source-built-artifacts
|
|
|
9939d1 |
install -m 0644 artifacts/%{runtime_arch}/Release/Private.SourceBuilt.Artifacts.*.tar.gz %{buildroot}/%{_libdir}/dotnet/source-built-artifacts/
|
|
|
9939d1 |
|
|
|
535303 |
# Quick and dirty check for https://github.com/dotnet/source-build/issues/2731
|
|
|
535303 |
test -f %{buildroot}%{_libdir}/dotnet/sdk/%{sdk_version}/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props
|
|
|
9939d1 |
|
|
|
9939d1 |
# Check debug symbols in all elf objects. This is not in %%check
|
|
|
9939d1 |
# because native binaries are stripped by rpm-build after %%install.
|
|
|
9939d1 |
# So we need to do this check earlier.
|
|
|
9939d1 |
echo "Testing build results for debug symbols..."
|
|
|
9939d1 |
%{SOURCE10} -v %{buildroot}%{_libdir}/dotnet/
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%check
|
|
|
9939d1 |
%{buildroot}%{_libdir}/dotnet/dotnet --info
|
|
|
2547b6 |
%{buildroot}%{_libdir}/dotnet/dotnet --version
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}dotnet
|
|
|
9939d1 |
# empty package useful for dependencies
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}dotnet-host
|
|
|
9939d1 |
%dir %{_libdir}/dotnet
|
|
|
9939d1 |
%{_libdir}/dotnet/dotnet
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/host
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/host/fxr
|
|
|
9939d1 |
%{_bindir}/dotnet
|
|
|
9939d1 |
%license %{_libdir}/dotnet/LICENSE.txt
|
|
|
9939d1 |
%license %{_libdir}/dotnet/ThirdPartyNotices.txt
|
|
|
9939d1 |
%doc %{_mandir}/man1/dotnet*.1.gz
|
|
|
9939d1 |
%config(noreplace) %{_sysconfdir}/profile.d/dotnet.sh
|
|
|
9939d1 |
%config(noreplace) %{_sysconfdir}/dotnet
|
|
|
9939d1 |
%dir %{_root_datadir}/bash-completion
|
|
|
9939d1 |
%dir %{_root_datadir}/bash-completion/completions
|
|
|
9939d1 |
%{_root_datadir}/bash-completion/completions/dotnet
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}dotnet-hostfxr-6.0
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/host/fxr
|
|
|
9939d1 |
%{_libdir}/dotnet/host/fxr/%{host_version}
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}dotnet-runtime-6.0
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/shared
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/shared/Microsoft.NETCore.App
|
|
|
9939d1 |
%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}aspnetcore-runtime-6.0
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/shared
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/shared/Microsoft.AspNetCore.App
|
|
|
9939d1 |
%{_libdir}/dotnet/shared/Microsoft.AspNetCore.App/%{aspnetcore_runtime_version}
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}dotnet-templates-6.0
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/templates
|
|
|
9939d1 |
%{_libdir}/dotnet/templates/%{templates_version}
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}dotnet-sdk-6.0
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/sdk
|
|
|
9939d1 |
%{_libdir}/dotnet/sdk/%{sdk_version}
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/sdk-manifests
|
|
|
2547b6 |
%{_libdir}/dotnet/sdk-manifests/%{sdk_feature_band_version}
|
|
|
9939d1 |
%{_libdir}/dotnet/metadata
|
|
|
9939d1 |
%dir %{_libdir}/dotnet/packs
|
|
|
9939d1 |
|
|
|
9939d1 |
%files -n %{?scl_prefix}dotnet-sdk-6.0-source-built-artifacts
|
|
|
9939d1 |
%dir %{_libdir}/dotnet
|
|
|
9939d1 |
%{_libdir}/dotnet/source-built-artifacts
|
|
|
9939d1 |
|
|
|
9939d1 |
|
|
|
9939d1 |
%changelog
|
|
|
e5883b |
* Thu Jul 14 2022 Andrew Slice <andrew.slice@redhat.com> - 6.0.107-1
|
|
|
e5883b |
- Update to .NET SDK 6.0.107 and Runtime 6.0.7
|
|
|
e5883b |
- Resolves: RHBZ#2103267
|
|
|
e5883b |
|
|
|
5de809 |
* Fri Jun 03 2022 Omair Majid <omajid@redhat.com> - 6.0.106-1
|
|
|
5de809 |
- Update to .NET SDK 6.0.106 and Runtime 6.0.6
|
|
|
5de809 |
- Resolves: RHBZ#2093429
|
|
|
5de809 |
|
|
|
37fa24 |
* Thu May 05 2022 Omair Majid <omajid@redhat.com> - 6.0.105-1
|
|
|
37fa24 |
- Update to .NET SDK 6.0.105 and Runtime 6.0.5
|
|
|
37fa24 |
- Resolves: RHBZ#2082264
|
|
|
37fa24 |
|
|
|
991444 |
* Tue Apr 05 2022 Omair Majid <omajid@redhat.com> - 6.0.104-1
|
|
|
991444 |
- Update to .NET SDK 6.0.104 and Runtime 6.0.4
|
|
|
991444 |
- Resolves: RHBZ#2072103
|
|
|
991444 |
|
|
|
c8ad0e |
* Mon Mar 07 2022 Omair Majid <omajid@redhat.com> - 6.0.103-3
|
|
|
c8ad0e |
- Rebuild against .NET 6.0.102
|
|
|
c8ad0e |
- Resolves: RHBZ#2059635
|
|
|
c8ad0e |
|
|
|
c8ad0e |
* Thu Mar 03 2022 Omair Majid <omajid@redhat.com> - 6.0.103-2
|
|
|
c8ad0e |
- Update to new source drop for .NET SDK 6.0.103 and Runtime 6.0.3
|
|
|
c8ad0e |
- Resolves: RHBZ#2059635
|
|
|
c8ad0e |
|
|
|
c8ad0e |
* Wed Mar 02 2022 Omair Majid <omajid@redhat.com> - 6.0.103-1
|
|
|
c8ad0e |
- Update to .NET SDK 6.0.103 and Runtime 6.0.3
|
|
|
c8ad0e |
- Resolves: RHBZ#2059635
|
|
|
c8ad0e |
|
|
|
535303 |
* Sun Jan 30 2022 Omair Majid <omajid@redhat.com> - 6.0.102-1
|
|
|
535303 |
- Update to .NET SDK 6.0.102 and Runtime 6.0.2
|
|
|
535303 |
- Resolves: RHBZ#2048255
|
|
|
535303 |
|
|
|
2547b6 |
* Thu Dec 16 2021 Omair Majid <omajid@redhat.com> - 6.0.101-2
|
|
|
2547b6 |
- Fix userlocal sdk installation
|
|
|
2547b6 |
- Related: RHBZ#2030381
|
|
|
2547b6 |
|
|
|
2547b6 |
* Wed Dec 08 2021 Omair Majid <omajid@redhat.com> - 6.0.101-1
|
|
|
2547b6 |
- Update to .NET SDK 6.0.101 and Runtime 6.0.1
|
|
|
2547b6 |
- Resolves: RHBZ#2030381
|
|
|
2547b6 |
|
|
|
9939d1 |
* Wed Nov 03 2021 Omair Majid <omajid@redhat.com> - 6.0.100-2
|
|
|
9939d1 |
- Disable bootstrap
|
|
|
9939d1 |
- Related: RHBZ#2016419
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Nov 02 2021 Omair Majid <omajid@redhat.com> - 6.0.100-1
|
|
|
9939d1 |
- Initial build for .NET 6 on RHEL 7
|
|
|
9939d1 |
- Resolves: RHBZ#2016419
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Jul 26 2021 Omair Majid <omajid@redhat.com> - 5.0.205-2
|
|
|
9939d1 |
- Updated to new upstream release of SDK 5.0.205 and Runtime 5.0.8
|
|
|
9939d1 |
- Resolves: RHBZ#1985444
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Jul 07 2021 Andrew Slice <aslice@redhat.com> - 5.0.205-1
|
|
|
9939d1 |
- Update to .NET SDK 5.0.205 and Runtime 5.0.8
|
|
|
9939d1 |
- Added a patch to remove references to the tests directory from other patches.
|
|
|
9939d1 |
- Resolves: RHBZ#1979991
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon May 31 2021 Omair Majid <omajid@redhat.com> - 5.0.204-1
|
|
|
9939d1 |
- Update to .NET SDK 5.0.204 and Runtime 5.0.7
|
|
|
9939d1 |
- Resolves: RHBZ#1966163
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Apr 29 2021 Omair Majid <omajid@redhat.com> - 5.0.203-1
|
|
|
9939d1 |
- Update to .NET SDK 5.0.203 and Runtime 5.0.6
|
|
|
9939d1 |
- Resolves: RHBZ#1954326
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Apr 09 2021 Omair Majid <omajid@redhat.com> - 5.0.202-2
|
|
|
9939d1 |
- Remove execute permissions on some text files
|
|
|
9939d1 |
- Resolves: RHBZ#1947599
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Apr 08 2021 Omair Majid <omajid@redhat.com> - 5.0.202-1
|
|
|
9939d1 |
- Update to .NET SDK 5.0.202 and Runtime 5.0.5
|
|
|
9939d1 |
- Resolves: RHBZ#1947599
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Mar 03 2021 Omair Majid <omajid@redhat.com> - 5.0.104-1
|
|
|
9939d1 |
- Update to .NET SDK 5.0.104 and Runtime 5.0.4
|
|
|
9939d1 |
- Resolves: RHBZ#1934240
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Feb 03 2021 Omair Majid <omajid@redhat.com> - 5.0.103-1
|
|
|
9939d1 |
- Update to .NET SDK 5.0.103 and Runtime 5.0.3
|
|
|
9939d1 |
- Resolves: RHBZ#1924761
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Jan 04 2021 Omair Majid <omajid@redhat.com> - 5.0.102-1
|
|
|
9939d1 |
- Update to .NET SDK 5.0.102 and Runtime 5.0.2
|
|
|
9939d1 |
- Resolves: RHBZ#1912568
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Dec 04 2020 Omair Majid <omajid@redhat.com> - 5.0.100-1
|
|
|
9939d1 |
- Update to SDK 5.0.100 and Runtime 5.0.0
|
|
|
9939d1 |
- Resolves: RHBZ#1897368
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Nov 30 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.5.20201130git28f73b9
|
|
|
9939d1 |
- Remove additional source files with unknown licenses
|
|
|
9939d1 |
- Resolves: RHBZ#1897368
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Nov 23 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.4.20201123git28f73b9
|
|
|
9939d1 |
- Update to newer pre-release commit of SDK 5.0.100 and Runtime 5.0.0
|
|
|
9939d1 |
- Resolves: RHBZ#1897368
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Nov 16 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.3.20201110git8d3666b
|
|
|
9939d1 |
- Update to pre-release commit of SDK 5.0.100 and Runtime 5.0.0
|
|
|
9939d1 |
- Resolves: RHBZ#1897368
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Oct 23 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.2.rc1
|
|
|
9939d1 |
- Update to SDK 5.0.100 RC1 and Runtime 5.0.0 RC1
|
|
|
9939d1 |
- Resolves: RHBZ#1891136
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Sep 21 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.6.preview8
|
|
|
9939d1 |
- Initial build for RHEL 7
|
|
|
9939d1 |
- Resolves: RHBZ#1879711
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Sep 15 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.6.preview8
|
|
|
9939d1 |
- Switch to a smaller tarball
|
|
|
9939d1 |
- Fix restore-with-rid
|
|
|
9939d1 |
- Resolves: RHBZ#1835019
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Sep 14 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.5.preview8
|
|
|
9939d1 |
- Fix package descriptions
|
|
|
9939d1 |
- Fix permissions in installed files
|
|
|
9939d1 |
- Resolves: RHBZ#1835019
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Sep 11 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.4.preview8
|
|
|
9939d1 |
- Update to .NET SDK 5.0 Preview 8
|
|
|
9939d1 |
- Remove "Core" from descriptions
|
|
|
9939d1 |
- Resolves: RHBZ#1835019
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Aug 21 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.3.preview4
|
|
|
9939d1 |
- Generate new source tarball with test files removed.
|
|
|
9939d1 |
- Resolves: RHBZ#1835019
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Aug 06 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.2.preview4
|
|
|
9939d1 |
- Backport cmake compatiblity fix
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jul 10 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.2.preview4
|
|
|
9939d1 |
- Fix building with custom CFLAGS/CXXFLAGS/LDFLAGS
|
|
|
9939d1 |
- Clean up patches
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Jul 06 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.1.preview4
|
|
|
9939d1 |
- Initial build
|
|
|
9939d1 |
|
|
|
9939d1 |
* Sat Jun 27 2020 Omair Majid <omajid@redhat.com> - 3.1.105-4
|
|
|
9939d1 |
- Disable bootstrap
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jun 26 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
|
|
|
9939d1 |
- Re-bootstrap aarch64
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jun 19 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
|
|
|
9939d1 |
- Disable bootstrap
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Jun 18 2020 Omair Majid <omajid@redhat.com> - 3.1.105-1
|
|
|
9939d1 |
- Bootstrap aarch64
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Jun 16 2020 Chris Rummel <crummel@microsoft.com> - 3.1.105-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.1.5 and SDK 3.1.105
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jun 05 2020 Chris Rummel <crummel@microsoft.com> - 3.1.104-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.1.4 and SDK 3.1.104
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Apr 09 2020 Chris Rummel <crummel@microsoft.com> - 3.1.103-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.1.3 and SDK 3.1.103
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Mar 16 2020 Omair Majid <omajid@redhat.com> - 3.1.102-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.1.2 and SDK 3.1.102
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-4
|
|
|
9939d1 |
- Disable bootstrap
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-3
|
|
|
9939d1 |
- Enable bootstrap
|
|
|
9939d1 |
- Add Fedora 33 runtime ids
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Feb 27 2020 Omair Majid <omajid@redhat.com> - 3.1.101-2
|
|
|
9939d1 |
- Disable bootstrap
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Jan 21 2020 Omair Majid <omajid@redhat.com> - 3.1.101-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.1.1 and SDK 3.1.101
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Dec 05 2019 Omair Majid <omajid@redhat.com> - 3.1.100-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.1.0 and SDK 3.1.100
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.4.preview3
|
|
|
9939d1 |
- Fix apphost permissions
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Nov 15 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.3.preview3
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.1.0-preview3.19553.2 and SDK
|
|
|
9939d1 |
3.1.100-preview3-014645
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Nov 06 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.2
|
|
|
9939d1 |
- Update to .NET Core 3.1 Preview 2
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Oct 30 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.1
|
|
|
9939d1 |
- Update to .NET Core 3.1 Preview 1
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Oct 24 2019 Omair Majid <omajid@redhat.com> - 3.0.100-5
|
|
|
9939d1 |
- Add cgroupv2 support to .NET Core
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-4
|
|
|
9939d1 |
- Include fix from coreclr for building on Fedora 32
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-3
|
|
|
9939d1 |
- Harden built binaries to pass annocheck
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Oct 11 2019 Omair Majid <omajid@redhat.com> - 3.0.100-2
|
|
|
9939d1 |
- Export DOTNET_ROOT in profile to make apphost lookup work
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Sep 27 2019 Omair Majid <omajid@redhat.com> - 3.0.100-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.0.0 and SDK 3.0.100
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Sep 25 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.18.rc1
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.0.0-rc1-19456-20 and SDK 3.0.100-rc1-014190
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Sep 17 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.16.preview9
|
|
|
9939d1 |
- Fix files duplicated between dotnet-apphost-pack-3.0 and dotnet-targeting-pack-3.0
|
|
|
9939d1 |
- Fix dependencies between .NET SDK and the targeting packs
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Sep 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.15.preview9
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.0.0-preview 9 and SDK 3.0.100-preview9
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Aug 19 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.11.preview8
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.0.0-preview8-28405-07 and SDK
|
|
|
9939d1 |
3.0.100-preview8-013656
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Jul 30 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.9.preview7
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.0.0-preview7-27912-14 and SDK
|
|
|
9939d1 |
3.0.100-preview7-012821
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jul 26 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.8.preview7
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.0.0-preview7-27902-19 and SDK
|
|
|
9939d1 |
3.0.100-preview7-012802
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.7.preview6
|
|
|
9939d1 |
- Obsolete dotnet-sdk-3.0.1xx
|
|
|
9939d1 |
- Add supackages for targeting packs
|
|
|
9939d1 |
- Add -fcf-protection to CFLAGS
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.6.preview6
|
|
|
9939d1 |
- Update to .NET Core Runtime 3.0.0-preview6-27804-01 and SDK 3.0.100-preview6-012264
|
|
|
9939d1 |
- Set dotnet installation location in /etc/dotnet/install_location
|
|
|
9939d1 |
- Update targeting packs
|
|
|
9939d1 |
- Install managed symbols
|
|
|
9939d1 |
- Completely conditionalize libunwind bundling
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue May 07 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.3.preview4
|
|
|
9939d1 |
- Update to .NET Core 3.0 preview 4
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Dec 18 2018 Omair Majid <omajid@redhat.com> - 3.0.0-0.1.preview1
|
|
|
9939d1 |
- Update to .NET Core 3.0 preview 1
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Dec 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100
|
|
|
9939d1 |
- Update to .NET Core 2.2.0
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Nov 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100-0.2.preview3
|
|
|
9939d1 |
- Update to .NET Core 2.2.0-preview3
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Nov 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-3
|
|
|
9939d1 |
- Add host-fxr-2.1 subpackage
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Oct 15 2018 Omair Majid <omajid@redhat.com> - 2.1.403-2
|
|
|
9939d1 |
- Disable telemetry by default
|
|
|
9939d1 |
- Users have to manually export DOTNET_CLI_TELEMETRY_OPTOUT=0 to enable
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Oct 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 2.1.5 and SDK 2.1.403
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Sep 26 2018 Omair Majid <omajid@redhat.com> - 2.1.402-2
|
|
|
9939d1 |
- Add ~/.dotnet/tools to $PATH to make it easier to use dotnet tools
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Sep 13 2018 Omair Majid <omajid@redhat.com> - 2.1.402-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 2.1.4 and SDK 2.1.402
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Sep 05 2018 Omair Majid <omajid@redhat.com> - 2.1.401-2
|
|
|
9939d1 |
- Use distro-standard flags when building .NET Core
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Aug 21 2018 Omair Majid <omajid@redhat.com> - 2.1.401-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 2.1.3 and SDK 2.1.401
|
|
|
9939d1 |
|
|
|
9939d1 |
* Mon Aug 20 2018 Omair Majid <omajid@redhat.com> - 2.1.302-1
|
|
|
9939d1 |
- Update to .NET Core Runtime 2.1.2 and SDK 2.1.302
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jul 20 2018 Omair Majid <omajid@redhat.com> - 2.1.301-1
|
|
|
9939d1 |
- Update to .NET Core 2.1
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu May 03 2018 Omair Majid <omajid@redhat.com> - 2.0.7-1
|
|
|
9939d1 |
- Update to .NET Core 2.0.7
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Mar 28 2018 Omair Majid <omajid@redhat.com> - 2.0.6-2
|
|
|
9939d1 |
- Enable bash completion for dotnet
|
|
|
9939d1 |
- Remove redundant buildrequires and requires
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Mar 14 2018 Omair Majid <omajid@redhat.com> - 2.0.6-1
|
|
|
9939d1 |
- Update to .NET Core 2.0.6
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Feb 23 2018 Omair Majid <omajid@redhat.com> - 2.0.5-1
|
|
|
9939d1 |
- Update to .NET Core 2.0.5
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Jan 24 2018 Omair Majid <omajid@redhat.com> - 2.0.3-5
|
|
|
9939d1 |
- Don't apply corefx clang warnings fix on clang < 5
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jan 19 2018 Omair Majid <omajid@redhat.com> - 2.0.3-4
|
|
|
9939d1 |
- Add a test script to sanity check debug and symbol info.
|
|
|
9939d1 |
- Build with clang 5.0
|
|
|
9939d1 |
- Make main package real instead of using a virtual provides (see RHBZ 1519325)
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Nov 29 2017 Omair Majid <omajid@redhat.com> - 2.0.3-3
|
|
|
9939d1 |
- Add a Provides for 'dotnet'
|
|
|
9939d1 |
- Fix conditional macro
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Nov 28 2017 Omair Majid <omajid@redhat.com> - 2.0.3-2
|
|
|
9939d1 |
- Fix build on Fedora 27
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Nov 17 2017 Omair Majid <omajid@redhat.com> - 2.0.3-1
|
|
|
9939d1 |
- Update to .NET Core 2.0.3
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Oct 19 2017 Omair Majid <omajid@redhat.com> - 2.0.0-4
|
|
|
9939d1 |
- Add a hack to let omnisharp work
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Aug 30 2017 Omair Majid <omajid@redhat.com> - 2.0.0-3
|
|
|
9939d1 |
- Add a patch for building coreclr and core-setup correctly on Fedora >= 27
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Aug 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-2
|
|
|
9939d1 |
- Move libicu/libcurl/libunwind requires to runtime package
|
|
|
9939d1 |
- Make sdk depend on the exact version of the runtime package
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Aug 24 2017 Omair Majid <omajid@redhat.com> - 2.0.0-1
|
|
|
9939d1 |
- Update to 2.0.0 final release
|
|
|
9939d1 |
|
|
|
9939d1 |
* Wed Jul 26 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.3.preview2
|
|
|
9939d1 |
- Add man pages
|
|
|
9939d1 |
|
|
|
9939d1 |
* Tue Jul 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.2.preview2
|
|
|
9939d1 |
- Add Requires on libicu
|
|
|
9939d1 |
- Split into multiple packages
|
|
|
9939d1 |
- Do not repeat first-run message
|
|
|
9939d1 |
|
|
|
9939d1 |
* Fri Jul 21 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.1.preview2
|
|
|
9939d1 |
- Update to .NET Core 2.0 Preview 2
|
|
|
9939d1 |
|
|
|
9939d1 |
* Thu Mar 16 2017 Nemanja Milošević <nmilosevnm@gmail.com> - 1.1.0-7
|
|
|
9939d1 |
- rebuilt with latest libldb
|
|
|
9939d1 |
* Wed Feb 22 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-6
|
|
|
9939d1 |
- compat-openssl 1.0 for F26 for now
|
|
|
9939d1 |
* Sun Feb 19 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-5
|
|
|
9939d1 |
- Fix wrong commit id's
|
|
|
9939d1 |
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-4
|
|
|
9939d1 |
- Use commit id's instead of branch names
|
|
|
9939d1 |
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-3
|
|
|
9939d1 |
- Improper patch5 fix
|
|
|
9939d1 |
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-2
|
|
|
9939d1 |
- SPEC cleanup
|
|
|
9939d1 |
- git removal (using all tarballs for reproducible builds)
|
|
|
9939d1 |
- more reasonable versioning
|
|
|
9939d1 |
* Thu Feb 09 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-1
|
|
|
9939d1 |
- Fixed debuginfo going to separate package (Patch1)
|
|
|
9939d1 |
- Added F25/F26 RIL and fixed the version info (Patch2)
|
|
|
9939d1 |
- Added F25/F26 RIL in Microsoft.NETCore.App suported runtime graph (Patch3)
|
|
|
9939d1 |
- SPEC file cleanup
|
|
|
9939d1 |
* Wed Jan 11 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-0
|
|
|
9939d1 |
- Initial RPM for Fedora 25/26.
|