Blame SPECS/dotnet6.0.spec

b8d0d9
%bcond_with bootstrap
8c3e2c
8c3e2c
# Avoid provides/requires from private libraries
8c3e2c
%global privlibs             libhostfxr
8c3e2c
%global privlibs %{privlibs}|libclrjit
8c3e2c
%global privlibs %{privlibs}|libcoreclr
8c3e2c
%global privlibs %{privlibs}|libcoreclrtraceptprovider
8c3e2c
%global privlibs %{privlibs}|libdbgshim
8c3e2c
%global privlibs %{privlibs}|libhostpolicy
8c3e2c
%global privlibs %{privlibs}|libmscordaccore
8c3e2c
%global privlibs %{privlibs}|libmscordbi
8c3e2c
%global privlibs %{privlibs}|libsos
8c3e2c
%global privlibs %{privlibs}|libsosplugin
8c3e2c
%global __provides_exclude ^(%{privlibs})\\.so
8c3e2c
%global __requires_exclude ^(%{privlibs})\\.so
8c3e2c
8c3e2c
# LTO triggers a compilation error for a source level issue.  Given that LTO should not
8c3e2c
# change the validity of any given source and the nature of the error (undefined enum), I
8c3e2c
# suspect a generator program is mis-behaving in some way.  This needs further debugging,
8c3e2c
# until that's done, disable LTO.  This has to happen before setting the flags below.
8c3e2c
%define _lto_cflags %{nil}
8c3e2c
948f9c
%global host_version 6.0.12
948f9c
%global runtime_version 6.0.12
489f47
%global aspnetcore_runtime_version %{runtime_version}
948f9c
%global sdk_version 6.0.112
3afb15
%global sdk_feature_band_version %(echo %{sdk_version} | sed -e 's|[[:digit:]][[:digit:]]$|00|')
489f47
%global templates_version %{runtime_version}
8c3e2c
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
8c3e2c
b8d0d9
%global host_rpm_version %{host_version}
b8d0d9
%global runtime_rpm_version %{runtime_version}
b8d0d9
%global aspnetcore_runtime_rpm_version %{aspnetcore_runtime_version}
b8d0d9
%global sdk_rpm_version %{sdk_version}
8c3e2c
8c3e2c
# upstream can update releases without revving the SDK version so these don't always match
13a840
%global upstream_tag v%{sdk_version}
8c3e2c
8c3e2c
%if 0%{?fedora} || 0%{?rhel} < 8
8c3e2c
%global use_bundled_libunwind 0
8c3e2c
%else
8c3e2c
%global use_bundled_libunwind 1
8c3e2c
%endif
8c3e2c
8c3e2c
%ifarch aarch64 s390x
8c3e2c
%global use_bundled_libunwind 1
8c3e2c
%endif
8c3e2c
8c3e2c
%ifarch x86_64
8c3e2c
%global runtime_arch x64
8c3e2c
%endif
8c3e2c
%ifarch aarch64
8c3e2c
%global runtime_arch arm64
8c3e2c
%endif
8c3e2c
%ifarch s390x
8c3e2c
%global runtime_arch s390x
8c3e2c
%endif
8c3e2c
8c3e2c
%{!?runtime_id:%global runtime_id %(. /etc/os-release ; echo "${ID}.${VERSION_ID%%.*}")-%{runtime_arch}}
8c3e2c
8c3e2c
Name:           dotnet6.0
8c3e2c
Version:        %{sdk_rpm_version}
7129f8
Release:        1%{?dist}
8c3e2c
Summary:        .NET Runtime and SDK
8c3e2c
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
8c3e2c
URL:            https://github.com/dotnet/
8c3e2c
b8d0d9
%if %{with bootstrap}
b8d0d9
# The source is generated on a RHEL box via:
8c3e2c
# ./build-dotnet-tarball --bootstrap %%{upstream_tag}
8c3e2c
Source0:        dotnet-%{upstream_tag}-x64-bootstrap.tar.xz
b8d0d9
# Generated via ./build-arm64-bootstrap-tarball
b8d0d9
Source1:        dotnet-arm64-prebuilts-2021-10-29.tar.gz
b8d0d9
# Generated manually, same pattern as the arm64 tarball
b8d0d9
Source2:        dotnet-s390x-prebuilts-2021-10-29.tar.gz
b8d0d9
%else
b8d0d9
# The source is generated on a RHEL box via:
b8d0d9
# ./build-dotnet-tarball %%{upstream_tag}
b8d0d9
Source0:        dotnet-%{upstream_tag}.tar.gz
b8d0d9
%endif
b8d0d9
8c3e2c
8c3e2c
Source10:       check-debug-symbols.py
8c3e2c
Source11:       dotnet.sh.in
8c3e2c
8c3e2c
# Fix using lld on RHEL
b8d0d9
Patch100:       runtime-arm64-lld-fix.patch
b8d0d9
#  Mono still has a dependency on (now unbuildable) ILStrip which was removed from CoreCLR: https://github.com/dotnet/runtime/pull/60315
b8d0d9
Patch101:       runtime-mono-remove-ilstrip.patch
8c3e2c
8c3e2c
# Disable apphost, needed for s390x
c24352
Patch500:       fsharp-no-apphost.patch
c6de7a
8c3e2c
# Disable apphost, needed for s390x
8c3e2c
Patch700:       arcade-no-apphost.patch
8c3e2c
b8d0d9
# Named mutex fix for mono, needed for s390x. https://github.com/dotnet/roslyn/pull/57003
b8d0d9
Patch800:       roslyn-57003-mono-named-mutex.patch
8c3e2c
# Disable apphost, needed for s390x
b8d0d9
Patch801:       roslyn-no-apphost.patch
8c3e2c
8c3e2c
# Disable apphost, needed for s390x
8c3e2c
Patch900:       roslyn-analyzers-no-apphost.patch
8c3e2c
b8d0d9
# Fix mono-specific runtime crashes running msbuild. CoreCLR does not
b8d0d9
# load types that are not actually used/invoked at runtime, while mono
b8d0d9
# does. System.Configuration and System.Security are missing in
b8d0d9
# source-build builds, which breaks msbuild.
b8d0d9
Patch1000:      msbuild-no-systemsecurity.patch
b8d0d9
Patch1001:      msbuild-no-systemconfiguration.patch
8c3e2c
8c3e2c
# Disable telemetry by default; make it opt-in
8c3e2c
Patch1500:      sdk-telemetry-optout.patch
b8d0d9
# https://github.com/dotnet/sdk/pull/22373
b8d0d9
Patch1501:      sdk-22373-portablerid.patch
8c3e2c
8c3e2c
8c3e2c
%if 0%{?fedora} || 0%{?rhel} >= 8
8c3e2c
ExclusiveArch:  aarch64 x86_64 s390x
8c3e2c
%else
8c3e2c
ExclusiveArch:  x86_64
8c3e2c
%endif
8c3e2c
8c3e2c
BuildRequires:  clang
8c3e2c
BuildRequires:  cmake
8c3e2c
BuildRequires:  coreutils
8c3e2c
%if %{without bootstrap}
8c3e2c
BuildRequires:  dotnet-sdk-6.0
8c3e2c
BuildRequires:  dotnet-sdk-6.0-source-built-artifacts
8c3e2c
%endif
8c3e2c
BuildRequires:  findutils
8c3e2c
BuildRequires:  git
8c3e2c
%if 0%{?fedora} || 0%{?rhel} > 7
8c3e2c
BuildRequires:  glibc-langpack-en
8c3e2c
%endif
8c3e2c
BuildRequires:  hostname
8c3e2c
BuildRequires:  krb5-devel
8c3e2c
BuildRequires:  libicu-devel
8c3e2c
%if ! %{use_bundled_libunwind}
8c3e2c
BuildRequires:  libunwind-devel
8c3e2c
%endif
8c3e2c
%ifarch aarch64
8c3e2c
BuildRequires:  lld
8c3e2c
%endif
8c3e2c
BuildRequires:  llvm
8c3e2c
BuildRequires:  lttng-ust-devel
8c3e2c
BuildRequires:  make
8c3e2c
BuildRequires:  openssl-devel
8c3e2c
BuildRequires:  python3
8c3e2c
BuildRequires:  tar
8c3e2c
BuildRequires:  util-linux
8c3e2c
BuildRequires:  zlib-devel
8c3e2c
8c3e2c
%description
8c3e2c
.NET is a fast, lightweight and modular platform for creating
8c3e2c
cross platform applications that work on Linux, macOS and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
.NET contains a runtime conforming to .NET Standards a set of
8c3e2c
framework libraries, an SDK containing compilers and a 'dotnet'
8c3e2c
application to drive everything.
8c3e2c
8c3e2c
8c3e2c
%package -n dotnet
8c3e2c
8c3e2c
Version:        %{sdk_rpm_version}
8c3e2c
Summary:        .NET CLI tools and runtime
8c3e2c
8c3e2c
Requires:       dotnet-sdk-6.0%{?_isa} >= %{sdk_rpm_version}-%{release}
8c3e2c
8c3e2c
%description -n dotnet
8c3e2c
.NET is a fast, lightweight and modular platform for creating
8c3e2c
cross platform applications that work on Linux, macOS and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
.NET contains a runtime conforming to .NET Standards a set of
8c3e2c
framework libraries, an SDK containing compilers and a 'dotnet'
8c3e2c
application to drive everything.
8c3e2c
8c3e2c
8c3e2c
%package -n dotnet-host
8c3e2c
8c3e2c
Version:        %{host_rpm_version}
8c3e2c
Summary:        .NET command line launcher
8c3e2c
8c3e2c
%description -n dotnet-host
8c3e2c
The .NET host is a command line program that runs a standalone
8c3e2c
.NET application or launches the SDK.
8c3e2c
8c3e2c
.NET is a fast, lightweight and modular platform for creating
8c3e2c
cross platform applications that work on Linux, Mac and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
8c3e2c
%package -n dotnet-hostfxr-6.0
8c3e2c
8c3e2c
Version:        %{host_rpm_version}
8c3e2c
Summary:        .NET command line host resolver
8c3e2c
8c3e2c
# Theoretically any version of the host should work. But lets aim for the one
8c3e2c
# provided by this package, or from a newer version of .NET
8c3e2c
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
8c3e2c
8c3e2c
%description -n dotnet-hostfxr-6.0
8c3e2c
The .NET host resolver contains the logic to resolve and select
8c3e2c
the right version of the .NET SDK or runtime to use.
8c3e2c
8c3e2c
.NET is a fast, lightweight and modular platform for creating
8c3e2c
cross platform applications that work on Linux, Mac and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
8c3e2c
%package -n dotnet-runtime-6.0
8c3e2c
8c3e2c
Version:        %{runtime_rpm_version}
8c3e2c
Summary:        NET 6.0 runtime
8c3e2c
8c3e2c
Requires:       dotnet-hostfxr-6.0%{?_isa} >= %{host_rpm_version}-%{release}
8c3e2c
8c3e2c
# libicu is dlopen()ed
8c3e2c
Requires:       libicu%{?_isa}
8c3e2c
3bdaa6
# See src/runtime/src/libraries/Native/AnyOS/brotli-version.txt
3afb15
Provides: bundled(libbrotli) = 1.0.9
8c3e2c
%if %{use_bundled_libunwind}
3bdaa6
# See runtime/src/coreclr/pal/src/libunwind/libunwind-version.txt
8c3e2c
Provides: bundled(libunwind) = 1.5.rc1.28.g9165d2a1
8c3e2c
%endif
8c3e2c
8c3e2c
%description -n dotnet-runtime-6.0
8c3e2c
The .NET runtime contains everything needed to run .NET applications.
8c3e2c
It includes a high performance Virtual Machine as well as the framework
8c3e2c
libraries used by .NET applications.
8c3e2c
8c3e2c
.NET is a fast, lightweight and modular platform for creating
8c3e2c
cross platform applications that work on Linux, Mac and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
8c3e2c
%package -n aspnetcore-runtime-6.0
8c3e2c
8c3e2c
Version:        %{aspnetcore_runtime_rpm_version}
8c3e2c
Summary:        ASP.NET Core 6.0 runtime
8c3e2c
8c3e2c
Requires:       dotnet-runtime-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
8c3e2c
8c3e2c
%description -n aspnetcore-runtime-6.0
8c3e2c
The ASP.NET Core runtime contains everything needed to run .NET
8c3e2c
web applications. It includes a high performance Virtual Machine as
8c3e2c
well as the framework libraries used by .NET applications.
8c3e2c
8c3e2c
ASP.NET Core is a fast, lightweight and modular platform for creating
8c3e2c
cross platform web applications that work on Linux, Mac and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
8c3e2c
%package -n dotnet-templates-6.0
8c3e2c
8c3e2c
Version:        %{sdk_rpm_version}
8c3e2c
Summary:        .NET 6.0 templates
8c3e2c
8c3e2c
# Theoretically any version of the host should work. But lets aim for the one
8c3e2c
# provided by this package, or from a newer version of .NET
8c3e2c
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
8c3e2c
8c3e2c
%description -n dotnet-templates-6.0
8c3e2c
This package contains templates used by the .NET SDK.
8c3e2c
8c3e2c
.NET is a fast, lightweight and modular platform for creating
8c3e2c
cross platform applications that work on Linux, Mac and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
8c3e2c
%package -n dotnet-sdk-6.0
8c3e2c
8c3e2c
Version:        %{sdk_rpm_version}
8c3e2c
Summary:        .NET 6.0 Software Development Kit
8c3e2c
8c3e2c
Provides:       bundled(js-jquery)
8c3e2c
8c3e2c
Requires:       dotnet-runtime-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
8c3e2c
Requires:       aspnetcore-runtime-6.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
8c3e2c
8c3e2c
Requires:       dotnet-apphost-pack-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
8c3e2c
Requires:       dotnet-targeting-pack-6.0%{?_isa} >= %{runtime_rpm_version}-%{release}
8c3e2c
Requires:       aspnetcore-targeting-pack-6.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
8c3e2c
Requires:       netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release}
8c3e2c
8c3e2c
Requires:       dotnet-templates-6.0%{?_isa} >= %{sdk_rpm_version}-%{release}
8c3e2c
8c3e2c
%description -n dotnet-sdk-6.0
8c3e2c
The .NET SDK is a collection of command line applications to
8c3e2c
create, build, publish and run .NET applications.
8c3e2c
8c3e2c
.NET is a fast, lightweight and modular platform for creating
8c3e2c
cross platform applications that work on Linux, Mac and Windows.
8c3e2c
8c3e2c
It particularly focuses on creating console applications, web
8c3e2c
applications and micro-services.
8c3e2c
8c3e2c
8c3e2c
%global dotnet_targeting_pack() %{expand:
8c3e2c
%package -n %{1}
8c3e2c
8c3e2c
Version:        %{2}
8c3e2c
Summary:        Targeting Pack for %{3} %{4}
8c3e2c
8c3e2c
Requires:       dotnet-host%{?_isa}
8c3e2c
8c3e2c
%description -n %{1}
8c3e2c
This package provides a targeting pack for %{3} %{4}
8c3e2c
that allows developers to compile against and target %{3} %{4}
8c3e2c
applications using the .NET SDK.
8c3e2c
8c3e2c
%files -n %{1}
8c3e2c
%dir %{_libdir}/dotnet/packs
8c3e2c
%{_libdir}/dotnet/packs/%{5}
8c3e2c
}
8c3e2c
8c3e2c
%dotnet_targeting_pack dotnet-apphost-pack-6.0 %{runtime_rpm_version} Microsoft.NETCore.App 6.0 Microsoft.NETCore.App.Host.%{runtime_id}
8c3e2c
%dotnet_targeting_pack dotnet-targeting-pack-6.0 %{runtime_rpm_version} Microsoft.NETCore.App 6.0 Microsoft.NETCore.App.Ref
8c3e2c
%dotnet_targeting_pack aspnetcore-targeting-pack-6.0 %{aspnetcore_runtime_rpm_version} Microsoft.AspNetCore.App 6.0 Microsoft.AspNetCore.App.Ref
13a840
#%%dotnet_targeting_pack netstandard-targeting-pack-2.1 %%{sdk_rpm_version} NETStandard.Library 2.1 NETStandard.Library.Ref
8c3e2c
8c3e2c
8c3e2c
%package -n dotnet-sdk-6.0-source-built-artifacts
8c3e2c
8c3e2c
Version:        %{sdk_rpm_version}
8c3e2c
Summary:        Internal package for building .NET 6.0 Software Development Kit
8c3e2c
8c3e2c
%description -n dotnet-sdk-6.0-source-built-artifacts
8c3e2c
The .NET source-built archive is a collection of packages needed
8c3e2c
to build the .NET SDK itself.
8c3e2c
8c3e2c
These are not meant for general use.
8c3e2c
8c3e2c
8c3e2c
%prep
8c3e2c
%if %{without bootstrap}
8c3e2c
%setup -q -n dotnet-%{upstream_tag}
8c3e2c
%else
8c3e2c
8c3e2c
%setup -q -T -b 0 -n dotnet-%{upstream_tag}-x64-bootstrap
8c3e2c
8c3e2c
%ifnarch x86_64
8c3e2c
8c3e2c
rm -rf .dotnet
8c3e2c
%ifarch aarch64
8c3e2c
tar -x --strip-components=1 -f %{SOURCE1} -C packages/prebuilt
8c3e2c
%endif
8c3e2c
%ifarch s390x
8c3e2c
tar -x --strip-components=1 -f %{SOURCE2} -C packages/prebuilt
8c3e2c
%endif
8c3e2c
mkdir -p .dotnet
8c3e2c
tar xf packages/prebuilt/dotnet-sdk*.tar.gz -C .dotnet/
8c3e2c
rm packages/prebuilt/dotnet-sdk*.tar.gz
8c3e2c
boot_sdk_version=$(ls -1 .dotnet/sdk/)
8c3e2c
sed -i -E 's|"dotnet": "[^"]+"|"dotnet" : "'$boot_sdk_version'"|' global.json
8c3e2c
%endif
8c3e2c
8c3e2c
%endif
8c3e2c
8c3e2c
%if %{without bootstrap}
8c3e2c
# Remove all prebuilts
8c3e2c
find -iname '*.dll' -type f -delete
8c3e2c
find -iname '*.so' -type f -delete
8c3e2c
find -iname '*.tar.gz' -type f -delete
8c3e2c
find -iname '*.nupkg' -type f -delete
8c3e2c
find -iname '*.zip' -type f -delete
8c3e2c
rm -rf .dotnet/
8c3e2c
rm -rf packages/source-built
8c3e2c
8c3e2c
mkdir -p packages/archive
8c3e2c
ln -s %{_libdir}/dotnet/source-built-artifacts/Private.SourceBuilt.Artifacts.*.tar.gz packages/archive/
8c3e2c
ln -s %{_libdir}/dotnet/reference-packages/Private.SourceBuild.ReferencePackages*.tar.gz packages/archive/
8c3e2c
%endif
8c3e2c
8c3e2c
# Fix bad hardcoded path in build
3bdaa6
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/runtime/src/native/corehost/hostmisc/pal.unix.cpp
8c3e2c
3bdaa6
pushd src/runtime
8c3e2c
%patch100 -p1
8c3e2c
%patch101 -p1
8c3e2c
popd
8c3e2c
3bdaa6
pushd src/fsharp
8c3e2c
%patch500 -p1
c6de7a
popd
c6de7a
3bdaa6
pushd src/arcade
8c3e2c
%patch700 -p1
8c3e2c
popd
8c3e2c
3bdaa6
pushd src/roslyn
b8d0d9
%patch800 -p3
8c3e2c
%patch801 -p1
8c3e2c
popd
8c3e2c
3bdaa6
pushd src/roslyn-analyzers
8c3e2c
%patch900 -p1
8c3e2c
popd
8c3e2c
3bdaa6
pushd src/msbuild
b8d0d9
b8d0d9
# These are mono-specific fixes. Mono is only used on s390x. Restrict
b8d0d9
# patch to s390x to avoid potential risk in other architectures.
b8d0d9
%ifarch s390x
8c3e2c
%patch1000 -p1
8c3e2c
%patch1001 -p1
b8d0d9
%endif
8c3e2c
8c3e2c
popd
8c3e2c
3bdaa6
pushd src/sdk
8c3e2c
%patch1500 -p1
8c3e2c
%patch1501 -p1
8c3e2c
popd
8c3e2c
3bdaa6
pushd src/installer
b8d0d9
popd
8c3e2c
8c3e2c
8c3e2c
%if ! %{use_bundled_libunwind}
3bdaa6
sed -i -E 's|( /p:BuildDebPackage=false)|\1 --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' src/runtime/eng/SourceBuild.props
8c3e2c
%endif
8c3e2c
8c3e2c
%build
8c3e2c
cat /etc/os-release
8c3e2c
8c3e2c
%if %{without bootstrap}
8c3e2c
# We need to create a copy because we will mutate this
8c3e2c
cp -a %{_libdir}/dotnet previously-built-dotnet
8c3e2c
%endif
8c3e2c
8c3e2c
%if 0%{?fedora} > 32 || 0%{?rhel} > 8
8c3e2c
# Setting this macro ensures that only clang supported options will be
8c3e2c
# added to ldflags and cflags.
8c3e2c
%global toolchain clang
8c3e2c
%set_build_flags
8c3e2c
%else
8c3e2c
# Filter flags not supported by clang
8c3e2c
%global dotnet_cflags %(echo %optflags | sed -re 's/-specs=[^ ]*//g')
8c3e2c
%global dotnet_ldflags %(echo %{__global_ldflags} | sed -re 's/-specs=[^ ]*//g')
8c3e2c
export CFLAGS="%{dotnet_cflags}"
8c3e2c
export CXXFLAGS="%{dotnet_cflags}"
8c3e2c
export LDFLAGS="%{dotnet_ldflags}"
8c3e2c
%endif
8c3e2c
3afb15
# -fstack-clash-protection breaks CoreCLR
3afb15
CFLAGS=$(echo $CFLAGS  | sed -e 's/-fstack-clash-protection//' )
3afb15
CXXFLAGS=$(echo $CXXFLAGS  | sed -e 's/-fstack-clash-protection//' )
3afb15
8c3e2c
%ifarch aarch64
8c3e2c
# -mbranch-protection=standard breaks unwinding in CoreCLR through libunwind
8c3e2c
CFLAGS=$(echo $CFLAGS | sed -e 's/-mbranch-protection=standard //')
8c3e2c
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/-mbranch-protection=standard //')
8c3e2c
%endif
8c3e2c
3afb15
%ifarch s390x
3afb15
# -march=z13 -mtune=z14 makes clang crash while compiling .NET
3afb15
CFLAGS=$(echo $CFLAGS | sed -e 's/ -march=z13//')
3afb15
CFLAGS=$(echo $CFLAGS | sed -e 's/ -mtune=z14//')
3afb15
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/ -march=z13//')
3afb15
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/ -mtune=z14//')
3afb15
%endif
8c3e2c
8c3e2c
export EXTRA_CFLAGS="$CFLAGS"
8c3e2c
export EXTRA_CXXFLAGS="$CXXFLAGS"
8c3e2c
export EXTRA_LDFLAGS="$LDFLAGS"
8c3e2c
13a840
CheckEolTargetFramework=false VERBOSE=1 ./build.sh \
8c3e2c
%if %{without bootstrap}
8c3e2c
    --with-sdk previously-built-dotnet \
