Blame SPECS/dotnet7.0.spec

24cae2
%bcond_without bootstrap
24cae2
24cae2
# LTO triggers a compilation error for a source level issue.  Given that LTO should not
24cae2
# change the validity of any given source and the nature of the error (undefined enum), I
24cae2
# suspect a generator program is mis-behaving in some way.  This needs further debugging,
24cae2
# until that's done, disable LTO.  This has to happen before setting the flags below.
24cae2
%define _lto_cflags %{nil}
24cae2
c51fa4
%global host_version 7.0.0-rc.2.22472.3
c51fa4
%global runtime_version 7.0.0-rc.2.22472.3
c51fa4
%global aspnetcore_runtime_version 7.0.0-rc.2.22476.2
c51fa4
%global sdk_version 7.0.100-rc.2.22511.1
24cae2
%global sdk_feature_band_version %(echo %{sdk_version} | cut -d '-' -f 1 | sed -e 's|[[:digit:]][[:digit:]]$|00|')
c51fa4
%global templates_version 7.0.0-rc.2.22476.2
24cae2
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
24cae2
24cae2
%global host_rpm_version 7.0.0
24cae2
%global runtime_rpm_version 7.0.0
24cae2
%global aspnetcore_runtime_rpm_version 7.0.0
24cae2
%global sdk_rpm_version 7.0.100
24cae2
24cae2
# upstream can update releases without revving the SDK version so these don't always match
24cae2
#%%global upstream_tag v%%{sdk_version}
c51fa4
%global upstream_tag v7.0.100-rc.2.22477.23
24cae2
24cae2
%if 0%{?fedora} || 0%{?rhel} < 8
24cae2
%global use_bundled_libunwind 0
24cae2
%else
24cae2
%global use_bundled_libunwind 1
24cae2
%endif
24cae2
c51fa4
%ifarch aarch64 ppc64le s390x
24cae2
%global use_bundled_libunwind 1
24cae2
%endif
24cae2
24cae2
%ifarch x86_64
24cae2
%global runtime_arch x64
24cae2
%endif
24cae2
%ifarch aarch64
24cae2
%global runtime_arch arm64
24cae2
%endif
c51fa4
%ifarch ppc64le
c51fa4
%global runtime_arch ppc64le
c51fa4
%endif
24cae2
%ifarch s390x
24cae2
%global runtime_arch s390x
24cae2
%endif
24cae2
c51fa4
%global mono_archs s390x ppc64le
c51fa4
24cae2
%{!?runtime_id:%global runtime_id %(. /etc/os-release ; echo "${ID}.${VERSION_ID%%.*}")-%{runtime_arch}}
24cae2
24cae2
Name:           dotnet7.0
24cae2
Version:        %{sdk_rpm_version}
c51fa4
Release:        0.5.rc2%{?dist}
24cae2
Summary:        .NET Runtime and SDK
24cae2
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
24cae2
URL:            https://github.com/dotnet/
24cae2
24cae2
%if %{with bootstrap}
24cae2
# The source is generated on a Fedora box via:
24cae2
# ./build-dotnet-tarball --bootstrap %%{upstream_tag}
24cae2
Source0:        dotnet-%{upstream_tag}-x64-bootstrap.tar.xz
24cae2
# Generated via ./build-arm64-bootstrap-tarball
c51fa4
Source1:        dotnet-arm64-prebuilts-2022-10-12.tar.gz
c51fa4
# Generated manually, same pattern as the arm64 tarball
c51fa4
Source2:        dotnet-ppc64le-prebuilts-2022-10-21.tar.gz
24cae2
# Generated manually, same pattern as the arm64 tarball
c51fa4
Source3:        dotnet-s390x-prebuilts-2022-10-12.tar.gz
24cae2
%else
24cae2
# The source is generated on a Fedora box via:
24cae2
# ./build-dotnet-tarball %%{upstream_tag}
24cae2
Source0:        dotnet-%{upstream_tag}.tar.gz
24cae2
%endif
24cae2
24cae2
Source10:       check-debug-symbols.py
24cae2
Source11:       dotnet.sh.in
24cae2
c51fa4
# https://github.com/dotnet/runtime/pull/76916
c51fa4
Patch1:         runtime-76916-mono-s390x-opcheckthis.patch
c51fa4
# https://github.com/microsoft/vstest/pull/4028
c51fa4
Patch2:         vstest-4028-ppc64le.patch
c51fa4
# https://github.com/microsoft/vstest/pull/4066
c51fa4
Patch3:         vstest-4066-s390x-ppc64le.patch
c51fa4
# https://github.com/dotnet/installer/pull/14631
c51fa4
Patch4:         installer-14631-ppc64le.patch
c51fa4
# https://github.com/dotnet/installer/pull/14792
c51fa4
Patch5:         installer-14792-mono.patch
c51fa4
# https://github.com/dotnet/aspnetcore/pull/44583
c51fa4
Patch6:         aspnetcore-44583-ppc64le-crossgen.patch
c51fa4
# https://github.com/dotnet/runtime/pull/77269
c51fa4
Patch7:         runtime-77269-mono-ppc64le-opcheckthis.patch
c51fa4
# https://github.com/dotnet/runtime/pull/77270
c51fa4
Patch8:         runtime-77270-ppc64le-fsharp-crash.patch
c51fa4
# https://github.com/dotnet/runtime/pull/77308
c51fa4
Patch9:         runtime-77308-ppc64le-delegate.patch
c51fa4
# Disable apphost; there's no net6.0 apphost for ppc64le
c51fa4
Patch10:        roslyn-analyzers-ppc64le-apphost.patch
c51fa4
24cae2
24cae2
24cae2
%if 0%{?fedora} || 0%{?rhel} >= 8
c51fa4
ExclusiveArch:  aarch64 ppc64le s390x x86_64
24cae2
%else
24cae2
ExclusiveArch:  x86_64
24cae2
%endif
24cae2
24cae2
24cae2
BuildRequires:  clang
24cae2
BuildRequires:  cmake
24cae2
BuildRequires:  coreutils
24cae2
%if %{without bootstrap}
24cae2
BuildRequires:  dotnet-sdk-7.0
24cae2
BuildRequires:  dotnet-sdk-7.0-source-built-artifacts
24cae2
%endif
24cae2
BuildRequires:  findutils
24cae2
BuildRequires:  git
24cae2
%if 0%{?fedora} || 0%{?rhel} > 7
24cae2
BuildRequires:  glibc-langpack-en
24cae2
%endif
24cae2
BuildRequires:  hostname
24cae2
BuildRequires:  krb5-devel
24cae2
BuildRequires:  libicu-devel
24cae2
%if ! %{use_bundled_libunwind}
24cae2
BuildRequires:  libunwind-devel
24cae2
%endif
24cae2
%ifarch aarch64
24cae2
BuildRequires:  lld
24cae2
%endif
c51fa4
# if the build ever crashes, then having lldb installed might help the
c51fa4
# runtime generate a backtrace for the crash
c51fa4
BuildRequires:  lldb
24cae2
BuildRequires:  llvm
24cae2
BuildRequires:  lttng-ust-devel
24cae2
BuildRequires:  make
24cae2
BuildRequires:  openssl-devel
24cae2
BuildRequires:  python3
24cae2
BuildRequires:  tar
24cae2
BuildRequires:  util-linux
24cae2
BuildRequires:  zlib-devel
24cae2
24cae2
# Avoid generating provides and requires for private libraries
24cae2
%global privlibs             libhostfxr
24cae2
%global privlibs %{privlibs}|libclrgc
24cae2
%global privlibs %{privlibs}|libclrjit
24cae2
%global privlibs %{privlibs}|libcoreclr
24cae2
%global privlibs %{privlibs}|libcoreclrtraceptprovider
24cae2
%global privlibs %{privlibs}|libhostpolicy
24cae2
%global privlibs %{privlibs}|libmscordaccore
24cae2
%global privlibs %{privlibs}|libmscordbi
24cae2
%global privlibs %{privlibs}|libnethost
24cae2
%global privlibs %{privlibs}|libSystem.Globalization.Native
24cae2
%global privlibs %{privlibs}|libSystem.IO.Compression.Native
24cae2
%global privlibs %{privlibs}|libSystem.Native
24cae2
%global privlibs %{privlibs}|libSystem.Net.Security.Native
24cae2
%global privlibs %{privlibs}|libSystem.Security.Cryptography.Native.OpenSsl
24cae2
%global __provides_exclude ^(%{privlibs})\\.so
24cae2
%global __requires_exclude ^(%{privlibs})\\.so
24cae2
24cae2
24cae2
%description
24cae2
.NET is a fast, lightweight and modular platform for creating
24cae2
cross platform applications that work on Linux, macOS and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
.NET contains a runtime conforming to .NET Standards a set of
24cae2
framework libraries, an SDK containing compilers and a 'dotnet'
24cae2
application to drive everything.
24cae2
24cae2
%if 0%{?rhel} <= 8
24cae2
24cae2
%package -n dotnet
24cae2
24cae2
Version:        %{sdk_rpm_version}
24cae2
Summary:        .NET CLI tools and runtime
24cae2
24cae2
Requires:       dotnet-sdk-7.0%{?_isa} >= %{sdk_rpm_version}-%{release}
24cae2
24cae2
%description -n dotnet
24cae2
.NET is a fast, lightweight and modular platform for creating
24cae2
cross platform applications that work on Linux, macOS and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
.NET contains a runtime conforming to .NET Standards a set of
24cae2
framework libraries, an SDK containing compilers and a 'dotnet'
24cae2
application to drive everything.
24cae2
24cae2
%endif
24cae2
24cae2
%package -n dotnet-host
24cae2
24cae2
Version:        %{host_rpm_version}
24cae2
Summary:        .NET command line launcher
24cae2
24cae2
%description -n dotnet-host
24cae2
The .NET host is a command line program that runs a standalone
24cae2
.NET application or launches the SDK.
24cae2
24cae2
.NET is a fast, lightweight and modular platform for creating
24cae2
cross platform applications that work on Linux, Mac and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
24cae2
%package -n dotnet-hostfxr-7.0
24cae2
24cae2
Version:        %{host_rpm_version}
24cae2
Summary:        .NET command line host resolver
24cae2
24cae2
# Theoretically any version of the host should work. But lets aim for the one
24cae2
# provided by this package, or from a newer version of .NET
24cae2
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
24cae2
24cae2
%description -n dotnet-hostfxr-7.0
24cae2
The .NET host resolver contains the logic to resolve and select
24cae2
the right version of the .NET SDK or runtime to use.
24cae2
24cae2
.NET is a fast, lightweight and modular platform for creating
24cae2
cross platform applications that work on Linux, Mac and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
24cae2
%package -n dotnet-runtime-7.0
24cae2
24cae2
Version:        %{runtime_rpm_version}
24cae2
Summary:        NET 7.0 runtime
24cae2
24cae2
Requires:       dotnet-hostfxr-7.0%{?_isa} >= %{host_rpm_version}-%{release}
24cae2
24cae2
# libicu is dlopen()ed
24cae2
Requires:       libicu%{?_isa}
24cae2
24cae2
# See src/runtime/src/libraries/Native/AnyOS/brotli-version.txt
24cae2
Provides: bundled(libbrotli) = 1.0.9
24cae2
%if %{use_bundled_libunwind}
24cae2
# See src/runtime/src/coreclr/pal/src/libunwind/libunwind-version.txt
24cae2
Provides: bundled(libunwind) = 1.5.rc1.28.g9165d2a1
24cae2
%endif
24cae2
24cae2
%description -n dotnet-runtime-7.0
24cae2
The .NET runtime contains everything needed to run .NET applications.
24cae2
It includes a high performance Virtual Machine as well as the framework
24cae2
libraries used by .NET applications.
24cae2
24cae2
.NET is a fast, lightweight and modular platform for creating
24cae2
cross platform applications that work on Linux, Mac and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
24cae2
%package -n aspnetcore-runtime-7.0
24cae2
24cae2
Version:        %{aspnetcore_runtime_rpm_version}
24cae2
Summary:        ASP.NET Core 7.0 runtime
24cae2
24cae2
Requires:       dotnet-runtime-7.0%{?_isa} = %{runtime_rpm_version}-%{release}
24cae2
24cae2
%description -n aspnetcore-runtime-7.0
24cae2
The ASP.NET Core runtime contains everything needed to run .NET
24cae2
web applications. It includes a high performance Virtual Machine as
24cae2
well as the framework libraries used by .NET applications.
24cae2
24cae2
ASP.NET Core is a fast, lightweight and modular platform for creating
24cae2
cross platform web applications that work on Linux, Mac and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
24cae2
%package -n dotnet-templates-7.0
24cae2
24cae2
Version:        %{sdk_rpm_version}
24cae2
Summary:        .NET 7.0 templates
24cae2
24cae2
# Theoretically any version of the host should work. But lets aim for the one
24cae2
# provided by this package, or from a newer version of .NET
24cae2
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
24cae2
24cae2
%description -n dotnet-templates-7.0
24cae2
This package contains templates used by the .NET SDK.
24cae2
24cae2
.NET is a fast, lightweight and modular platform for creating
24cae2
cross platform applications that work on Linux, Mac and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
24cae2
%package -n dotnet-sdk-7.0
24cae2
24cae2
Version:        %{sdk_rpm_version}
24cae2
Summary:        .NET 7.0 Software Development Kit
24cae2
24cae2
Provides:       bundled(js-jquery)
24cae2
24cae2
Requires:       dotnet-runtime-7.0%{?_isa} >= %{runtime_rpm_version}-%{release}
24cae2
Requires:       aspnetcore-runtime-7.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
24cae2
24cae2
Requires:       dotnet-apphost-pack-7.0%{?_isa} >= %{runtime_rpm_version}-%{release}
24cae2
Requires:       dotnet-targeting-pack-7.0%{?_isa} >= %{runtime_rpm_version}-%{release}
24cae2
Requires:       aspnetcore-targeting-pack-7.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
24cae2
Requires:       netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release}
24cae2
24cae2
Requires:       dotnet-templates-7.0%{?_isa} >= %{sdk_rpm_version}-%{release}
24cae2
24cae2
%description -n dotnet-sdk-7.0
24cae2
The .NET SDK is a collection of command line applications to
24cae2
create, build, publish and run .NET applications.
24cae2
24cae2
.NET is a fast, lightweight and modular platform for creating
24cae2
cross platform applications that work on Linux, Mac and Windows.
24cae2
24cae2
It particularly focuses on creating console applications, web
24cae2
applications and micro-services.
24cae2
24cae2
24cae2
%global dotnet_targeting_pack() %{expand:
24cae2
%package -n %{1}
24cae2
24cae2
Version:        %{2}
24cae2
Summary:        Targeting Pack for %{3} %{4}
24cae2
24cae2
Requires:       dotnet-host%{?_isa}
24cae2
24cae2
%description -n %{1}
24cae2
This package provides a targeting pack for %{3} %{4}
24cae2
that allows developers to compile against and target %{3} %{4}
24cae2
applications using the .NET SDK.
24cae2
24cae2
%files -n %{1}
24cae2
%dir %{_libdir}/dotnet/packs
24cae2
%{_libdir}/dotnet/packs/%{5}
24cae2
}
24cae2
24cae2
%dotnet_targeting_pack dotnet-apphost-pack-7.0 %{runtime_rpm_version} Microsoft.NETCore.App 7.0 Microsoft.NETCore.App.Host.%{runtime_id}
24cae2
%dotnet_targeting_pack dotnet-targeting-pack-7.0 %{runtime_rpm_version} Microsoft.NETCore.App 7.0 Microsoft.NETCore.App.Ref
24cae2
%dotnet_targeting_pack aspnetcore-targeting-pack-7.0 %{aspnetcore_runtime_rpm_version} Microsoft.AspNetCore.App 7.0 Microsoft.AspNetCore.App.Ref
24cae2
%dotnet_targeting_pack netstandard-targeting-pack-2.1 %{sdk_rpm_version} NETStandard.Library 2.1 NETStandard.Library.Ref
24cae2
24cae2
24cae2
%package -n dotnet-sdk-7.0-source-built-artifacts
24cae2
24cae2
Version:        %{sdk_rpm_version}
24cae2
Summary:        Internal package for building .NET 7.0 Software Development Kit
24cae2
24cae2
%description -n dotnet-sdk-7.0-source-built-artifacts
24cae2
The .NET source-built archive is a collection of packages needed
24cae2
to build the .NET SDK itself.
24cae2
24cae2
These are not meant for general use.
24cae2
24cae2
24cae2
%prep
24cae2
%if %{without bootstrap}
24cae2
%setup -q -n dotnet-%{upstream_tag}
c51fa4
c51fa4
# Remove all prebuilts
c51fa4
find -iname '*.dll' -type f -delete
c51fa4
find -iname '*.so' -type f -delete
c51fa4
find -iname '*.tar.gz' -type f -delete
c51fa4
find -iname '*.nupkg' -type f -delete
c51fa4
find -iname '*.zip' -type f -delete
c51fa4
c51fa4
rm -rf .dotnet/
c51fa4
rm -rf packages/source-built
c51fa4
c51fa4
mkdir -p packages/archive
c51fa4
ln -s %{_libdir}/dotnet/source-built-artifacts/Private.SourceBuilt.Artifacts.*.tar.gz packages/archive/
c51fa4
24cae2
%else
24cae2
24cae2
%setup -q -T -b 0 -n dotnet-%{upstream_tag}-x64-bootstrap
24cae2
24cae2
%ifnarch x86_64
24cae2
24cae2
rm -rf .dotnet
24cae2
%ifarch aarch64
24cae2
tar -x --strip-components=1 -f %{SOURCE1} -C packages/prebuilt
24cae2
%endif
c51fa4
%ifarch ppc64le
24cae2
tar -x --strip-components=1 -f %{SOURCE2} -C packages/prebuilt
24cae2
%endif
c51fa4
%ifarch s390x
c51fa4
tar -x --strip-components=1 -f %{SOURCE3} -C packages/prebuilt
c51fa4
%endif
c51fa4
24cae2
mkdir -p .dotnet
24cae2
tar xf packages/prebuilt/dotnet-sdk*.tar.gz -C .dotnet/
24cae2
rm packages/prebuilt/dotnet-sdk*.tar.gz
c51fa4
24cae2
boot_sdk_version=$(ls -1 .dotnet/sdk/)
24cae2
sed -i -E 's|"dotnet": "[^"]+"|"dotnet" : "'$boot_sdk_version'"|' global.json
c51fa4
c51fa4
%ifarch ppc64le s390x
c51fa4
ilasm_version=$(ls packages/prebuilt| grep -i ilasm | tr 'A-Z' 'a-z' | sed -E 's|runtime.linux-'%{runtime_arch}'.microsoft.netcore.ilasm.||' | sed -E 's|.nupkg$||')
c51fa4
echo $ilasm_version
c51fa4
c51fa4
mkdir -p packages-customized-local
c51fa4
pushd packages-customized-local
c51fa4
tar xf ../packages/archive/Private.SourceBuilt.Artifacts.*.tar.gz
c51fa4
sed -i -E 's|<MicrosoftNETCoreILAsmVersion>[^<]+</MicrosoftNETCoreILAsmVersion>|<MicrosoftNETCoreILAsmVersion>'$ilasm_version'</MicrosoftNETCoreILAsmVersion>|' PackageVersions.props
c51fa4
sed -i -E 's|<MicrosoftNETCoreILDAsmVersion>[^<]+</MicrosoftNETCoreILDAsmVersion>|<MicrosoftNETCoreILDAsmVersion>'$ilasm_version'</MicrosoftNETCoreILDAsmVersion>|' PackageVersions.props
c51fa4
tar czf ../packages/archive/Private.SourceBuilt.Artifacts.*.tar.gz *
c51fa4
popd
c51fa4
24cae2
%endif
24cae2
24cae2
%endif
24cae2
24cae2
%endif
24cae2
24cae2
%patch1 -p1
24cae2
%patch2 -p1
c51fa4
%patch3 -p1
c51fa4
%patch4 -p1
c51fa4
%patch5 -p1
c51fa4
%patch6 -p1
c51fa4
%patch7 -p1
c51fa4
%patch8 -p1
c51fa4
%patch9 -p1
c51fa4
%patch10 -p1
24cae2
24cae2
# Fix bad hardcoded path in build
24cae2
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/runtime/src/native/corehost/hostmisc/pal.unix.cpp
24cae2
24cae2
%if ! %{use_bundled_libunwind}
24cae2
sed -i -E 's|( /p:BuildDebPackage=false)|\1 --cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' src/runtime/eng/SourceBuild.props
24cae2
%endif
24cae2
24cae2
24cae2
%build
24cae2
cat /etc/os-release
24cae2
24cae2
%if %{without bootstrap}
24cae2
# We need to create a copy because we will mutate this
24cae2
cp -a %{_libdir}/dotnet previously-built-dotnet
24cae2
find previously-built-dotnet
24cae2
%endif
24cae2
24cae2
%if 0%{?fedora} || 0%{?rhel} >= 9
24cae2
# Setting this macro ensures that only clang supported options will be
24cae2
# added to ldflags and cflags.
24cae2
%global toolchain clang
24cae2
%set_build_flags
24cae2
%else
24cae2
# Filter flags not supported by clang
24cae2
%global dotnet_cflags %(echo %optflags | sed -re 's/-specs=[^ ]*//g')
24cae2
%global dotnet_ldflags %(echo %{__global_ldflags} | sed -re 's/-specs=[^ ]*//g')
24cae2
export CFLAGS="%{dotnet_cflags}"
24cae2
export CXXFLAGS="%{dotnet_cflags}"
24cae2
export LDFLAGS="%{dotnet_ldflags}"
24cae2
%endif
24cae2
24cae2
# -fstack-clash-protection breaks CoreCLR
24cae2
CFLAGS=$(echo $CFLAGS  | sed -e 's/-fstack-clash-protection//' )
24cae2
CXXFLAGS=$(echo $CXXFLAGS  | sed -e 's/-fstack-clash-protection//' )
24cae2
24cae2
%ifarch aarch64
24cae2
# -mbranch-protection=standard breaks unwinding in CoreCLR through libunwind
24cae2
CFLAGS=$(echo $CFLAGS | sed -e 's/-mbranch-protection=standard //')
24cae2
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/-mbranch-protection=standard //')
24cae2
%endif
24cae2
24cae2
%ifarch s390x
24cae2
# -march=z13 -mtune=z14 makes clang crash while compiling .NET
24cae2
CFLAGS=$(echo $CFLAGS | sed -e 's/ -march=z13//')
24cae2
CFLAGS=$(echo $CFLAGS | sed -e 's/ -mtune=z14//')
24cae2
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/ -march=z13//')
24cae2
CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/ -mtune=z14//')
24cae2
%endif
24cae2
24cae2
export EXTRA_CFLAGS="$CFLAGS"
24cae2
export EXTRA_CXXFLAGS="$CXXFLAGS"
24cae2
export EXTRA_LDFLAGS="$LDFLAGS"
24cae2
24cae2
# Disable tracing, which is incompatible with certain versions of
24cae2
# lttng See https://github.com/dotnet/runtime/issues/57784. The
24cae2
# suggested compile-time change doesn't work, unfortunately.
24cae2
export COMPlus_LTTng=0
24cae2
24cae2
%if 0%{?rhel} >= 9
24cae2
# OpenSSL 3.0 in RHEL 9 has disabled SHA1, used by .NET for strong
24cae2
# name signing. See https://github.com/dotnet/runtime/issues/67304
24cae2
# https://gitlab.com/redhat/centos-stream/rpms/openssl/-/commit/78fb78d30755ae18fdaef28ef392f4e67c662ff6
24cae2
export OPENSSL_ENABLE_SHA1_SIGNATURES=1
24cae2
%endif
24cae2
24cae2
%if 0%{?rhel}
24cae2
# See https://github.com/dotnet/source-build/issues/2991
24cae2
export DOTNET_NUGET_SIGNATURE_VERIFICATION=false
24cae2
%endif
24cae2
24cae2
VERBOSE=1 ./build.sh \
24cae2
%if %{without bootstrap}
24cae2
    --with-sdk previously-built-dotnet \
