Blame SPECS/dotnet7.0.spec

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