8c3e2c
%endif
8c3e2c
    -- \
8c3e2c
8c3e2c
echo \
8c3e2c
    /v:n \
8c3e2c
    /p:SkipPortableRuntimeBuild=true \
8c3e2c
    /p:LogVerbosity=n \
8c3e2c
    /p:MinimalConsoleLogOutput=false \
8c3e2c
    /p:ContinueOnPrebuiltBaselineError=true \
8c3e2c
8c3e2c
8c3e2c
sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE11} > dotnet.sh
8c3e2c
8c3e2c
8c3e2c
%install
8c3e2c
install -dm 0755 %{buildroot}%{_libdir}/dotnet
8c3e2c
ls artifacts/%{runtime_arch}/Release
8c3e2c
tar xf artifacts/%{runtime_arch}/Release/dotnet-sdk-%{sdk_version}-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
8c3e2c
b8d0d9
# See https://github.com/dotnet/source-build/issues/2579
417dba
find %{buildroot}%{_libdir}/dotnet/ -type f -iname testhost.x86 -delete
417dba
find %{buildroot}%{_libdir}/dotnet/ -type f -iname vstest.console -delete
b8d0d9
417dba
# Install managed symbols
417dba
# Disabled until https://github.com/dotnet/source-build/issues/2623 is sorted out
b8d0d9
# tar xf artifacts/%%{runtime_arch}/Release/runtime/dotnet-runtime-symbols-*%%{runtime_version}*.tar.gz \
417dba
#    -C %%{buildroot}/%%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%%{runtime_version}/
8c3e2c
8c3e2c
# Fix executable permissions on files
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'apphost' -exec chmod +x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'singlefilehost' -exec chmod +x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'lib*so' -exec chmod +x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.a' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.dll' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.h' -exec chmod 0644 {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.json' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pdb' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.props' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pubxml' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.txt' -exec chmod -x {} \;
8c3e2c
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \;
8c3e2c
13a840
# Provided by dotnet-host from another SRPM
13a840
#install -dm 0755 %%{buildroot}%%{_sysconfdir}/profile.d/
13a840
#install dotnet.sh %%{buildroot}%%{_sysconfdir}/profile.d/
8c3e2c
13a840
# Provided by dotnet-host from another SRPM
13a840
#install -dm 0755 %%{buildroot}/%%{_datadir}/bash-completion/completions
8c3e2c
# dynamic completion needs the file to be named the same as the base command
13a840
#install src/sdk/scripts/register-completions.bash %%{buildroot}/%%{_datadir}/bash-completion/completions/dotnet
8c3e2c
8c3e2c
# TODO: the zsh completion script needs to be ported to use #compdef
8c3e2c
#install -dm 755 %%{buildroot}/%%{_datadir}/zsh/site-functions
8c3e2c
#install src/cli/scripts/register-completions.zsh %%{buildroot}/%%{_datadir}/zsh/site-functions/_dotnet
8c3e2c
13a840
# Provided by dotnet-host from another SRPM
13a840
#install -dm 0755 %%{buildroot}%%{_bindir}
13a840
#ln -s ../../%%{_libdir}/dotnet/dotnet %%{buildroot}%%{_bindir}/
8c3e2c
13a840
# Provided by dotnet-host from another SRPM
13a840
#install -dm 0755 %%{buildroot}%%{_mandir}/man1/
13a840
#find -iname 'dotnet*.1' -type f -exec cp {} %%{buildroot}%%{_mandir}/man1/ \;
8c3e2c
13a840
# Provided by dotnet-host from another SRPM
13a840
#install -dm 0755 %%{buildroot}%%{_sysconfdir}/dotnet
13a840
#echo "%%{_libdir}/dotnet" >> install_location
13a840
#install install_location %%{buildroot}%%{_sysconfdir}/dotnet/
13a840
#echo "%%{_libdir}/dotnet" >> install_location_%%{runtime_arch}
13a840
#install install_location_%%{runtime_arch} %%{buildroot}%%{_sysconfdir}/dotnet/
8c3e2c
8c3e2c
install -dm 0755 %{buildroot}%{_libdir}/dotnet/source-built-artifacts
8c3e2c
install -m 0644 artifacts/%{runtime_arch}/Release/Private.SourceBuilt.Artifacts.*.tar.gz %{buildroot}/%{_libdir}/dotnet/source-built-artifacts/
8c3e2c
76c871
3afb15
# Quick and dirty check for https://github.com/dotnet/source-build/issues/2731
3afb15
test -f %{buildroot}%{_libdir}/dotnet/sdk/%{sdk_version}/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props
8c3e2c
8c3e2c
# Check debug symbols in all elf objects. This is not in %%check
8c3e2c
# because native binaries are stripped by rpm-build after %%install.
8c3e2c
# So we need to do this check earlier.
3afb15
echo "Testing build results for debug symbols..."
3afb15
%{SOURCE10} -v %{buildroot}%{_libdir}/dotnet/
8c3e2c
8c3e2c
13a840
# Self-check
8c3e2c
%{buildroot}%{_libdir}/dotnet/dotnet --info
3afb15
%{buildroot}%{_libdir}/dotnet/dotnet --version
8c3e2c
13a840
# Provided by dotnet-host from another SRPM
13a840
rm %{buildroot}%{_libdir}/dotnet/LICENSE.txt
13a840
rm %{buildroot}%{_libdir}/dotnet/ThirdPartyNotices.txt
13a840
rm %{buildroot}%{_libdir}/dotnet/dotnet
8c3e2c
13a840
# Provided by netstandard-targeting-pack-2.1 from another SRPM
13a840
rm -rf %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0
8c3e2c
8c3e2c
%files -n dotnet-hostfxr-6.0
8c3e2c
%dir %{_libdir}/dotnet/host/fxr
8c3e2c
%{_libdir}/dotnet/host/fxr/%{host_version}
8c3e2c
8c3e2c
%files -n dotnet-runtime-6.0
8c3e2c
%dir %{_libdir}/dotnet/shared
8c3e2c
%dir %{_libdir}/dotnet/shared/Microsoft.NETCore.App
8c3e2c
%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}
8c3e2c
8c3e2c
%files -n aspnetcore-runtime-6.0
8c3e2c
%dir %{_libdir}/dotnet/shared
8c3e2c
%dir %{_libdir}/dotnet/shared/Microsoft.AspNetCore.App
8c3e2c
%{_libdir}/dotnet/shared/Microsoft.AspNetCore.App/%{aspnetcore_runtime_version}
8c3e2c
8c3e2c
%files -n dotnet-templates-6.0
8c3e2c
%dir %{_libdir}/dotnet/templates
8c3e2c
%{_libdir}/dotnet/templates/%{templates_version}
8c3e2c
8c3e2c
%files -n dotnet-sdk-6.0
8c3e2c
%dir %{_libdir}/dotnet/sdk
8c3e2c
%{_libdir}/dotnet/sdk/%{sdk_version}
8c3e2c
%dir %{_libdir}/dotnet/sdk-manifests
3afb15
%{_libdir}/dotnet/sdk-manifests/%{sdk_feature_band_version}
8c3e2c
%{_libdir}/dotnet/metadata
8c3e2c
%dir %{_libdir}/dotnet/packs
8c3e2c
8c3e2c
%files -n dotnet-sdk-6.0-source-built-artifacts
8c3e2c
%dir %{_libdir}/dotnet
8c3e2c
%{_libdir}/dotnet/source-built-artifacts
8c3e2c
8c3e2c
8c3e2c
%changelog
948f9c
* Thu Dec 01 2022 Omair Majid <omajid@redhat.com> - 6.0.112-1
948f9c
- Update to .NET SDK 6.0.112 and Runtime 6.0.12
948f9c
- Resolves: RHBZ#2150147
948f9c
7129f8
* Wed Nov 02 2022 Omair Majid <omajid@redhat.com> - 6.0.111-1
7129f8
- Update to .NET SDK 6.0.111 and Runtime 6.0.11
7129f8
- Resolves: RHBZ#2138277
7129f8
13a840
* Sat Sep 17 2022 Omair Majid <omajid@redhat.com> - 6.0.109-3
13a840
- Remove subpackages that are now provided by other packages
13a840
- Related: RHBZ#2123787
13a840
13a840
* Wed Sep 14 2022 Omair Majid <omajid@redhat.com> - 6.0.109-2
13a840
- Update to .NET SDK 6.0.109 and Runtime 6.0.9
13a840
- Resolves: RHBZ#2123787
13a840
c24352
* Tue Aug 09 2022 Omair Majid <omajid@redhat.com> - 6.0.108-1
c24352
- Update to .NET SDK 6.0.108 and Runtime 6.0.8
c24352
- Resolves: RHBZ#2112408
c24352
18aa18
* Thu Jul 21 2022 Omair Majid <omajid@redhat.com> - 6.0.107-2
18aa18
- Update to .NET SDK 6.0.107 and Runtime 6.0.7
18aa18
- Resolves: RHBZ#2103268
18aa18
c6de7a
* Thu Jun 23 2022 Omair Majid <omajid@redhat.com> - 6.0.106-1
c6de7a
- Update to .NET SDK 6.0.106 and Runtime 6.0.6
c6de7a
- Resolves: RHBZ#2093430
c6de7a
3bdaa6
* Mon May 16 2022 Omair Majid <omajid@redhat.com> - 6.0.105-1
3bdaa6
- Update to .NET SDK 6.0.105 and Runtime 6.0.5
3bdaa6
- Resolves: RHBZ#2082265
3bdaa6
76c871
* Mon Apr 25 2022 Omair Majid <omajid@redhat.com> - 6.0.104-3
76c871
- Update to .NET SDK 6.0.104 and Runtime 6.0.4
76c871
- Resolves: RHBZ#2072006
3afb15
489f47
* Thu Feb 17 2022 Omair Majid <omajid@redhat.com> - 6.0.102-1
489f47
- Update to .NET SDK 6.0.102 and Runtime 6.0.2
489f47
- Resolves: RHBZ#2030390
489f47
- Resolves: RHBZ#2048256
489f47
417dba
* Fri Dec 10 2021 Omair Majid <omajid@redhat.com> - 6.0.100-1
417dba
- Fix build against clang 13
417dba
- Resolves: RHBZ#2003061
417dba
- Resolves: RHBZ#2015536
417dba
- Resolves: RHBZ#2014666
b8d0d9
b8d0d9
* Sun Oct 31 2021 Omair Majid <omajid@redhat.com> - 6.0.100-0.10
b8d0d9
- Disable bootstrap
b8d0d9
- Related: RHBZ#2016373
b8d0d9
b8d0d9
* Sat Oct 30 2021 Omair Majid <omajid@redhat.com> - 6.0.100-0.9
b8d0d9
- Fix msbuild to run on s390x
b8d0d9
- Related: RHBZ#2016373
b8d0d9
b8d0d9
* Thu Oct 28 2021 Omair Majid <omajid@redhat.com> - 6.0.100-0.8
b8d0d9
- Update to .NET SDK 6.0.100 and Runtime 6.0.0
b8d0d9
- Related: RHBZ#2016373
b8d0d9
b8d0d9
* Wed Oct 27 2021 Adam Kimball <akimball@redhat.com> - 6.0.0-0.7.rc2
b8d0d9
- Update to .NET SDK 6.0.100-rc.2 and Runtime 6.0.0-rc.2
b8d0d9
- Resolves: RHBZ#2016373
b8d0d9
 
