Blame SPECS/dotnet7.0.spec

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