Blame SPECS/dotnet3.1.spec

f99f78
# Avoid provides/requires from private libraries
f99f78
%global privlibs             libhostfxr
f99f78
%global privlibs %{privlibs}|libclrjit
f99f78
%global privlibs %{privlibs}|libcoreclr
f99f78
%global privlibs %{privlibs}|libcoreclrtraceptprovider
f99f78
%global privlibs %{privlibs}|libdbgshim
f99f78
%global privlibs %{privlibs}|libhostpolicy
f99f78
%global privlibs %{privlibs}|libmscordaccore
f99f78
%global privlibs %{privlibs}|libmscordbi
f99f78
%global privlibs %{privlibs}|libsos
f99f78
%global privlibs %{privlibs}|libsosplugin
f99f78
%global __provides_exclude ^(%{privlibs})\\.so
f99f78
%global __requires_exclude ^(%{privlibs})\\.so
f99f78
f99f78
# Filter flags not supported by clang/dotnet:
f99f78
#  -fstack-clash-protection is not supported by clang
f99f78
#  -specs= is not supported by clang
f99f78
%global dotnet_cflags %(echo %optflags | sed -e 's/-fstack-clash-protection//' | sed -re 's/-specs=[^ ]*//g')
b835c2
%if 0%{?fedora} < 30 && ! 0%{?rhel}
f99f78
# on Fedora 29, clang, -fcf-protection and binutils interact in strage ways leading to
f99f78
# "<corrupt x86 feature size: 0x8>" errors.
f99f78
%global dotnet_cflags %(echo %dotnet_cflags | sed -e 's/ -fcf-protection//')
f99f78
%endif
f99f78
%global dotnet_ldflags %(echo %{__global_ldflags} | sed -re 's/-specs=[^ ]*//g')
f99f78
3d1cca
%global host_version 3.1.12
3d1cca
%global runtime_version 3.1.12
f99f78
%global aspnetcore_runtime_version %{runtime_version}
3d1cca
%global sdk_version 3.1.112
ab35ce
%global templates_version %(echo %{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
f99f78
f99f78
%global host_rpm_version %{host_version}
f99f78
%global runtime_rpm_version %{runtime_version}
f99f78
%global aspnetcore_runtime_rpm_version %{aspnetcore_runtime_version}
f99f78
%global sdk_rpm_version %{sdk_version}
f99f78
f99f78
%if 0%{?fedora} || 0%{?rhel} < 8
f99f78
%global use_bundled_libunwind 0
f99f78
%else
f99f78
%global use_bundled_libunwind 1
f99f78
%endif
f99f78
f99f78
%ifarch x86_64
f99f78
%global runtime_arch x64
f99f78
%endif
f99f78
%ifarch aarch64
f99f78
%global runtime_arch arm64
f99f78
%endif
f99f78
f99f78
%if 0%{?fedora}
f99f78
%global runtime_id fedora.%{fedora}-%{runtime_arch}
f99f78
%else
f99f78
%if 0%{?centos}
f99f78
%global runtime_id centos.%{centos}-%{runtime_arch}
f99f78
%else
f99f78
%global runtime_id rhel.%{rhel}-%{runtime_arch}
f99f78
%endif
f99f78
%endif
f99f78
f99f78
Name:           dotnet3.1
f99f78
Version:        %{sdk_rpm_version}
d51dc3
Release:        1%{?dist}
f99f78
Summary:        .NET Core CLI tools and runtime
f99f78
License:        MIT and ASL 2.0 and BSD
f99f78
URL:            https://github.com/dotnet/
f99f78
f99f78
# ./build-dotnet-tarball dotnet-v%%{sdk_version}-SDK
f99f78
Source0:        dotnet-v%{sdk_version}-SDK.tar.gz
f99f78
#Source1:        dotnet-v%%{sdk_version}-SDK-rhel.8-arm64.tar.gz
f99f78
f99f78
Source100:      check-debug-symbols.py
f99f78
Source101:      dotnet.sh.in
f99f78
f99f78
Patch100:       corefx-optflags-support.patch
f99f78
Patch103:       corefx-39633-cgroupv2-mountpoints.patch
b835c2
Patch104:       corefx-hardening-flags.patch
f99f78
f99f78
Patch200:       coreclr-27048-sysctl-deprecation.patch
f99f78
Patch201:       coreclr-hardening-flags.patch
8b17b7
Patch202:       coreclr-libunwind-fno-common.patch
f99f78
f99f78
Patch300:       core-setup-do-not-strip.patch
f99f78
Patch301:       core-setup-hardening-flags.patch
f99f78
f99f78
Patch500:       cli-telemetry-optout.patch
f99f78
f99f78
ExclusiveArch:  x86_64
f99f78
f99f78
BuildRequires:  clang
f99f78
BuildRequires:  cmake
f99f78
BuildRequires:  coreutils
f99f78
BuildRequires:  git
f99f78
%if 0%{?fedora} || 0%{?rhel} > 7
f99f78
BuildRequires:  glibc-langpack-en
f99f78
%endif
f99f78
BuildRequires:  hostname
f99f78
BuildRequires:  krb5-devel
f99f78
BuildRequires:  libcurl-devel
f99f78
BuildRequires:  libicu-devel
f99f78
%if ! %{use_bundled_libunwind}
f99f78
BuildRequires:  libunwind-devel
f99f78
%endif
f99f78
BuildRequires:  lldb-devel
f99f78
BuildRequires:  llvm
f99f78
BuildRequires:  lttng-ust-devel
f99f78
BuildRequires:  openssl-devel
f99f78
BuildRequires:  python3
f99f78
BuildRequires:  tar
f99f78
BuildRequires:  zlib-devel
f99f78
f99f78
%description
f99f78
.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform applications that work on Linux, macOS and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
.NET Core contains a runtime conforming to .NET Standards a set of
f99f78
framework libraries, an SDK containing compilers and a 'dotnet'
f99f78
application to drive everything.
f99f78
f99f78
f99f78
%package -n dotnet
f99f78
f99f78
Version:        %{sdk_rpm_version}
f99f78
Summary:        .NET Core CLI tools and runtime
f99f78
f99f78
Requires:       dotnet-sdk-3.1%{?_isa} >= %{sdk_rpm_version}-%{release}
f99f78
f99f78
%description -n dotnet
f99f78
.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform applications that work on Linux, macOS and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
.NET Core contains a runtime conforming to .NET Standards a set of
f99f78
framework libraries, an SDK containing compilers and a 'dotnet'
f99f78
application to drive everything.
f99f78
f99f78
f99f78
%package -n dotnet-host
f99f78
f99f78
Version:        %{host_rpm_version}
f99f78
Summary:        .NET command line launcher
f99f78
f99f78
%description -n dotnet-host
f99f78
The .NET Core host is a command line program that runs a standalone
f99f78
.NET core application or launches the SDK.
f99f78
f99f78
.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform applications that work on Linux, Mac and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
f99f78
%package -n dotnet-hostfxr-3.1
f99f78
f99f78
Version:        %{host_rpm_version}
f99f78
Summary:        .NET Core command line host resolver
f99f78
f99f78
# Theoretically any version of the host should work. But lets aim for the one
f99f78
# provided by this package, or from a newer version of .NET Core
f99f78
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
f99f78
f99f78
%description -n dotnet-hostfxr-3.1
f99f78
The .NET Core host resolver contains the logic to resolve and select
f99f78
the right version of the .NET Core SDK or runtime to use.
f99f78
f99f78
.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform applications that work on Linux, Mac and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
f99f78
%package -n dotnet-runtime-3.1
f99f78
f99f78
Version:        %{runtime_rpm_version}
f99f78
Summary:        NET Core 3.1 runtime
f99f78
f99f78
Requires:       dotnet-hostfxr-3.1%{?_isa} >= %{host_rpm_version}-%{release}
f99f78
f99f78
# libicu is dlopen()ed
f99f78
Requires:       libicu
f99f78
f99f78
%if %{use_bundled_libunwind}
f99f78
Provides: bundled(libunwind) = 1.3
f99f78
%endif
f99f78
f99f78
%description -n dotnet-runtime-3.1
f99f78
The .NET Core runtime contains everything needed to run .NET Core applications.
f99f78
It includes a high performance Virtual Machine as well as the framework
f99f78
libraries used by .NET Core applications.
f99f78
f99f78
.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform applications that work on Linux, Mac and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
f99f78
%package -n aspnetcore-runtime-3.1
f99f78
f99f78
Version:        %{aspnetcore_runtime_rpm_version}
f99f78
Summary:        ASP.NET Core 3.1 runtime
f99f78
f99f78
Requires:       dotnet-runtime-3.1%{?_isa} >= %{runtime_rpm_version}-%{release}
f99f78
f99f78
%description -n aspnetcore-runtime-3.1
f99f78
The ASP.NET Core runtime contains everything needed to run .NET Core
f99f78
web applications. It includes a high performance Virtual Machine as
f99f78
well as the framework libraries used by .NET Core applications.
f99f78
f99f78
ASP.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform web applications that work on Linux, Mac and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
f99f78
%package -n dotnet-templates-3.1
f99f78
f99f78
Version:        %{sdk_rpm_version}
f99f78
Summary:        .NET Core 3.1 templates
f99f78
f99f78
# Theoretically any version of the host should work. But lets aim for the one
f99f78
# provided by this package, or from a newer version of .NET Core
f99f78
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
f99f78
f99f78
%description -n dotnet-templates-3.1
f99f78
This package contains templates used by the .NET Core SDK.
f99f78
f99f78
ASP.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform web applications that work on Linux, Mac and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
f99f78
%package -n dotnet-sdk-3.1
f99f78
f99f78
Version:        %{sdk_rpm_version}
f99f78
Summary:        .NET Core 3.1 Software Development Kit
f99f78
f99f78
Requires:       dotnet-runtime-3.1%{?_isa} >= %{runtime_rpm_version}-%{release}
f99f78
Requires:       aspnetcore-runtime-3.1%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
f99f78
f99f78
Requires:       dotnet-apphost-pack-3.1%{?_isa} >= %{runtime_rpm_version}-%{release}
f99f78
Requires:       dotnet-targeting-pack-3.1%{?_isa} >= %{runtime_rpm_version}-%{release}
f99f78
Requires:       aspnetcore-targeting-pack-3.1%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
f99f78
Requires:       netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release}
f99f78
f99f78
Requires:       dotnet-templates-3.1%{?_isa} >= %{sdk_rpm_version}-%{release}
f99f78
f99f78
%description -n dotnet-sdk-3.1
f99f78
The .NET Core SDK is a collection of command line applications to
f99f78
create, build, publish and run .NET Core applications.
f99f78
f99f78
.NET Core is a fast, lightweight and modular platform for creating
f99f78
cross platform applications that work on Linux, Mac and Windows.
f99f78
f99f78
It particularly focuses on creating console applications, web
f99f78
applications and micro-services.
f99f78
f99f78
f99f78
%define dotnet_targeting_pack() %{expand:
f99f78
%package -n %{1}
f99f78
f99f78
Version:        %{2}
f99f78
Summary:        Targeting Pack for %{3} %{4}
f99f78
f99f78
Requires:       dotnet-host
f99f78
f99f78
%description -n %{1}
f99f78
This package provides a targetting pack for %{3} %{4}
f99f78
that allows developers to compile against and target %{3} %{4}
f99f78
applications using the .NET Core SDK.
f99f78
f99f78
%files -n %{1}
f99f78
%dir %{_libdir}/dotnet/packs
f99f78
%{_libdir}/dotnet/packs/%{5}
f99f78
}
f99f78
f99f78
%dotnet_targeting_pack dotnet-apphost-pack-3.1 %{runtime_rpm_version} Microsoft.NETCore.App 3.1 Microsoft.NETCore.App.Host.%{runtime_id}
f99f78
%dotnet_targeting_pack dotnet-targeting-pack-3.1 %{runtime_rpm_version} Microsoft.NETCore.App 3.1 Microsoft.NETCore.App.Ref
f99f78
%dotnet_targeting_pack aspnetcore-targeting-pack-3.1 %{aspnetcore_runtime_rpm_version} Microsoft.AspNetCore.App 3.1 Microsoft.AspNetCore.App.Ref
b835c2
#%%dotnet_targeting_pack netstandard-targeting-pack-2.1 %%{sdk_rpm_version} NETStandard.Library 2.1 NETStandard.Library.Ref
f99f78
f99f78
f99f78
%prep
f99f78
%ifarch x86_64
f99f78
%setup T -b0 -q -n dotnet-v%{sdk_version}-SDK
f99f78
%endif
f99f78
%ifarch aarch64
f99f78
%setup T -b1 -q -n dotnet-v%{sdk_version}-SDK-rhel.8-arm64
f99f78
%endif
f99f78
f99f78
# Fix bad hardcoded path in build
d44399
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/dotnet-core-setup.*/src/corehost/common/pal.unix.cpp
f99f78
f99f78
# Disable warnings
ab35ce
sed -i 's|skiptests|skiptests ignorewarnings|' repos/coreclr.common.props
f99f78
d44399
pushd src/dotnet-corefx.*
f99f78
%patch100 -p1
f99f78
%patch103 -p1
b835c2
%patch104 -p1
f99f78
popd
f99f78
6f69f5
pushd src/coreclr.*
f99f78
%patch200 -p1
f99f78
%patch201 -p1
8b17b7
%patch202 -p1
f99f78
popd
f99f78
d44399
pushd src/dotnet-core-setup.*
f99f78
%patch300 -p1
f99f78
%patch301 -p1
f99f78
popd
f99f78
d44399
pushd src/dotnet-cli.*
f99f78
%patch500 -p1
f99f78
popd
f99f78
f99f78
# If CLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE is misisng, add it back
ab35ce
grep CLR_CMAKE_USE_SYSTEM_LIBUNWIND repos/coreclr.common.props || \
ab35ce
    sed -i 's|\$(BuildArguments) </BuildArguments>|$(BuildArguments) cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE</BuildArguments>|' repos/coreclr.common.props
f99f78
f99f78
%if %{use_bundled_libunwind}
ab35ce
sed -i 's|-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=FALSE|' repos/coreclr.common.props
f99f78
%endif
f99f78
f99f78
cat source-build-info.txt
f99f78
f99f78
find -iname 'nuget.config' -exec echo {}: \; -exec cat {} \; -exec echo \;
f99f78
f99f78
f99f78
%build
f99f78
cat /etc/os-release
f99f78
f99f78
export CFLAGS="%{dotnet_cflags}"
f99f78
export CXXFLAGS="%{dotnet_cflags}"
f99f78
export LDFLAGS="%{dotnet_ldflags}"
f99f78
f99f78
VERBOSE=1 ./build.sh \
ab35ce
  -- \
f99f78
  /v:n \
f99f78
  /p:LogVerbosity=n \
f99f78
  /p:MinimalConsoleLogOutput=false \
f99f78
  /p:ContinueOnPrebuiltBaselineError=true \
f99f78
f99f78
f99f78
sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE101} > dotnet.sh
f99f78
f99f78
f99f78
%install
f99f78
install -dm 0755 %{buildroot}%{_libdir}/dotnet
fea314
ls artifacts/%{runtime_arch}/Release
fea314
tar xf artifacts/%{runtime_arch}/Release/dotnet-sdk-%{sdk_version}-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
f99f78
f99f78
# Install managed symbols
fea314
tar xf artifacts/%{runtime_arch}/Release/runtime/dotnet-runtime-symbols-%{runtime_version}-%{runtime_id}.tar.gz \
f99f78
    -C %{buildroot}/%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}/