8c3e2c
* Fri Oct 08 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718
8c3e2c
- Enable building on arm64
8c3e2c
- Related: RHBZ#1986017
8c3e2c
8c3e2c
* Sun Oct 03 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.5.28be3e9a006d90d8c6e87d4353b77882829df718
8c3e2c
- Enable building on s390x
8c3e2c
- Related: RHBZ#1986017
8c3e2c
8c3e2c
* Sun Oct 03 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.4.28be3e9a006d90d8c6e87d4353b77882829df718
8c3e2c
- Clean up tarball and add initial support for s390x
8c3e2c
- Related: RHBZ#1986017
8c3e2c
8c3e2c
* Sun Sep 26 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.3.28be3e9a006d90d8c6e87d4353b77882829df718
8c3e2c
- Update to work-in-progress RC2 release
8c3e2c
8c3e2c
* Wed Aug 25 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.2.preview6
8c3e2c
- Updated to build the latest source-build preview
8c3e2c
8c3e2c
* Fri Jul 23 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.1.preview6
8c3e2c
- Initial package for .NET 6
8c3e2c
8c3e2c
* Thu Jun 10 2021 Omair Majid <omajid@redhat.com> - 5.0.204-1
8c3e2c
- Update to .NET SDK 5.0.204 and Runtime 5.0.7
8c3e2c
8c3e2c
* Wed May 12 2021 Omair Majid <omajid@redhat.com> - 5.0.203-1
8c3e2c
- Update to .NET SDK 5.0.203 and Runtime 5.0.6
8c3e2c
8c3e2c
* Wed Apr 14 2021 Omair Majid <omajid@redhat.com> - 5.0.202-1
8c3e2c
- Update to .NET SDK 5.0.202 and Runtime 5.0.5
8c3e2c
8c3e2c
* Tue Apr 06 2021 Omair Majid <omajid@redhat.com> - 5.0.104-2
8c3e2c
- Mark files under /etc/ as config(noreplace)
8c3e2c
- Add an rpm-inspect configuration file
8c3e2c
- Add an rpmlintrc file
8c3e2c
- Enable gating for release branches and ELN too
8c3e2c
8c3e2c
* Tue Mar 16 2021 Omair Majid <omajid@redhat.com> - 5.0.104-1
8c3e2c
- Update to .NET SDK 5.0.104 and Runtime 5.0.4
8c3e2c
- Drop unneeded/upstreamed patches
8c3e2c
8c3e2c
* Wed Feb 17 2021 Omair Majid <omajid@redhat.com> - 5.0.103-2
8c3e2c
- Add Fedora 35 RIDs
8c3e2c
8c3e2c
* Thu Feb 11 2021 Omair Majid <omajid@redhat.com> - 5.0.103-1
8c3e2c
- Update to .NET SDK 5.0.103 and Runtime 5.0.3
8c3e2c
8c3e2c
* Fri Jan 29 2021 Omair Majid <omajid@redhat.com> - 5.0.102-2
8c3e2c
- Disable bootstrap
8c3e2c
8c3e2c
* Fri Dec 18 2020 Omair Majid <omajid@redhat.com> - 5.0.100-2
8c3e2c
- Update to .NET Core Runtime 5.0.0 and SDK 5.0.100 commit 9c4e5de
8c3e2c
8c3e2c
* Fri Dec 04 2020 Omair Majid <omajid@redhat.com> - 5.0.100-1
8c3e2c
- Update to .NET Core Runtime 5.0.0 and SDK 5.0.100
8c3e2c
8c3e2c
* Thu Dec 03 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.4.20201202git337413b
8c3e2c
- Update to latest 5.0 pre-GA commit
8c3e2c
8c3e2c
* Tue Nov 24 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.4.20201123gitdee899c
8c3e2c
- Update to 5.0 pre-GA commit
8c3e2c
8c3e2c
* Mon Sep 14 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.3.preview8
8c3e2c
- Update to Preview 8
8c3e2c
8c3e2c
* Fri Jul 10 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.2.preview4
8c3e2c
- Fix building with custom CFLAGS/CXXFLAGS/LDFLAGS
8c3e2c
- Clean up patches
8c3e2c
8c3e2c
* Mon Jul 06 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.1.preview4
8c3e2c
- Initial build
8c3e2c
8c3e2c
* Sat Jun 27 2020 Omair Majid <omajid@redhat.com> - 3.1.105-4
8c3e2c
- Disable bootstrap
8c3e2c
8c3e2c
* Fri Jun 26 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
8c3e2c
- Re-bootstrap aarch64
8c3e2c
8c3e2c
* Fri Jun 19 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
8c3e2c
- Disable bootstrap
8c3e2c
8c3e2c
* Thu Jun 18 2020 Omair Majid <omajid@redhat.com> - 3.1.105-1
8c3e2c
- Bootstrap aarch64
8c3e2c
8c3e2c
* Tue Jun 16 2020 Chris Rummel <crummel@microsoft.com> - 3.1.105-1
8c3e2c
- Update to .NET Core Runtime 3.1.5 and SDK 3.1.105
8c3e2c
8c3e2c
* Fri Jun 05 2020 Chris Rummel <crummel@microsoft.com> - 3.1.104-1
8c3e2c
- Update to .NET Core Runtime 3.1.4 and SDK 3.1.104
8c3e2c
8c3e2c
* Thu Apr 09 2020 Chris Rummel <crummel@microsoft.com> - 3.1.103-1
8c3e2c
- Update to .NET Core Runtime 3.1.3 and SDK 3.1.103
8c3e2c
8c3e2c
* Mon Mar 16 2020 Omair Majid <omajid@redhat.com> - 3.1.102-1
8c3e2c
- Update to .NET Core Runtime 3.1.2 and SDK 3.1.102
8c3e2c
8c3e2c
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-4
8c3e2c
- Disable bootstrap
8c3e2c
8c3e2c
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-3
8c3e2c
- Enable bootstrap
8c3e2c
- Add Fedora 33 runtime ids
8c3e2c
8c3e2c
* Thu Feb 27 2020 Omair Majid <omajid@redhat.com> - 3.1.101-2
8c3e2c
- Disable bootstrap
8c3e2c
8c3e2c
* Tue Jan 21 2020 Omair Majid <omajid@redhat.com> - 3.1.101-1
8c3e2c
- Update to .NET Core Runtime 3.1.1 and SDK 3.1.101
8c3e2c
8c3e2c
* Thu Dec 05 2019 Omair Majid <omajid@redhat.com> - 3.1.100-1
8c3e2c
- Update to .NET Core Runtime 3.1.0 and SDK 3.1.100
8c3e2c
8c3e2c
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.4.preview3
8c3e2c
- Fix apphost permissions
8c3e2c
8c3e2c
* Fri Nov 15 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.3.preview3
8c3e2c
- Update to .NET Core Runtime 3.1.0-preview3.19553.2 and SDK
8c3e2c
  3.1.100-preview3-014645