c51fa4
%endif
c51fa4
%ifarch %{mono_archs}
c51fa4
    --use-mono-runtime \
24cae2
%endif
24cae2
    -- \
24cae2
    /p:MinimalConsoleLogOutput=false \
24cae2
    /p:ContinueOnPrebuiltBaselineError=true \
24cae2
    /v:n \
24cae2
    /p:LogVerbosity=n \
24cae2
24cae2
24cae2
echo \
24cae2
    /p:SkipPortableRuntimeBuild=true \
24cae2
24cae2
24cae2
sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE11} > dotnet.sh
24cae2
24cae2
24cae2
%install
24cae2
install -dm 0755 %{buildroot}%{_libdir}/dotnet
24cae2
ls artifacts/%{runtime_arch}/Release
24cae2
tar xf artifacts/%{runtime_arch}/Release/dotnet-sdk-%{sdk_version}-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
24cae2
24cae2
# See https://github.com/dotnet/source-build/issues/2579
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'testhost.x86' -delete
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'vstest.console' -delete
24cae2
24cae2
# Install managed symbols: disabled because they don't contain sources
24cae2
# but point to the paths the sources would have been at in the build
24cae2
# servers. The end user experience is pretty bad atm.
24cae2
# tar xf artifacts/%%{runtime_arch}/Release/runtime/dotnet-runtime-symbols-%%{runtime_id}-%%{runtime_version}.tar.gz \
24cae2
#    -C %%{buildroot}/%%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%%{runtime_version}/
24cae2
24cae2
# Fix executable permissions on files
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'apphost' -exec chmod +x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'singlefilehost' -exec chmod +x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name 'lib*so' -exec chmod +x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.a' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.dll' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.h' -exec chmod 0644 {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.json' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pdb' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.props' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pubxml' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.txt' -exec chmod -x {} \;
24cae2
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \;
24cae2
24cae2
install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/
24cae2
install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/
24cae2
24cae2
install -dm 0755 %{buildroot}/%{_datadir}/bash-completion/completions
24cae2
# dynamic completion needs the file to be named the same as the base command
24cae2
install src/sdk/scripts/register-completions.bash %{buildroot}/%{_datadir}/bash-completion/completions/dotnet
24cae2
24cae2
# TODO: the zsh completion script needs to be ported to use #compdef
24cae2
#install -dm 755 %%{buildroot}/%%{_datadir}/zsh/site-functions
24cae2
#install src/cli/scripts/register-completions.zsh %%{buildroot}/%%{_datadir}/zsh/site-functions/_dotnet
24cae2
24cae2
install -dm 0755 %{buildroot}%{_bindir}
24cae2
ln -s ../../%{_libdir}/dotnet/dotnet %{buildroot}%{_bindir}/
24cae2
24cae2
for section in 1 7; do
24cae2
    install -dm 0755 %{buildroot}%{_mandir}/man${section}/