f99f78
f99f78
# Fix executable permissions on files
f99f78
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.dll' -exec chmod -x {} \;
f99f78
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pdb' -exec chmod -x {} \;
f99f78
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.props' -exec chmod -x {} \;
f99f78
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pubxml' -exec chmod -x {} \;
f99f78
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {} \;
f99f78
chmod 0755 %{buildroot}/%{_libdir}/dotnet/sdk/%{sdk_version}/AppHostTemplate/apphost
d51dc3
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.AspNetCore.App.Ref/3.1.10/data/FrameworkList.xml
d51dc3
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.AspNetCore.App.Ref/3.1.10/data/PackageOverrides.txt
d51dc3
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.AspNetCore.App.Ref/3.1.10/data/PlatformManifest.txt
d51dc3
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.AspNetCore.App.Ref/3.1.10/ref/netcoreapp3.1/*.xml
b835c2
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/nethost.h
f99f78
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/FrameworkList.xml
b835c2
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/PackageOverrides.txt
f99f78
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Ref/3.1.0/data/PlatformManifest.txt
f99f78
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0/data/FrameworkList.xml
b835c2
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0/data/PackageOverrides.txt
b835c2
chmod 0755 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/apphost
b835c2
chmod 0755 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/libnethost.so
f99f78
b835c2
# Provided by dotnet-host from another SRPM
b835c2
#install -dm 0755 %%{buildroot}%{_sysconfdir}/profile.d/
b835c2
#install dotnet.sh %%{buildroot}%{_sysconfdir}/profile.d/
f99f78
b835c2
# Provided by dotnet-host from another SRPM
b835c2
#install -dm 0755 %%{buildroot}/%%{_datadir}/bash-completion/completions
f99f78
# dynamic completion needs the file to be named the same as the base command
b835c2
#install src/cli.*/scripts/register-completions.bash %%{buildroot}/%%{_datadir}/bash-completion/completions/dotnet
f99f78
f99f78
# TODO: the zsh completion script needs to be ported to use #compdef
f99f78
#install -dm 755 %%{buildroot}/%%{_datadir}/zsh/site-functions
f99f78
#install src/cli/scripts/register-completions.zsh %%{buildroot}/%%{_datadir}/zsh/site-functions/_dotnet
f99f78
b835c2
# Provided by dotnet-host from another SRPM
b835c2
#install -dm 0755 %%{buildroot}%%{_bindir}
b835c2
#ln -s ../../%%{_libdir}/dotnet/dotnet %%{buildroot}%%{_bindir}/
f99f78
b835c2
# Provided by dotnet-host from another SRPM
b835c2
#install -dm 0755 %%{buildroot}%%{_mandir}/man1/
b835c2
#find -iname 'dotnet*.1' -type f -exec cp {} %%{buildroot}%%{_mandir}/man1/ \;
f99f78
b835c2
# Provided by dotnet-host from another SRPM
b835c2
#echo "%%{_libdir}/dotnet" >> install_location
b835c2
#install -dm 0755 %%{buildroot}%%{_sysconfdir}/dotnet
b835c2
#install install_location %%{buildroot}%%{_sysconfdir}/dotnet/
f99f78
f99f78
# Check debug symbols in all elf objects. This is not in %%check
f99f78
# because native binaries are stripped by rpm-build after %%install.
f99f78
# So we need to do this check earlier.
f99f78
echo "Testing build results for debug symbols..."
f99f78
%{SOURCE100} -v %{buildroot}%{_libdir}/dotnet/
f99f78
b835c2
# Self-check
f99f78
%{buildroot}%{_libdir}/dotnet/dotnet --info
f99f78
b835c2
# Provided by dotnet-host from another SRPM
b835c2
rm %{buildroot}%{_libdir}/dotnet/LICENSE.txt
b835c2
rm %{buildroot}%{_libdir}/dotnet/ThirdPartyNotices.txt
b835c2
rm %{buildroot}%{_libdir}/dotnet/dotnet
f99f78
b835c2
# Provided by netstandard-targeting-pack-2.1 from another SRPM
b835c2
rm -rf %{buildroot}%{_libdir}/dotnet/packs/NETStandard.Library.Ref/2.1.0
f99f78
f99f78
%files -n dotnet-hostfxr-3.1
f99f78
%dir %{_libdir}/dotnet/host/fxr
f99f78
%{_libdir}/dotnet/host/fxr/%{host_version}
f99f78
f99f78
%files -n dotnet-runtime-3.1
f99f78
%dir %{_libdir}/dotnet/shared
f99f78
%dir %{_libdir}/dotnet/shared/Microsoft.NETCore.App
f99f78
%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}
f99f78
f99f78
%files -n aspnetcore-runtime-3.1
f99f78
%dir %{_libdir}/dotnet/shared
f99f78
%dir %{_libdir}/dotnet/shared/Microsoft.AspNetCore.App
f99f78
%{_libdir}/dotnet/shared/Microsoft.AspNetCore.App/%{aspnetcore_runtime_version}
f99f78
f99f78
%files -n dotnet-templates-3.1
f99f78
%dir %{_libdir}/dotnet/templates
f99f78
%{_libdir}/dotnet/templates/%{templates_version}
f99f78
f99f78
%files -n dotnet-sdk-3.1
f99f78
%dir %{_libdir}/dotnet/sdk
f99f78
%{_libdir}/dotnet/sdk/%{sdk_version}
f99f78
%dir %{_libdir}/dotnet/packs
f99f78
f99f78
%changelog
3d1cca
* Mon Feb 01 2021 Omair Majid <omajid@redhat.com> - 3.1.112-1
3d1cca
- Update to .NET Core SDK 3.1.112 and Runtime 3.1.12
3d1cca
- Resolves: RHBZ#1923377
3d1cca
d44399
* Wed Dec 16 14:08:19 EST 2020 Omair Majid <omajid@redhat.com> - 3.1.111-1
d44399
- Update to .NET Core SDK 3.1.111 and Runtime 3.1.11
d44399
- Resolves: RHBZ#1907633
d44399
d51dc3
* Tue Nov 03 2020 Omair Majid <omajid@redhat.com> - 3.1.110-1
d51dc3
- Update to .NET Core SDK 3.1.110 and Runtime 3.1.10
d51dc3
- Resolves: RHBZ#1894130
d51dc3
8b17b7
* Tue Oct 13 2020 Omair Majid <omajid@redhat.com> - 3.1.109-2
8b17b7
- Apply patch accidentally left unapplied
8b17b7
- Resolves: RHBZ#1886826
8b17b7
8b17b7
* Fri Oct 09 2020 Omair Majid <omajid@redhat.com> - 3.1.109-1
8b17b7
- Update to .NET Core SDK 3.1.109 and Runtime 3.1.9
8b17b7
- Resolves: RHBZ#1886826
8b17b7
b835c2
* Fri Sep 18 2020 Omair Majid <omajid@redhat.com> - 3.1.108-3
b835c2
- Bump release to preserve upgrade path
b835c2
- Resolves: RHBZ#1874503
b835c2
b835c2
* Fri Sep 04 2020 Omair Majid <omajid@redhat.com> - 3.1.108-2
b835c2
- Stop producing netstandard-targeting-pack-2.1
b835c2
- Resolves: RHBZ#1874503
b835c2
b835c2
* Fri Sep 04 2020 Omair Majid <omajid@redhat.com> - 3.1.108-1
b835c2
- Update to .NET Core SDK 3.1.108 and Runtime 3.1.8
b835c2
- Resolves: RHBZ#1874503
b835c2
- Resolves: RHBZ#1873454
b835c2
b835c2
* Mon Aug 17 2020 Omair Majid <omajid@redhat.com> - 3.1.107-2
b835c2
- Remove subpackages that conflict with dotnet5.0
b835c2
- Resolves: RHBZ#1862590
b835c2
b835c2
* Thu Aug 13 2020 Omair Majid <omajid@redhat.com> - 3.1.107-1
b835c2
- Update to .NET Core SDK 3.1.107 and Runtime 3.1.7
b835c2
- Resolves: RHBZ#1862590
b835c2
- Resolves: RHBZ#1861114
b835c2
b835c2
* Thu Jul 30 2020 Omair Majid <omajid@redhat.com> - 3.1.106-6
b835c2
- Remove duplicate LDFLAGS (actually typoed ASMFLAGS) for build
b835c2
- Resolves: RHBZ#1811776
b835c2
b835c2
* Wed Jul 29 2020 Omair Majid <omajid@redhat.com> - 3.1.106-5
b835c2
- Export ASMFLAGS during build
b835c2
- Resolves: RHBZ#1811776
b835c2
b835c2
* Tue Jul 28 2020 Omair Majid <omajid@redhat.com> - 3.1.106-4
b835c2
- Enable -fcf-protection
b835c2
- Resolves: RHBZ#1811776
b835c2
b835c2
* Mon Jul 27 2020 Omair Majid <omajid@redhat.com> - 3.1.106-3
b835c2
- Improve hardening in core-setup and corefx
b835c2
- Resolves: RHBZ#1811776
b835c2
b835c2
* Fri Jul 24 2020 Omair Majid <omajid@redhat.com> - 3.1.106-2
b835c2
- Improve hardening in CoreCLR
b835c2
- Resolves: RHBZ#1811776
b835c2
b835c2
* Thu Jul 16 2020 Omair Majid <omajid@redhat.com> - 3.1.106-1
b835c2
- Update to .NET Core SDK 3.1.106 and Runtime 3.1.6
b835c2
- Resolves: RHBZ#1853772
b835c2
- Resolves: RHBZ#1856939
b835c2
b835c2
* Tue Jun 09 2020 Omair Majid <omajid@redhat.com> - 3.1.105-1
fea314
- Update to .NET Core Runtime 3.1.5 and SDK 3.1.105
b835c2
- Resolves: RHBZ#1844491
71d20d
b835c2
* Mon Jun 01 2020 Omair Majid <omajid@redhat.com> - 3.1.104-3
71d20d
- Update to .NET Core Runtime 3.1.4 and SDK 3.1.104
b835c2
- Resolves: RHBZ#1832685
71d20d
9f3aac
* Fri Mar 20 2020 Omair Majid <omajid@redhat.com> - 3.1.103-2
ab35ce
- Update to .NET Core Runtime 3.1.3 and SDK 3.1.103
9f3aac
- Resolves: RHBZ#1815632
ab35ce
9f3aac
* Wed Feb 19 2020 Omair Majid <omajid@redhat.com> - 3.1.102-2
ab35ce
- Update to .NET Core Runtime 3.1.2 and SDK 3.1.102
9f3aac
- Resolves: RHBZ#1804452
ab35ce
9f3aac
* Thu Jan 23 2020 Omair Majid <omajid@redhat.com> - 3.1.101-2
f99f78
- Update to .NET Core Runtime 3.1.1 and SDK 3.1.101
9f3aac
- Resolves: RHBZ#1789154
f99f78
f99f78
* Wed Dec 04 2019 Omair Majid <omajid@redhat.com> - 3.1.100-2
f99f78
- Remove arm64 variant of the source tarball
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Tue Dec 03 2019 Omair Majid <omajid@redhat.com> - 3.1.100-1
f99f78
- Update to .NET Core Runtime 3.1.0 and SDK 3.1.100
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Wed Nov 27 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.7.preview3
f99f78
- Extract self-contained executables under $HOME
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Wed Nov 27 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.6.preview3
f99f78
- Drop local fixes for cgroupv2
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.5.preview3
f99f78
- Fix permissions on apphost
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.4.preview3
f99f78
- Update to .NET Core Runtime 3.1.0-preview3.19553.2 and SDK 3.1.100-preview3-014645
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Wed Nov 13 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.3
f99f78
- Add gating tests
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Wed Nov 13 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.2
f99f78
- Initial import from Fedora into RHEL
f99f78
- Resolves: RHBZ#1711405
f99f78
f99f78
* Wed Nov 06 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.2
f99f78
- Update to .NET Core 3.1 Preview 2
f99f78
f99f78
* Wed Oct 30 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.1
f99f78
- Update to .NET Core 3.1 Preview 1
f99f78
f99f78
* Thu Oct 24 2019 Omair Majid <omajid@redhat.com> - 3.0.100-5
f99f78
- Add cgroupv2 support to .NET Core
f99f78
f99f78
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-4
f99f78
- Include fix from coreclr for building on Fedora 32
f99f78
f99f78
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-3
f99f78
- Harden built binaries to pass annocheck
f99f78
f99f78
* Fri Oct 11 2019 Omair Majid <omajid@redhat.com> - 3.0.100-2
f99f78
- Export DOTNET_ROOT in profile to make apphost lookup work
f99f78
f99f78
* Fri Sep 27 2019 Omair Majid <omajid@redhat.com> - 3.0.100-1
f99f78
- Update to .NET Core Runtime 3.0.0 and SDK 3.0.100
f99f78
f99f78
* Wed Sep 25 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.18.rc1
f99f78
- Update to .NET Core Runtime 3.0.0-rc1-19456-20 and SDK 3.0.100-rc1-014190
f99f78
f99f78
* Tue Sep 17 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.16.preview9
f99f78
- Fix files duplicated between dotnet-apphost-pack-3.0 and dotnet-targeting-pack-3.0
f99f78
- Fix dependencies between .NET SDK and the targeting packs
f99f78
f99f78
* Mon Sep 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.15.preview9
f99f78
- Update to .NET Core Runtime 3.0.0-preview 9 and SDK 3.0.100-preview9
f99f78
f99f78
* Mon Aug 19 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.11.preview8
f99f78
- Update to .NET Core Runtime 3.0.0-preview8-28405-07 and SDK
f99f78
  3.0.100-preview8-013656