8c3e2c
8c3e2c
* Wed Nov 06 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.2
8c3e2c
- Update to .NET Core 3.1 Preview 2
8c3e2c
8c3e2c
* Wed Oct 30 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.1
8c3e2c
- Update to .NET Core 3.1 Preview 1
8c3e2c
8c3e2c
* Thu Oct 24 2019 Omair Majid <omajid@redhat.com> - 3.0.100-5
8c3e2c
- Add cgroupv2 support to .NET Core
8c3e2c
8c3e2c
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-4
8c3e2c
- Include fix from coreclr for building on Fedora 32
8c3e2c
8c3e2c
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-3
8c3e2c
- Harden built binaries to pass annocheck
8c3e2c
8c3e2c
* Fri Oct 11 2019 Omair Majid <omajid@redhat.com> - 3.0.100-2
8c3e2c
- Export DOTNET_ROOT in profile to make apphost lookup work
8c3e2c
8c3e2c
* Fri Sep 27 2019 Omair Majid <omajid@redhat.com> - 3.0.100-1
8c3e2c
- Update to .NET Core Runtime 3.0.0 and SDK 3.0.100
8c3e2c
8c3e2c
* Wed Sep 25 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.18.rc1
8c3e2c
- Update to .NET Core Runtime 3.0.0-rc1-19456-20 and SDK 3.0.100-rc1-014190
8c3e2c
8c3e2c
* Tue Sep 17 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.16.preview9
8c3e2c
- Fix files duplicated between dotnet-apphost-pack-3.0 and dotnet-targeting-pack-3.0
8c3e2c
- Fix dependencies between .NET SDK and the targeting packs
8c3e2c
8c3e2c
* Mon Sep 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.15.preview9
8c3e2c
- Update to .NET Core Runtime 3.0.0-preview 9 and SDK 3.0.100-preview9
8c3e2c
8c3e2c
* Mon Aug 19 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.11.preview8
8c3e2c
- Update to .NET Core Runtime 3.0.0-preview8-28405-07 and SDK
8c3e2c
  3.0.100-preview8-013656