24cae2
    find -iname 'dotnet*'.${section} -type f -exec cp {} %{buildroot}%{_mandir}/man${section}/ \;
24cae2
done
24cae2
24cae2
install -dm 0755 %{buildroot}%{_sysconfdir}/dotnet
24cae2
echo "%{_libdir}/dotnet" >> install_location
24cae2
install install_location %{buildroot}%{_sysconfdir}/dotnet/
24cae2
echo "%{_libdir}/dotnet" >> install_location_%{runtime_arch}
24cae2
install install_location_%{runtime_arch} %{buildroot}%{_sysconfdir}/dotnet/
24cae2
24cae2
install -dm 0755 %{buildroot}%{_libdir}/dotnet/source-built-artifacts
24cae2
install -m 0644 artifacts/%{runtime_arch}/Release/Private.SourceBuilt.Artifacts.*.tar.gz %{buildroot}/%{_libdir}/dotnet/source-built-artifacts/
24cae2
24cae2
24cae2
# Quick and dirty check for https://github.com/dotnet/source-build/issues/2731
24cae2
test -f %{buildroot}%{_libdir}/dotnet/sdk/%{sdk_version}/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props
24cae2
24cae2
# Check debug symbols in all elf objects. This is not in %%check
24cae2
# because native binaries are stripped by rpm-build after %%install.
24cae2
# So we need to do this check earlier.
24cae2
echo "Testing build results for debug symbols..."
24cae2
%{SOURCE10} -v %{buildroot}%{_libdir}/dotnet/
24cae2
24cae2
24cae2
24cae2
%check
24cae2
%if 0%{?fedora} > 35
24cae2
# lttng in Fedora > 35 is incompatible with .NET
24cae2
export COMPlus_LTTng=0
24cae2
%endif
24cae2
24cae2
%{buildroot}%{_libdir}/dotnet/dotnet --info
24cae2
%{buildroot}%{_libdir}/dotnet/dotnet --version
24cae2
24cae2
24cae2
%if 0%{?rhel} <= 8
24cae2
%files -n dotnet
24cae2
# empty package useful for dependencies
24cae2
%endif
24cae2
24cae2
%files -n dotnet-host
24cae2
%dir %{_libdir}/dotnet
24cae2
%{_libdir}/dotnet/dotnet
24cae2
%dir %{_libdir}/dotnet/host
24cae2
%dir %{_libdir}/dotnet/host/fxr
24cae2
%{_bindir}/dotnet
24cae2
%license %{_libdir}/dotnet/LICENSE.txt
24cae2
%license %{_libdir}/dotnet/ThirdPartyNotices.txt
24cae2
%doc %{_mandir}/man1/dotnet*.1.gz
24cae2
%doc %{_mandir}/man7/dotnet*.7.gz
24cae2
%config(noreplace) %{_sysconfdir}/profile.d/dotnet.sh
24cae2
%config(noreplace) %{_sysconfdir}/dotnet
24cae2
%dir %{_datadir}/bash-completion
24cae2
%dir %{_datadir}/bash-completion/completions
24cae2
%{_datadir}/bash-completion/completions/dotnet
24cae2
24cae2
%files -n dotnet-hostfxr-7.0
24cae2
%dir %{_libdir}/dotnet/host/fxr
24cae2
%{_libdir}/dotnet/host/fxr/%{host_version}
24cae2
24cae2
%files -n dotnet-runtime-7.0
24cae2
%dir %{_libdir}/dotnet/shared
24cae2
%dir %{_libdir}/dotnet/shared/Microsoft.NETCore.App
24cae2
%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}
24cae2
24cae2
%files -n aspnetcore-runtime-7.0
24cae2
%dir %{_libdir}/dotnet/shared
24cae2
%dir %{_libdir}/dotnet/shared/Microsoft.AspNetCore.App
24cae2
%{_libdir}/dotnet/shared/Microsoft.AspNetCore.App/%{aspnetcore_runtime_version}
24cae2
24cae2
%files -n dotnet-templates-7.0
24cae2
%dir %{_libdir}/dotnet/templates
24cae2
%{_libdir}/dotnet/templates/%{templates_version}
24cae2
24cae2
%files -n dotnet-sdk-7.0
24cae2
%dir %{_libdir}/dotnet/sdk
24cae2
%{_libdir}/dotnet/sdk/%{sdk_version}
24cae2
%dir %{_libdir}/dotnet/sdk-manifests
24cae2
%{_libdir}/dotnet/sdk-manifests/%{sdk_feature_band_version}
24cae2
%{_libdir}/dotnet/sdk-manifests/%{sdk_feature_band_version}-rc.1
24cae2
%{_libdir}/dotnet/metadata
24cae2
%dir %{_libdir}/dotnet/packs
24cae2
24cae2
%files -n dotnet-sdk-7.0-source-built-artifacts
24cae2
%dir %{_libdir}/dotnet
24cae2
%{_libdir}/dotnet/source-built-artifacts
24cae2
24cae2
24cae2
%changelog
c51fa4
* Tue Oct 25 2022 Omair Majid <omajid@redhat.com> - 7.0.100-0.5.rc2
c51fa4
- Add lldb as a build dependency
c51fa4
- Related: RHBZ#2134641
c51fa4
c51fa4
* Mon Oct 24 2022 Omair Majid <omajid@redhat.com> - 7.0.100-0.4.rc2
c51fa4
- Enable ppc64le builds
c51fa4
- Related: RHBZ#2134641
c51fa4
c51fa4
* Thu Oct 13 2022 Omair Majid <omajid@redhat.com> - 7.0.100-0.3.rc2
c51fa4
- Update to .NET 7 RC 2
c51fa4
- Resolves: RHBZ#2134641
c51fa4
24cae2
* Sat Sep 17 2022 Omair Majid <omajid@redhat.com> - 7.0.100-0.2.rc1
24cae2
- Update to .NET 7 RC 1
24cae2
- Enable s390x builds
24cae2
- Resolves: RHBZ#2123884
24cae2
24cae2
* Thu Aug 25 2022 Omair Majid <omajid@redhat.com> - 7.0.100-0.1
24cae2
- Initial .NET 7 package
24cae2
- Resolves: RHBZ#2112027
24cae2
24cae2
* Wed May 11 2022 Omair Majid <omajid@redhat.com> - 6.0.105-1
24cae2
- Update to .NET SDK 6.0.105 and Runtime 6.0.5
24cae2
24cae2
* Tue Apr 12 2022 Omair Majid <omajid@redhat.com> - 6.0.104-1
24cae2
- Update to .NET SDK 6.0.104 and Runtime 6.0.4
24cae2
24cae2
* Thu Mar 10 2022 Omair Majid <omajid@redhat.com> - 6.0.103-1
24cae2
- Update to .NET SDK 6.0.103 and Runtime 6.0.3
24cae2
24cae2
* Mon Feb 14 2022 Omair Majid <omajid@redhat.com> - 6.0.102-1
24cae2
- Update to .NET SDK 6.0.102 and Runtime 6.0.2
24cae2
24cae2
* Fri Jan 28 2022 Omair Majid <omajid@redhat.com> - 6.0.101-3
24cae2
- Update to .NET SDK 6.0.101 and Runtime 6.0.1
24cae2
24cae2
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.100-3
24cae2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
24cae2
24cae2
* Mon Dec 20 2021 Omair Majid <omajid@redhat.com> - 6.0.100-2
24cae2
- Disable bootstrap
24cae2
24cae2
* Sun Dec 19 2021 Omair Majid <omajid@redhat.com> - 6.0.100-1
24cae2
- Update to .NET 6
24cae2
24cae2
* Fri Oct 22 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.7.rc2
24cae2
- Update to .NET 6 RC2
24cae2
24cae2
* Fri Oct 08 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718
24cae2
- Enable building on arm64
24cae2
- Related: RHBZ#1986017
24cae2
24cae2
* Sun Oct 03 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.5.28be3e9a006d90d8c6e87d4353b77882829df718
24cae2
- Enable building on s390x
24cae2
- Related: RHBZ#1986017
24cae2
24cae2
* Sun Oct 03 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.4.28be3e9a006d90d8c6e87d4353b77882829df718
24cae2
- Clean up tarball and add initial support for s390x
24cae2
- Related: RHBZ#1986017
24cae2
24cae2
* Sun Sep 26 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.3.28be3e9a006d90d8c6e87d4353b77882829df718
24cae2
- Update to work-in-progress RC2 release
24cae2
24cae2
* Wed Aug 25 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.2.preview6
24cae2
- Updated to build the latest source-build preview
24cae2
24cae2
* Fri Jul 23 2021 Omair Majid <omajid@redhat.com> - 6.0.0-0.1.preview6
24cae2
- Initial package for .NET 6
24cae2
24cae2
* Thu Jun 10 2021 Omair Majid <omajid@redhat.com> - 5.0.204-1
24cae2
- Update to .NET SDK 5.0.204 and Runtime 5.0.7
24cae2
24cae2
* Wed May 12 2021 Omair Majid <omajid@redhat.com> - 5.0.203-1
24cae2
- Update to .NET SDK 5.0.203 and Runtime 5.0.6
24cae2
24cae2
* Wed Apr 14 2021 Omair Majid <omajid@redhat.com> - 5.0.202-1
24cae2
- Update to .NET SDK 5.0.202 and Runtime 5.0.5
24cae2
24cae2
* Tue Apr 06 2021 Omair Majid <omajid@redhat.com> - 5.0.104-2
24cae2
- Mark files under /etc/ as config(noreplace)
24cae2
- Add an rpm-inspect configuration file
24cae2
- Add an rpmlintrc file
24cae2
- Enable gating for release branches and ELN too
24cae2
24cae2
* Tue Mar 16 2021 Omair Majid <omajid@redhat.com> - 5.0.104-1
24cae2
- Update to .NET SDK 5.0.104 and Runtime 5.0.4
24cae2
- Drop unneeded/upstreamed patches
24cae2
24cae2
* Wed Feb 17 2021 Omair Majid <omajid@redhat.com> - 5.0.103-2
24cae2
- Add Fedora 35 RIDs
24cae2
24cae2
* Thu Feb 11 2021 Omair Majid <omajid@redhat.com> - 5.0.103-1
24cae2
- Update to .NET SDK 5.0.103 and Runtime 5.0.3
24cae2
24cae2
* Fri Jan 29 2021 Omair Majid <omajid@redhat.com> - 5.0.102-2
24cae2
- Disable bootstrap
24cae2
24cae2
* Fri Dec 18 2020 Omair Majid <omajid@redhat.com> - 5.0.100-2
24cae2
- Update to .NET Core Runtime 5.0.0 and SDK 5.0.100 commit 9c4e5de
24cae2
24cae2
* Fri Dec 04 2020 Omair Majid <omajid@redhat.com> - 5.0.100-1
24cae2
- Update to .NET Core Runtime 5.0.0 and SDK 5.0.100
24cae2
24cae2
* Thu Dec 03 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.4.20201202git337413b
24cae2
- Update to latest 5.0 pre-GA commit
24cae2
24cae2
* Tue Nov 24 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.4.20201123gitdee899c
24cae2
- Update to 5.0 pre-GA commit
24cae2
24cae2
* Mon Sep 14 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.3.preview8
24cae2
- Update to Preview 8
24cae2
24cae2
* Fri Jul 10 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.2.preview4
24cae2
- Fix building with custom CFLAGS/CXXFLAGS/LDFLAGS
24cae2
- Clean up patches
24cae2
24cae2
* Mon Jul 06 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.1.preview4
24cae2
- Initial build
24cae2
24cae2
* Sat Jun 27 2020 Omair Majid <omajid@redhat.com> - 3.1.105-4
24cae2
- Disable bootstrap
24cae2
24cae2
* Fri Jun 26 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
24cae2
- Re-bootstrap aarch64
24cae2
24cae2
* Fri Jun 19 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
24cae2
- Disable bootstrap
24cae2
24cae2
* Thu Jun 18 2020 Omair Majid <omajid@redhat.com> - 3.1.105-1
24cae2
- Bootstrap aarch64
24cae2
24cae2
* Tue Jun 16 2020 Chris Rummel <crummel@microsoft.com> - 3.1.105-1
24cae2
- Update to .NET Core Runtime 3.1.5 and SDK 3.1.105
24cae2
24cae2
* Fri Jun 05 2020 Chris Rummel <crummel@microsoft.com> - 3.1.104-1
24cae2
- Update to .NET Core Runtime 3.1.4 and SDK 3.1.104
24cae2
24cae2
* Thu Apr 09 2020 Chris Rummel <crummel@microsoft.com> - 3.1.103-1
24cae2
- Update to .NET Core Runtime 3.1.3 and SDK 3.1.103
24cae2
24cae2
* Mon Mar 16 2020 Omair Majid <omajid@redhat.com> - 3.1.102-1
24cae2
- Update to .NET Core Runtime 3.1.2 and SDK 3.1.102
24cae2
24cae2
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-4
24cae2
- Disable bootstrap
24cae2
24cae2
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-3
24cae2
- Enable bootstrap
24cae2
- Add Fedora 33 runtime ids
24cae2
24cae2
* Thu Feb 27 2020 Omair Majid <omajid@redhat.com> - 3.1.101-2
24cae2
- Disable bootstrap
24cae2
24cae2
* Tue Jan 21 2020 Omair Majid <omajid@redhat.com> - 3.1.101-1
24cae2
- Update to .NET Core Runtime 3.1.1 and SDK 3.1.101
24cae2
24cae2
* Thu Dec 05 2019 Omair Majid <omajid@redhat.com> - 3.1.100-1
24cae2
- Update to .NET Core Runtime 3.1.0 and SDK 3.1.100
24cae2
24cae2
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.4.preview3
24cae2
- Fix apphost permissions
24cae2
24cae2
* Fri Nov 15 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.3.preview3
24cae2
- Update to .NET Core Runtime 3.1.0-preview3.19553.2 and SDK
24cae2
  3.1.100-preview3-014645