f99f78
f99f78
* Tue Jul 30 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.9.preview7
f99f78
- Update to .NET Core Runtime 3.0.0-preview7-27912-14 and SDK
f99f78
  3.0.100-preview7-012821
f99f78
f99f78
* Fri Jul 26 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.8.preview7
f99f78
- Update to .NET Core Runtime 3.0.0-preview7-27902-19 and SDK
f99f78
  3.0.100-preview7-012802
f99f78
f99f78
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.7.preview6
f99f78
- Obsolete dotnet-sdk-3.0.1xx
f99f78
- Add supackages for targeting packs
f99f78
- Add -fcf-protection to CFLAGS
f99f78
f99f78
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.6.preview6
f99f78
- Update to .NET Core Runtime 3.0.0-preview6-27804-01 and SDK 3.0.100-preview6-012264
f99f78
- Set dotnet installation location in /etc/dotnet/install_location
f99f78
- Update targetting packs
f99f78
- Install managed symbols
f99f78
- Completely conditionalize libunwind bundling
f99f78
f99f78
* Tue May 07 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.3.preview4
f99f78
- Update to .NET Core 3.0 preview 4
f99f78
f99f78
* Tue Dec 18 2018 Omair Majid <omajid@redhat.com> - 3.0.0-0.1.preview1
f99f78
- Update to .NET Core 3.0 preview 1
f99f78
f99f78
* Fri Dec 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100
f99f78
- Update to .NET Core 2.2.0
f99f78
f99f78
* Wed Nov 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100-0.2.preview3
f99f78
- Update to .NET Core 2.2.0-preview3
f99f78
f99f78
* Fri Nov 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-3
f99f78
- Add host-fxr-2.1 subpackage
f99f78
f99f78
* Mon Oct 15 2018 Omair Majid <omajid@redhat.com> - 2.1.403-2
f99f78
- Disable telemetry by default
f99f78
- Users have to manually export DOTNET_CLI_TELEMETRY_OPTOUT=0 to enable
f99f78
f99f78
* Tue Oct 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-1
f99f78
- Update to .NET Core Runtime 2.1.5 and SDK 2.1.403
f99f78
f99f78
* Wed Sep 26 2018 Omair Majid <omajid@redhat.com> - 2.1.402-2
f99f78
- Add ~/.dotnet/tools to $PATH to make it easier to use dotnet tools
f99f78
f99f78
* Thu Sep 13 2018 Omair Majid <omajid@redhat.com> - 2.1.402-1
f99f78
- Update to .NET Core Runtime 2.1.4 and SDK 2.1.402
f99f78
f99f78
* Wed Sep 05 2018 Omair Majid <omajid@redhat.com> - 2.1.401-2
f99f78
- Use distro-standard flags when building .NET Core
f99f78
f99f78
* Tue Aug 21 2018 Omair Majid <omajid@redhat.com> - 2.1.401-1
f99f78
- Update to .NET Core Runtime 2.1.3 and SDK 2.1.401
f99f78
f99f78
* Mon Aug 20 2018 Omair Majid <omajid@redhat.com> - 2.1.302-1
f99f78
- Update to .NET Core Runtime 2.1.2 and SDK 2.1.302
f99f78
f99f78
* Fri Jul 20 2018 Omair Majid <omajid@redhat.com> - 2.1.301-1
f99f78
- Update to .NET Core 2.1
f99f78
f99f78
* Thu May 03 2018 Omair Majid <omajid@redhat.com> - 2.0.7-1
f99f78
- Update to .NET Core 2.0.7
f99f78
f99f78
* Wed Mar 28 2018 Omair Majid <omajid@redhat.com> - 2.0.6-2
f99f78
- Enable bash completion for dotnet
f99f78
- Remove redundant buildrequires and requires
f99f78
f99f78
* Wed Mar 14 2018 Omair Majid <omajid@redhat.com> - 2.0.6-1
f99f78
- Update to .NET Core 2.0.6
f99f78
f99f78
* Fri Feb 23 2018 Omair Majid <omajid@redhat.com> - 2.0.5-1
f99f78
- Update to .NET Core 2.0.5
f99f78
f99f78
* Wed Jan 24 2018 Omair Majid <omajid@redhat.com> - 2.0.3-5
f99f78
- Don't apply corefx clang warnings fix on clang < 5
f99f78
f99f78
* Fri Jan 19 2018 Omair Majid <omajid@redhat.com> - 2.0.3-4
f99f78
- Add a test script to sanity check debug and symbol info.
f99f78
- Build with clang 5.0
f99f78
- Make main package real instead of using a virtual provides (see RHBZ 1519325)
f99f78
f99f78
* Wed Nov 29 2017 Omair Majid <omajid@redhat.com> - 2.0.3-3
f99f78
- Add a Provides for 'dotnet'
f99f78
- Fix conditional macro
f99f78
f99f78
* Tue Nov 28 2017 Omair Majid <omajid@redhat.com> - 2.0.3-2
f99f78
- Fix build on Fedora 27
f99f78
f99f78
* Fri Nov 17 2017 Omair Majid <omajid@redhat.com> - 2.0.3-1
f99f78
- Update to .NET Core 2.0.3
f99f78
f99f78
* Thu Oct 19 2017 Omair Majid <omajid@redhat.com> - 2.0.0-4
f99f78
- Add a hack to let omnisharp work
f99f78
f99f78
* Wed Aug 30 2017 Omair Majid <omajid@redhat.com> - 2.0.0-3
f99f78
- Add a patch for building coreclr and core-setup correctly on Fedora >= 27
f99f78
f99f78
* Fri Aug 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-2
f99f78
- Move libicu/libcurl/libunwind requires to runtime package
f99f78
- Make sdk depend on the exact version of the runtime package
f99f78
f99f78
* Thu Aug 24 2017 Omair Majid <omajid@redhat.com> - 2.0.0-1
f99f78
- Update to 2.0.0 final release
f99f78
f99f78
* Wed Jul 26 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.3.preview2
f99f78
- Add man pages
f99f78
f99f78
* Tue Jul 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.2.preview2
f99f78
- Add Requires on libicu
f99f78
- Split into multiple packages
f99f78
- Do not repeat first-run message
f99f78
f99f78
* Fri Jul 21 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.1.preview2
f99f78
- Update to .NET Core 2.0 Preview 2
f99f78
f99f78
* Thu Mar 16 2017 Nemanja Milošević <nmilosevnm@gmail.com> - 1.1.0-7
f99f78
- rebuilt with latest libldb
f99f78
* Wed Feb 22 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-6
f99f78
- compat-openssl 1.0 for F26 for now
f99f78
* Sun Feb 19 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-5
f99f78
- Fix wrong commit id's
f99f78
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-4
f99f78
- Use commit id's instead of branch names
f99f78
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-3
f99f78
- Improper patch5 fix
f99f78
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-2
f99f78
- SPEC cleanup
f99f78
- git removal (using all tarballs for reproducible builds)
f99f78
- more reasonable versioning
f99f78
* Thu Feb 09 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-1
f99f78
- Fixed debuginfo going to separate package (Patch1)
f99f78
- Added F25/F26 RIL and fixed the version info (Patch2)
f99f78
- Added F25/F26 RIL in Microsoft.NETCore.App suported runtime graph (Patch3)
f99f78
- SPEC file cleanup
f99f78
* Wed Jan 11 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-0
f99f78
- Initial RPM for Fedora 25/26.
f99f78