8c3e2c
8c3e2c
* Tue Jul 30 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.9.preview7
8c3e2c
- Update to .NET Core Runtime 3.0.0-preview7-27912-14 and SDK
8c3e2c
  3.0.100-preview7-012821
8c3e2c
8c3e2c
* Fri Jul 26 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.8.preview7
8c3e2c
- Update to .NET Core Runtime 3.0.0-preview7-27902-19 and SDK
8c3e2c
  3.0.100-preview7-012802
8c3e2c
8c3e2c
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.7.preview6
8c3e2c
- Obsolete dotnet-sdk-3.0.1xx
8c3e2c
- Add supackages for targeting packs
8c3e2c
- Add -fcf-protection to CFLAGS
8c3e2c
8c3e2c
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.6.preview6
8c3e2c
- Update to .NET Core Runtime 3.0.0-preview6-27804-01 and SDK 3.0.100-preview6-012264
8c3e2c
- Set dotnet installation location in /etc/dotnet/install_location
8c3e2c
- Update targeting packs
8c3e2c
- Install managed symbols
8c3e2c
- Completely conditionalize libunwind bundling
8c3e2c
8c3e2c
* Tue May 07 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.3.preview4
8c3e2c
- Update to .NET Core 3.0 preview 4
8c3e2c
8c3e2c
* Tue Dec 18 2018 Omair Majid <omajid@redhat.com> - 3.0.0-0.1.preview1
8c3e2c
- Update to .NET Core 3.0 preview 1
8c3e2c
8c3e2c
* Fri Dec 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100
8c3e2c
- Update to .NET Core 2.2.0
8c3e2c
8c3e2c
* Wed Nov 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100-0.2.preview3
8c3e2c
- Update to .NET Core 2.2.0-preview3
8c3e2c
8c3e2c
* Fri Nov 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-3
8c3e2c
- Add host-fxr-2.1 subpackage
8c3e2c
8c3e2c
* Mon Oct 15 2018 Omair Majid <omajid@redhat.com> - 2.1.403-2
8c3e2c
- Disable telemetry by default
8c3e2c
- Users have to manually export DOTNET_CLI_TELEMETRY_OPTOUT=0 to enable
8c3e2c
8c3e2c
* Tue Oct 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-1
8c3e2c
- Update to .NET Core Runtime 2.1.5 and SDK 2.1.403
8c3e2c
8c3e2c
* Wed Sep 26 2018 Omair Majid <omajid@redhat.com> - 2.1.402-2
8c3e2c
- Add ~/.dotnet/tools to $PATH to make it easier to use dotnet tools
8c3e2c
8c3e2c
* Thu Sep 13 2018 Omair Majid <omajid@redhat.com> - 2.1.402-1
8c3e2c
- Update to .NET Core Runtime 2.1.4 and SDK 2.1.402
8c3e2c
8c3e2c
* Wed Sep 05 2018 Omair Majid <omajid@redhat.com> - 2.1.401-2
8c3e2c
- Use distro-standard flags when building .NET Core
8c3e2c
8c3e2c
* Tue Aug 21 2018 Omair Majid <omajid@redhat.com> - 2.1.401-1
8c3e2c
- Update to .NET Core Runtime 2.1.3 and SDK 2.1.401
8c3e2c
8c3e2c
* Mon Aug 20 2018 Omair Majid <omajid@redhat.com> - 2.1.302-1
8c3e2c
- Update to .NET Core Runtime 2.1.2 and SDK 2.1.302
8c3e2c
8c3e2c
* Fri Jul 20 2018 Omair Majid <omajid@redhat.com> - 2.1.301-1
8c3e2c
- Update to .NET Core 2.1
8c3e2c
8c3e2c
* Thu May 03 2018 Omair Majid <omajid@redhat.com> - 2.0.7-1
8c3e2c
- Update to .NET Core 2.0.7
8c3e2c
8c3e2c
* Wed Mar 28 2018 Omair Majid <omajid@redhat.com> - 2.0.6-2
8c3e2c
- Enable bash completion for dotnet
8c3e2c
- Remove redundant buildrequires and requires
8c3e2c
8c3e2c
* Wed Mar 14 2018 Omair Majid <omajid@redhat.com> - 2.0.6-1
8c3e2c
- Update to .NET Core 2.0.6
8c3e2c
8c3e2c
* Fri Feb 23 2018 Omair Majid <omajid@redhat.com> - 2.0.5-1
8c3e2c
- Update to .NET Core 2.0.5
8c3e2c
8c3e2c
* Wed Jan 24 2018 Omair Majid <omajid@redhat.com> - 2.0.3-5
8c3e2c
- Don't apply corefx clang warnings fix on clang < 5
8c3e2c
8c3e2c
* Fri Jan 19 2018 Omair Majid <omajid@redhat.com> - 2.0.3-4
8c3e2c
- Add a test script to sanity check debug and symbol info.
8c3e2c
- Build with clang 5.0
8c3e2c
- Make main package real instead of using a virtual provides (see RHBZ 1519325)
8c3e2c
8c3e2c
* Wed Nov 29 2017 Omair Majid <omajid@redhat.com> - 2.0.3-3
8c3e2c
- Add a Provides for 'dotnet'
8c3e2c
- Fix conditional macro
8c3e2c
8c3e2c
* Tue Nov 28 2017 Omair Majid <omajid@redhat.com> - 2.0.3-2
8c3e2c
- Fix build on Fedora 27
8c3e2c
8c3e2c
* Fri Nov 17 2017 Omair Majid <omajid@redhat.com> - 2.0.3-1
8c3e2c
- Update to .NET Core 2.0.3
8c3e2c
8c3e2c
* Thu Oct 19 2017 Omair Majid <omajid@redhat.com> - 2.0.0-4
8c3e2c
- Add a hack to let omnisharp work
8c3e2c
8c3e2c
* Wed Aug 30 2017 Omair Majid <omajid@redhat.com> - 2.0.0-3
8c3e2c
- Add a patch for building coreclr and core-setup correctly on Fedora >= 27
8c3e2c
8c3e2c
* Fri Aug 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-2
8c3e2c
- Move libicu/libcurl/libunwind requires to runtime package
8c3e2c
- Make sdk depend on the exact version of the runtime package
8c3e2c
8c3e2c
* Thu Aug 24 2017 Omair Majid <omajid@redhat.com> - 2.0.0-1
8c3e2c
- Update to 2.0.0 final release
8c3e2c
8c3e2c
* Wed Jul 26 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.3.preview2
8c3e2c
- Add man pages
8c3e2c
8c3e2c
* Tue Jul 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.2.preview2
8c3e2c
- Add Requires on libicu
8c3e2c
- Split into multiple packages
8c3e2c
- Do not repeat first-run message
8c3e2c
8c3e2c
* Fri Jul 21 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.1.preview2
8c3e2c
- Update to .NET Core 2.0 Preview 2
8c3e2c
8c3e2c
* Thu Mar 16 2017 Nemanja Milošević <nmilosevnm@gmail.com> - 1.1.0-7
8c3e2c
- rebuilt with latest libldb
8c3e2c
* Wed Feb 22 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-6
8c3e2c
- compat-openssl 1.0 for F26 for now
8c3e2c
* Sun Feb 19 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-5
8c3e2c
- Fix wrong commit id's
8c3e2c
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-4
8c3e2c
- Use commit id's instead of branch names
8c3e2c
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-3
8c3e2c
- Improper patch5 fix
8c3e2c
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-2
8c3e2c
- SPEC cleanup
8c3e2c
- git removal (using all tarballs for reproducible builds)
8c3e2c
- more reasonable versioning
8c3e2c
* Thu Feb 09 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-1
8c3e2c
- Fixed debuginfo going to separate package (Patch1)
8c3e2c
- Added F25/F26 RIL and fixed the version info (Patch2)
8c3e2c
- Added F25/F26 RIL in Microsoft.NETCore.App suported runtime graph (Patch3)
8c3e2c
- SPEC file cleanup
8c3e2c
* Wed Jan 11 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-0
8c3e2c
- Initial RPM for Fedora 25/26.