24cae2
24cae2
* Wed Nov 06 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.2
24cae2
- Update to .NET Core 3.1 Preview 2
24cae2
24cae2
* Wed Oct 30 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.1
24cae2
- Update to .NET Core 3.1 Preview 1
24cae2
24cae2
* Thu Oct 24 2019 Omair Majid <omajid@redhat.com> - 3.0.100-5
24cae2
- Add cgroupv2 support to .NET Core
24cae2
24cae2
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-4
24cae2
- Include fix from coreclr for building on Fedora 32
24cae2
24cae2
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-3
24cae2
- Harden built binaries to pass annocheck
24cae2
24cae2
* Fri Oct 11 2019 Omair Majid <omajid@redhat.com> - 3.0.100-2
24cae2
- Export DOTNET_ROOT in profile to make apphost lookup work
24cae2
24cae2
* Fri Sep 27 2019 Omair Majid <omajid@redhat.com> - 3.0.100-1
24cae2
- Update to .NET Core Runtime 3.0.0 and SDK 3.0.100
24cae2
24cae2
* Wed Sep 25 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.18.rc1
24cae2
- Update to .NET Core Runtime 3.0.0-rc1-19456-20 and SDK 3.0.100-rc1-014190
24cae2
24cae2
* Tue Sep 17 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.16.preview9
24cae2
- Fix files duplicated between dotnet-apphost-pack-3.0 and dotnet-targeting-pack-3.0
24cae2
- Fix dependencies between .NET SDK and the targeting packs
24cae2
24cae2
* Mon Sep 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.15.preview9
24cae2
- Update to .NET Core Runtime 3.0.0-preview 9 and SDK 3.0.100-preview9
24cae2
24cae2
* Mon Aug 19 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.11.preview8
24cae2
- Update to .NET Core Runtime 3.0.0-preview8-28405-07 and SDK
24cae2
  3.0.100-preview8-013656
