Blame SPECS/dotnet7.0.spec

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