24cae2
24cae2
* Tue Jul 30 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.9.preview7
24cae2
- Update to .NET Core Runtime 3.0.0-preview7-27912-14 and SDK
24cae2
  3.0.100-preview7-012821
24cae2
24cae2
* Fri Jul 26 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.8.preview7
24cae2
- Update to .NET Core Runtime 3.0.0-preview7-27902-19 and SDK
24cae2
  3.0.100-preview7-012802
24cae2
24cae2
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.7.preview6
24cae2
- Obsolete dotnet-sdk-3.0.1xx
24cae2
- Add supackages for targeting packs
24cae2
- Add -fcf-protection to CFLAGS
24cae2
24cae2
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.6.preview6
24cae2
- Update to .NET Core Runtime 3.0.0-preview6-27804-01 and SDK 3.0.100-preview6-012264
24cae2
- Set dotnet installation location in /etc/dotnet/install_location
24cae2
- Update targeting packs
24cae2
- Install managed symbols
24cae2
- Completely conditionalize libunwind bundling
24cae2
24cae2
* Tue May 07 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.3.preview4
24cae2
- Update to .NET Core 3.0 preview 4
24cae2
24cae2
* Tue Dec 18 2018 Omair Majid <omajid@redhat.com> - 3.0.0-0.1.preview1
24cae2
- Update to .NET Core 3.0 preview 1
24cae2
24cae2
* Fri Dec 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100
24cae2
- Update to .NET Core 2.2.0
24cae2
24cae2
* Wed Nov 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100-0.2.preview3
24cae2
- Update to .NET Core 2.2.0-preview3
24cae2
24cae2
* Fri Nov 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-3
24cae2
- Add host-fxr-2.1 subpackage
24cae2
24cae2
* Mon Oct 15 2018 Omair Majid <omajid@redhat.com> - 2.1.403-2
24cae2
- Disable telemetry by default
24cae2
- Users have to manually export DOTNET_CLI_TELEMETRY_OPTOUT=0 to enable
24cae2
24cae2
* Tue Oct 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-1
24cae2
- Update to .NET Core Runtime 2.1.5 and SDK 2.1.403
24cae2
24cae2
* Wed Sep 26 2018 Omair Majid <omajid@redhat.com> - 2.1.402-2
24cae2
- Add ~/.dotnet/tools to $PATH to make it easier to use dotnet tools
24cae2
24cae2
* Thu Sep 13 2018 Omair Majid <omajid@redhat.com> - 2.1.402-1
24cae2
- Update to .NET Core Runtime 2.1.4 and SDK 2.1.402
24cae2
24cae2
* Wed Sep 05 2018 Omair Majid <omajid@redhat.com> - 2.1.401-2
24cae2
- Use distro-standard flags when building .NET Core
24cae2
24cae2
* Tue Aug 21 2018 Omair Majid <omajid@redhat.com> - 2.1.401-1
24cae2
- Update to .NET Core Runtime 2.1.3 and SDK 2.1.401
24cae2
24cae2
* Mon Aug 20 2018 Omair Majid <omajid@redhat.com> - 2.1.302-1
24cae2
- Update to .NET Core Runtime 2.1.2 and SDK 2.1.302
24cae2
24cae2
* Fri Jul 20 2018 Omair Majid <omajid@redhat.com> - 2.1.301-1
24cae2
- Update to .NET Core 2.1
24cae2
24cae2
* Thu May 03 2018 Omair Majid <omajid@redhat.com> - 2.0.7-1
24cae2
- Update to .NET Core 2.0.7
24cae2
24cae2
* Wed Mar 28 2018 Omair Majid <omajid@redhat.com> - 2.0.6-2
24cae2
- Enable bash completion for dotnet
24cae2
- Remove redundant buildrequires and requires
24cae2
24cae2
* Wed Mar 14 2018 Omair Majid <omajid@redhat.com> - 2.0.6-1
24cae2
- Update to .NET Core 2.0.6
24cae2
24cae2
* Fri Feb 23 2018 Omair Majid <omajid@redhat.com> - 2.0.5-1
24cae2
- Update to .NET Core 2.0.5
24cae2
24cae2
* Wed Jan 24 2018 Omair Majid <omajid@redhat.com> - 2.0.3-5
24cae2
- Don't apply corefx clang warnings fix on clang < 5
24cae2
24cae2
* Fri Jan 19 2018 Omair Majid <omajid@redhat.com> - 2.0.3-4
24cae2
- Add a test script to sanity check debug and symbol info.
24cae2
- Build with clang 5.0
24cae2
- Make main package real instead of using a virtual provides (see RHBZ 1519325)
24cae2
24cae2
* Wed Nov 29 2017 Omair Majid <omajid@redhat.com> - 2.0.3-3
24cae2
- Add a Provides for 'dotnet'
24cae2
- Fix conditional macro
24cae2
24cae2
* Tue Nov 28 2017 Omair Majid <omajid@redhat.com> - 2.0.3-2
24cae2
- Fix build on Fedora 27
24cae2
24cae2
* Fri Nov 17 2017 Omair Majid <omajid@redhat.com> - 2.0.3-1
24cae2
- Update to .NET Core 2.0.3
24cae2
24cae2
* Thu Oct 19 2017 Omair Majid <omajid@redhat.com> - 2.0.0-4
24cae2
- Add a hack to let omnisharp work
24cae2
24cae2
* Wed Aug 30 2017 Omair Majid <omajid@redhat.com> - 2.0.0-3
24cae2
- Add a patch for building coreclr and core-setup correctly on Fedora >= 27
24cae2
24cae2
* Fri Aug 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-2
24cae2
- Move libicu/libcurl/libunwind requires to runtime package
24cae2
- Make sdk depend on the exact version of the runtime package
24cae2
24cae2
* Thu Aug 24 2017 Omair Majid <omajid@redhat.com> - 2.0.0-1
24cae2
- Update to 2.0.0 final release
24cae2
24cae2
* Wed Jul 26 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.3.preview2
24cae2
- Add man pages
24cae2
24cae2
* Tue Jul 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.2.preview2
24cae2
- Add Requires on libicu
24cae2
- Split into multiple packages
24cae2
- Do not repeat first-run message
24cae2
24cae2
* Fri Jul 21 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.1.preview2
24cae2
- Update to .NET Core 2.0 Preview 2
24cae2
24cae2
* Thu Mar 16 2017 Nemanja Milošević <nmilosevnm@gmail.com> - 1.1.0-7
24cae2
- rebuilt with latest libldb
24cae2
* Wed Feb 22 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-6
24cae2
- compat-openssl 1.0 for F26 for now
24cae2
* Sun Feb 19 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-5
24cae2
- Fix wrong commit id's
24cae2
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-4
24cae2
- Use commit id's instead of branch names
24cae2
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-3
24cae2
- Improper patch5 fix
24cae2
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-2
24cae2
- SPEC cleanup
24cae2
- git removal (using all tarballs for reproducible builds)
24cae2
- more reasonable versioning
24cae2
* Thu Feb 09 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-1
24cae2
- Fixed debuginfo going to separate package (Patch1)
24cae2
- Added F25/F26 RIL and fixed the version info (Patch2)
24cae2
- Added F25/F26 RIL in Microsoft.NETCore.App suported runtime graph (Patch3)
24cae2
- SPEC file cleanup
24cae2
* Wed Jan 11 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-0
24cae2
- Initial RPM for Fedora 25/26.