Blame SPECS/dotnet5.0.spec

1517b7
%bcond_without bootstrap
1517b7
1517b7
# Avoid provides/requires from private libraries
1517b7
%global privlibs             libhostfxr
1517b7
%global privlibs %{privlibs}|libclrjit
1517b7
%global privlibs %{privlibs}|libcoreclr
1517b7
%global privlibs %{privlibs}|libcoreclrtraceptprovider
1517b7
%global privlibs %{privlibs}|libdbgshim
1517b7
%global privlibs %{privlibs}|libhostpolicy
1517b7
%global privlibs %{privlibs}|libmscordaccore
1517b7
%global privlibs %{privlibs}|libmscordbi
1517b7
%global privlibs %{privlibs}|libsos
1517b7
%global privlibs %{privlibs}|libsosplugin
1517b7
%global __provides_exclude ^(%{privlibs})\\.so
1517b7
%global __requires_exclude ^(%{privlibs})\\.so
1517b7
1517b7
# Filter flags not supported by clang
1517b7
#  -fstack-clash-protection
1517b7
#  -specs=
1517b7
%global dotnet_cflags %(echo %optflags | sed -e 's/-fstack-clash-protection//' | sed -re 's/-specs=[^ ]*//g')
1517b7
%global dotnet_ldflags %(echo %{__global_ldflags} | sed -re 's/-specs=[^ ]*//g')
1517b7
24cc7b
%global host_version 5.0.4
24cc7b
%global runtime_version 5.0.4
d21d3b
%global aspnetcore_runtime_version %{runtime_version}
24cc7b
%global sdk_version 5.0.104
d21d3b
%global templates_version %{runtime_version}
1517b7
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
1517b7
6024da
%global host_rpm_version %{host_version}
6024da
%global aspnetcore_runtime_rpm_version %{aspnetcore_runtime_version}
6024da
%global runtime_rpm_version %{runtime_version}
6024da
%global sdk_rpm_version %{sdk_version}
1517b7
1517b7
# upstream can update releases without revving the SDK version so these don't always match
1517b7
%global src_version %{sdk_version}
1517b7
1517b7
%if 0%{?fedora} || 0%{?rhel} < 8
1517b7
%global use_bundled_libunwind 0
1517b7
%else
1517b7
%global use_bundled_libunwind 1
1517b7
%endif
1517b7
1517b7
%ifarch aarch64
1517b7
%global use_bundled_libunwind 1
1517b7
%endif
1517b7
1517b7
%ifarch x86_64
1517b7
%global runtime_arch x64
1517b7
%endif
1517b7
%ifarch aarch64
1517b7
%global runtime_arch arm64
1517b7
%endif
1517b7
6024da
%{!?runtime_id:%global runtime_id %(. /etc/os-release ; echo "${ID}.${VERSION_ID%%.*}")-%{runtime_arch}}
1517b7
1517b7
Name:           dotnet5.0
1517b7
Version:        %{sdk_rpm_version}
e61e33
Release:        1%{?dist}
1517b7
Summary:        .NET Runtime and SDK
1517b7
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
1517b7
URL:            https://github.com/dotnet/
1517b7
1517b7
# The source is generated on a Fedora box via:
1517b7
# ./build-dotnet-tarball v%%{src_version}-SDK
d21d3b
Source0:        dotnet-v%{src_version}-SDK.tar.gz
1517b7
Source1:        check-debug-symbols.py
1517b7
Source2:        dotnet.sh.in
1517b7
6024da
Patch1:         source-build-runtime-fixup-linker-order.patch
1517b7
1517b7
# https://github.com/dotnet/runtime/pull/42094
1517b7
# Fix linker order when linking with --as-needed
6024da
Patch100:       runtime-linker-order.patch
1517b7
1517b7
# Disable telemetry by default; make it opt-in
1517b7
Patch500:       sdk-telemetry-optout.patch
1517b7
1517b7
# ExclusiveArch:  aarch64 x86_64
1517b7
ExclusiveArch:  x86_64
1517b7
1517b7
BuildRequires:  clang
1517b7
BuildRequires:  cmake
1517b7
BuildRequires:  coreutils
1517b7
%if %{without bootstrap}
1517b7
BuildRequires:  dotnet-build-reference-packages
1517b7
BuildRequires:  dotnet-sdk-5.0
1517b7
BuildRequires:  dotnet-sdk-5.0-source-built-artifacts
1517b7
%endif
1517b7
BuildRequires:  findutils
1517b7
BuildRequires:  git
1517b7
%if 0%{?fedora} || 0%{?rhel} > 7
1517b7
BuildRequires:  glibc-langpack-en
1517b7
%endif
1517b7
BuildRequires:  hostname
1517b7
BuildRequires:  krb5-devel
1517b7
BuildRequires:  libcurl-devel
1517b7
BuildRequires:  libicu-devel
1517b7
%if ! %{use_bundled_libunwind}
1517b7
BuildRequires:  libunwind-devel
1517b7
%endif
1517b7
BuildRequires:  lldb-devel
1517b7
BuildRequires:  llvm
1517b7
BuildRequires:  lttng-ust-devel
1517b7
BuildRequires:  make
1517b7
BuildRequires:  openssl-devel
1517b7
BuildRequires:  python3
1517b7
BuildRequires:  systemtap-sdt-devel
1517b7
BuildRequires:  tar
1517b7
BuildRequires:  zlib-devel
1517b7
1517b7
%description
1517b7
.NET is a fast, lightweight and modular platform for creating
1517b7
cross platform applications that work on Linux, macOS and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
.NET contains a runtime conforming to .NET Standards a set of
1517b7
framework libraries, an SDK containing compilers and a 'dotnet'
1517b7
application to drive everything.
1517b7
1517b7
1517b7
%package -n dotnet
1517b7
1517b7
Version:        %{sdk_rpm_version}
1517b7
Summary:        .NET CLI tools and runtime
1517b7
1517b7
Requires:       dotnet-sdk-5.0%{?_isa} >= %{sdk_rpm_version}-%{release}
1517b7
1517b7
%description -n dotnet
1517b7
.NET is a fast, lightweight and modular platform for creating
1517b7
cross platform applications that work on Linux, macOS and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
.NET contains a runtime conforming to .NET Standards a set of
1517b7
framework libraries, an SDK containing compilers and a 'dotnet'
1517b7
application to drive everything.
1517b7
1517b7
1517b7
%package -n dotnet-host
1517b7
1517b7
Version:        %{host_rpm_version}
1517b7
Summary:        .NET command line launcher
1517b7
1517b7
%description -n dotnet-host
1517b7
The .NET host is a command line program that runs a standalone
1517b7
.NET application or launches the SDK.
1517b7
1517b7
.NET is a fast, lightweight and modular platform for creating
1517b7
cross platform applications that work on Linux, Mac and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
1517b7
%package -n dotnet-hostfxr-5.0
1517b7
1517b7
Version:        %{host_rpm_version}
1517b7
Summary:        .NET command line host resolver
1517b7
1517b7
# Theoretically any version of the host should work. But lets aim for the one
1517b7
# provided by this package, or from a newer version of .NET
1517b7
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
1517b7
1517b7
%description -n dotnet-hostfxr-5.0
1517b7
The .NET host resolver contains the logic to resolve and select
1517b7
the right version of the .NET SDK or runtime to use.
1517b7
1517b7
.NET is a fast, lightweight and modular platform for creating
1517b7
cross platform applications that work on Linux, Mac and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
1517b7
%package -n dotnet-runtime-5.0
1517b7
1517b7
Version:        %{runtime_rpm_version}
1517b7
Summary:        NET 5.0 runtime
1517b7
1517b7
Requires:       dotnet-hostfxr-5.0%{?_isa} >= %{host_rpm_version}-%{release}
1517b7
1517b7
# libicu is dlopen()ed
1517b7
Requires:       libicu%{?_isa}
1517b7
1517b7
%if %{use_bundled_libunwind}
1517b7
Provides: bundled(libunwind) = 1.3
1517b7
%endif
1517b7
1517b7
%description -n dotnet-runtime-5.0
1517b7
The .NET runtime contains everything needed to run .NET applications.
1517b7
It includes a high performance Virtual Machine as well as the framework
1517b7
libraries used by .NET applications.
1517b7
1517b7
.NET is a fast, lightweight and modular platform for creating
1517b7
cross platform applications that work on Linux, Mac and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
1517b7
%package -n aspnetcore-runtime-5.0
1517b7
1517b7
Version:        %{aspnetcore_runtime_rpm_version}
1517b7
Summary:        ASP.NET Core 5.0 runtime
1517b7
1517b7
Requires:       dotnet-runtime-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
1517b7
1517b7
%description -n aspnetcore-runtime-5.0
1517b7
The ASP.NET Core runtime contains everything needed to run .NET
1517b7
web applications. It includes a high performance Virtual Machine as
1517b7
well as the framework libraries used by .NET applications.
1517b7
1517b7
ASP.NET Core is a fast, lightweight and modular platform for creating
1517b7
cross platform web applications that work on Linux, Mac and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
1517b7
%package -n dotnet-templates-5.0
1517b7
1517b7
Version:        %{sdk_rpm_version}
1517b7
Summary:        .NET 5.0 templates
1517b7
1517b7
# Theoretically any version of the host should work. But lets aim for the one
1517b7
# provided by this package, or from a newer version of .NET
1517b7
Requires:       dotnet-host%{?_isa} >= %{host_rpm_version}-%{release}
1517b7
1517b7
%description -n dotnet-templates-5.0
1517b7
This package contains templates used by the .NET SDK.
1517b7
1517b7
.NET is a fast, lightweight and modular platform for creating
1517b7
cross platform applications that work on Linux, Mac and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
1517b7
%package -n dotnet-sdk-5.0
1517b7
1517b7
Version:        %{sdk_rpm_version}
1517b7
Summary:        .NET 5.0 Software Development Kit
1517b7
1517b7
Provides:       bundled(js-jquery)
1517b7
Provides:       bundled(npm)
1517b7
1517b7
Requires:       dotnet-runtime-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
1517b7
Requires:       aspnetcore-runtime-5.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
1517b7
1517b7
Requires:       dotnet-apphost-pack-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
1517b7
Requires:       dotnet-targeting-pack-5.0%{?_isa} >= %{runtime_rpm_version}-%{release}
1517b7
Requires:       aspnetcore-targeting-pack-5.0%{?_isa} >= %{aspnetcore_runtime_rpm_version}-%{release}
1517b7
Requires:       netstandard-targeting-pack-2.1%{?_isa} >= %{sdk_rpm_version}-%{release}
1517b7
1517b7
Requires:       dotnet-templates-5.0%{?_isa} >= %{sdk_rpm_version}-%{release}
1517b7
1517b7
%description -n dotnet-sdk-5.0
1517b7
The .NET SDK is a collection of command line applications to
1517b7
create, build, publish and run .NET applications.
1517b7
1517b7
.NET is a fast, lightweight and modular platform for creating
1517b7
cross platform applications that work on Linux, Mac and Windows.
1517b7
1517b7
It particularly focuses on creating console applications, web
1517b7
applications and micro-services.
1517b7
1517b7
1517b7
%global dotnet_targeting_pack() %{expand:
1517b7
%package -n %{1}
1517b7
1517b7
Version:        %{2}
1517b7
Summary:        Targeting Pack for %{3} %{4}
1517b7
1517b7
Requires:       dotnet-host%{?_isa}
1517b7
1517b7
%description -n %{1}
1517b7
This package provides a targeting pack for %{3} %{4}
1517b7
that allows developers to compile against and target %{3} %{4}
1517b7
applications using the .NET SDK.
1517b7
1517b7
%files -n %{1}
1517b7
%dir %{_libdir}/dotnet/packs
1517b7
%{_libdir}/dotnet/packs/%{5}
1517b7
}
1517b7
1517b7
%dotnet_targeting_pack dotnet-apphost-pack-5.0 %{runtime_rpm_version} Microsoft.NETCore.App 5.0 Microsoft.NETCore.App.Host.%{runtime_id}
1517b7
%dotnet_targeting_pack dotnet-targeting-pack-5.0 %{runtime_rpm_version} Microsoft.NETCore.App 5.0 Microsoft.NETCore.App.Ref
1517b7
%dotnet_targeting_pack aspnetcore-targeting-pack-5.0 %{aspnetcore_runtime_rpm_version} Microsoft.AspNetCore.App 5.0 Microsoft.AspNetCore.App.Ref
1517b7
%dotnet_targeting_pack netstandard-targeting-pack-2.1 %{sdk_rpm_version} NETStandard.Library 2.1 NETStandard.Library.Ref
1517b7
1517b7
1517b7
%package -n dotnet-sdk-5.0-source-built-artifacts
1517b7
1517b7
Version:        %{sdk_rpm_version}
1517b7
Summary:        Internal package for building .NET 5.0 Software Development Kit
1517b7
1517b7
%description -n dotnet-sdk-5.0-source-built-artifacts
1517b7
The .NET source-built archive is a collection of packages needed
1517b7
to build the .NET SDK itself.
1517b7
1517b7
These are not meant for general use.
1517b7
1517b7
1517b7
%prep
d21d3b
%setup -q -n dotnet-v%{src_version}-SDK
1517b7
1517b7
%if %{without bootstrap}
1517b7
# Remove all prebuilts
1517b7
find -iname '*.dll' -type f -delete
1517b7
find -iname '*.so' -type f -delete
1517b7
find -iname '*.tar.gz' -type f -delete
1517b7
find -iname '*.nupkg' -type f -delete
1517b7
find -iname '*.zip' -type f -delete
1517b7
rm -rf .dotnet/
1517b7
rm -rf packages/source-built
1517b7
%endif
1517b7
1517b7
%if %{without bootstrap}
1517b7
sed -i -e 's|5.0.100-preview1-014459|5.0.103|' global.json
1517b7
mkdir -p packages/archive
1517b7
ln -s %{_libdir}/dotnet/source-built-artifacts/*.tar.gz packages/archive/
1517b7
ln -s %{_libdir}/dotnet/reference-packages/Private.SourceBuild.ReferencePackages*.tar.gz packages/archive
1517b7
%endif
1517b7
1517b7
# Fix bad hardcoded path in build
d21d3b
sed -i 's|/usr/share/dotnet|%{_libdir}/dotnet|' src/dotnet-runtime.*/src/installer/corehost/cli/hostmisc/pal.unix.cpp
1517b7
1517b7
# Disable warnings
1517b7
sed -i 's|skiptests|skiptests ignorewarnings|' repos/runtime.common.props
1517b7
1517b7
%patch1 -p1
1517b7
d21d3b
pushd src/dotnet-runtime.*
1517b7
%patch100 -p1
1517b7
popd
1517b7
d21d3b
pushd src/dotnet-sdk.*
1517b7
%patch500 -p1
1517b7
popd
1517b7
1517b7
%ifnarch x86_64
1517b7
mkdir -p artifacts/obj/%{runtime_arch}/Release
1517b7
cp artifacts/obj/x64/Release/PackageVersions.props artifacts/obj/%{runtime_arch}/Release/PackageVersions.props
1517b7
%endif
1517b7
1517b7
cat source-build-info.txt
1517b7
1517b7
find -iname 'nuget.config' -exec echo {}: \; -exec cat {} \; -exec echo \;
1517b7
1517b7
1517b7
%build
1517b7
cat /etc/os-release
1517b7
1517b7
%if %{without bootstrap}
1517b7
# We need to create a copy because we will mutate this
1517b7
cp -a %{_libdir}/dotnet previously-built-dotnet
1517b7
%endif
1517b7
1517b7
export EXTRA_CFLAGS="%{dotnet_cflags}"
1517b7
export EXTRA_CXXFLAGS="%{dotnet_cflags}"
1517b7
export EXTRA_LDFLAGS="%{dotnet_ldflags}"
1517b7
1517b7
#%%if %%{without bootstrap}
1517b7
#  --with-ref-packages %%{_libdir}/dotnet/reference-packages/ \
1517b7
#  --with-packages %%{_libdir}/dotnet/source-built-artifacts/*.tar.gz \
1517b7
#  --with-sdk %%{_libdir}/dotnet \
1517b7
#%%endif
1517b7
1517b7
VERBOSE=1 ./build.sh \
1517b7
%if %{without bootstrap}
1517b7
    --with-sdk previously-built-dotnet \
1517b7
%endif
1517b7
    -- \
1517b7
    /v:n \
1517b7
    /p:SkipPortableRuntimeBuild=true \
1517b7
    /p:LogVerbosity=n \
1517b7
    /p:MinimalConsoleLogOutput=false \
1517b7
    /p:ContinueOnPrebuiltBaselineError=true \
6024da
%if %{use_bundled_libunwind}
6024da
    /p:UseSystemLibunwind=false \
6024da
%else
6024da
    /p:UseSystemLibunwind=true \
6024da
%endif
1517b7
1517b7
1517b7
sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE2} > dotnet.sh
1517b7
1517b7
1517b7
%install
1517b7
install -dm 0755 %{buildroot}%{_libdir}/dotnet
1517b7
ls artifacts/%{runtime_arch}/Release
1517b7
tar xf artifacts/%{runtime_arch}/Release/dotnet-sdk-%{sdk_version}-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
1517b7
1517b7
# Install managed symbols
1517b7
tar xf artifacts/%{runtime_arch}/Release/runtime/dotnet-runtime-symbols-%{runtime_version}-%{runtime_id}.tar.gz \
1517b7
    -C %{buildroot}/%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}/
1517b7
1517b7
# Fix executable permissions on files
6024da
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.a' -exec chmod -x {} \;
1517b7
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.dll' -exec chmod -x {} \;
6024da
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.h' -exec chmod -x {} \;
1517b7
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pdb' -exec chmod -x {} \;
1517b7
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.props' -exec chmod -x {} \;
1517b7
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pubxml' -exec chmod -x {} \;
1517b7
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {} \;
6024da
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \;
1517b7
chmod 0755 %{buildroot}/%{_libdir}/dotnet/sdk/%{sdk_version}/AppHostTemplate/apphost
1517b7
chmod 0755 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/apphost
1517b7
chmod 0755 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/libnethost.so
1517b7
chmod 0644 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/nethost.h
1517b7
chmod 0755 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/singlefilehost
1517b7
1517b7
install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/
1517b7
install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/
1517b7
1517b7
install -dm 0755 %{buildroot}/%{_datadir}/bash-completion/completions
1517b7
# dynamic completion needs the file to be named the same as the base command
d21d3b
install src/dotnet-sdk.*/scripts/register-completions.bash %{buildroot}/%{_datadir}/bash-completion/completions/dotnet
1517b7
1517b7
# TODO: the zsh completion script needs to be ported to use #compdef
1517b7
#install -dm 755 %%{buildroot}/%%{_datadir}/zsh/site-functions
1517b7
#install src/cli/scripts/register-completions.zsh %%{buildroot}/%%{_datadir}/zsh/site-functions/_dotnet
1517b7
1517b7
install -dm 0755 %{buildroot}%{_bindir}
1517b7
ln -s ../../%{_libdir}/dotnet/dotnet %{buildroot}%{_bindir}/
1517b7
1517b7
install -dm 0755 %{buildroot}%{_mandir}/man1/
1517b7
find -iname 'dotnet*.1' -type f -exec cp {} %{buildroot}%{_mandir}/man1/ \;
1517b7
1517b7
echo "%{_libdir}/dotnet" >> install_location
1517b7
install -dm 0755 %{buildroot}%{_sysconfdir}/dotnet
1517b7
install install_location %{buildroot}%{_sysconfdir}/dotnet/
1517b7
1517b7
#install -dm 0755 %%{buildroot}%%{_libdir}/dotnet/source-built-artifacts
1517b7
#install artifacts/%%{runtime_arch}/Release/Private.SourceBuilt.Artifacts.*.tar.gz %%{buildroot}/%%{_libdir}/dotnet/source-built-artifacts/
1517b7
1517b7
# Check debug symbols in all elf objects. This is not in %%check
1517b7
# because native binaries are stripped by rpm-build after %%install.
1517b7
# So we need to do this check earlier.
1517b7
echo "Testing build results for debug symbols..."
1517b7
%{SOURCE1} -v %{buildroot}%{_libdir}/dotnet/
1517b7
1517b7
1517b7
%check
1517b7
%{buildroot}%{_libdir}/dotnet/dotnet --info
1517b7
1517b7
1517b7
%files -n dotnet
1517b7
# empty package useful for dependencies
1517b7
1517b7
%files -n dotnet-host
1517b7
%dir %{_libdir}/dotnet
1517b7
%{_libdir}/dotnet/dotnet
1517b7
%dir %{_libdir}/dotnet/host
1517b7
%dir %{_libdir}/dotnet/host/fxr
1517b7
%{_bindir}/dotnet
1517b7
%license %{_libdir}/dotnet/LICENSE.txt
1517b7
%license %{_libdir}/dotnet/ThirdPartyNotices.txt
1517b7
%doc %{_mandir}/man1/dotnet*.1.gz
1517b7
%{_sysconfdir}/profile.d/dotnet.sh
1517b7
%{_sysconfdir}/dotnet
1517b7
%dir %{_datadir}/bash-completion
1517b7
%dir %{_datadir}/bash-completion/completions
1517b7
%{_datadir}/bash-completion/completions/dotnet
1517b7
1517b7
%files -n dotnet-hostfxr-5.0
1517b7
%dir %{_libdir}/dotnet/host/fxr
1517b7
%{_libdir}/dotnet/host/fxr/%{host_version}
1517b7
1517b7
%files -n dotnet-runtime-5.0
1517b7
%dir %{_libdir}/dotnet/shared
1517b7
%dir %{_libdir}/dotnet/shared/Microsoft.NETCore.App
1517b7
%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}
1517b7
1517b7
%files -n aspnetcore-runtime-5.0
1517b7
%dir %{_libdir}/dotnet/shared
1517b7
%dir %{_libdir}/dotnet/shared/Microsoft.AspNetCore.App
1517b7
%{_libdir}/dotnet/shared/Microsoft.AspNetCore.App/%{aspnetcore_runtime_version}
1517b7
1517b7
%files -n dotnet-templates-5.0
1517b7
%dir %{_libdir}/dotnet/templates
1517b7
%{_libdir}/dotnet/templates/%{templates_version}
1517b7
1517b7
%files -n dotnet-sdk-5.0
1517b7
%dir %{_libdir}/dotnet/sdk
1517b7
%{_libdir}/dotnet/sdk/%{sdk_version}
1517b7
%dir %{_libdir}/dotnet/packs
1517b7
1517b7
#%%files -n dotnet-sdk-5.0-source-built-artifacts
1517b7
#%%dir %%{_libdir}/dotnet
1517b7
#%%{_libdir}/dotnet/source-built-artifacts
1517b7
1517b7
1517b7
%changelog
24cc7b
* Tue Mar 02 2021 Omair Majid <omajid@redhat.com> - 5.0.104-1
24cc7b
- Update to .NET SDK 5.0.104 and Runtime 5.0.4
24cc7b
- Resolves: RHBZ#1934247
24cc7b
e61e33
* Wed Feb 03 2021 Omair Majid <omajid@redhat.com> - 5.0.103-1
e61e33
- Update to .NET SDK 5.0.103 and Runtime 5.0.3
e61e33
- Resolves: RHBZ#1924765
e61e33
e61e33
* Tue Jan 05 2021 Omair Majid <omajid@redhat.com> - 5.0.102-2
d21d3b
- Rebuild with updated tests
d21d3b
- Resolves: RHBZ#1912684
d21d3b
d21d3b
* Mon Jan 04 2021 Omair Majid <omajid@redhat.com> - 5.0.102-1
d21d3b
- Update to .NET SDK 5.0.102 and Runtime 5.0.2
d21d3b
- Resolves: RHBZ#1912684
d21d3b
6024da
* Thu Dec 03 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.8.0201202git337413b
6024da
- Update to latest commit of .NET Core SDK 5.0.100 and Runtime 5.0.0
6024da
- Resolves: RHBZ#1897396
6024da
6024da
* Fri Oct 23 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.7.rc1
6024da
- Update to .NET Core SDK 5.0.100 RC1 and Runtime 5.0.0 RC1
6024da
- Resolves: RHBZ#1891507
6024da
1517b7
* Tue Sep 15 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.6.preview8
1517b7
- Switch to a smaller tarball
1517b7
- Fix restore-with-rid
1517b7
- Resolves: RHBZ#1835019
1517b7
1517b7
* Mon Sep 14 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.5.preview8
1517b7
- Fix package descriptions
1517b7
- Fix permissions in installed files
1517b7
- Resolves: RHBZ#1835019
1517b7
1517b7
* Fri Sep 11 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.4.preview8
1517b7
- Update to .NET SDK 5.0 Preview 8
1517b7
- Remove "Core" from descriptions
1517b7
- Resolves: RHBZ#1835019
1517b7
1517b7
* Fri Aug 21 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.3.preview4
1517b7
- Generate new source tarball with test files removed.
1517b7
- Resolves: RHBZ#1835019
1517b7
1517b7
* Thu Aug 06 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.2.preview4
1517b7
- Backport cmake compatiblity fix
1517b7
1517b7
* Fri Jul 10 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.2.preview4
1517b7
- Fix building with custom CFLAGS/CXXFLAGS/LDFLAGS
1517b7
- Clean up patches
1517b7
1517b7
* Mon Jul 06 2020 Omair Majid <omajid@redhat.com> - 5.0.100-0.1.preview4
1517b7
- Initial build
1517b7
1517b7
* Sat Jun 27 2020 Omair Majid <omajid@redhat.com> - 3.1.105-4
1517b7
- Disable bootstrap
1517b7
1517b7
* Fri Jun 26 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
1517b7
- Re-bootstrap aarch64
1517b7
1517b7
* Fri Jun 19 2020 Omair Majid <omajid@redhat.com> - 3.1.105-3
1517b7
- Disable bootstrap
1517b7
1517b7
* Thu Jun 18 2020 Omair Majid <omajid@redhat.com> - 3.1.105-1
1517b7
- Bootstrap aarch64
1517b7
1517b7
* Tue Jun 16 2020 Chris Rummel <crummel@microsoft.com> - 3.1.105-1
1517b7
- Update to .NET Core Runtime 3.1.5 and SDK 3.1.105
1517b7
1517b7
* Fri Jun 05 2020 Chris Rummel <crummel@microsoft.com> - 3.1.104-1
1517b7
- Update to .NET Core Runtime 3.1.4 and SDK 3.1.104
1517b7
1517b7
* Thu Apr 09 2020 Chris Rummel <crummel@microsoft.com> - 3.1.103-1
1517b7
- Update to .NET Core Runtime 3.1.3 and SDK 3.1.103
1517b7
1517b7
* Mon Mar 16 2020 Omair Majid <omajid@redhat.com> - 3.1.102-1
1517b7
- Update to .NET Core Runtime 3.1.2 and SDK 3.1.102
1517b7
1517b7
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-4
1517b7
- Disable bootstrap
1517b7
1517b7
* Fri Feb 28 2020 Omair Majid <omajid@redhat.com> - 3.1.101-3
1517b7
- Enable bootstrap
1517b7
- Add Fedora 33 runtime ids
1517b7
1517b7
* Thu Feb 27 2020 Omair Majid <omajid@redhat.com> - 3.1.101-2
1517b7
- Disable bootstrap
1517b7
1517b7
* Tue Jan 21 2020 Omair Majid <omajid@redhat.com> - 3.1.101-1
1517b7
- Update to .NET Core Runtime 3.1.1 and SDK 3.1.101
1517b7
1517b7
* Thu Dec 05 2019 Omair Majid <omajid@redhat.com> - 3.1.100-1
1517b7
- Update to .NET Core Runtime 3.1.0 and SDK 3.1.100
1517b7
1517b7
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.4.preview3
1517b7
- Fix apphost permissions
1517b7
1517b7
* Fri Nov 15 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.3.preview3
1517b7
- Update to .NET Core Runtime 3.1.0-preview3.19553.2 and SDK
1517b7
  3.1.100-preview3-014645
1517b7
1517b7
* Wed Nov 06 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.2
1517b7
- Update to .NET Core 3.1 Preview 2
1517b7
1517b7
* Wed Oct 30 2019 Omair Majid <omajid@redhat.com> - 3.1.100-0.1
1517b7
- Update to .NET Core 3.1 Preview 1
1517b7
1517b7
* Thu Oct 24 2019 Omair Majid <omajid@redhat.com> - 3.0.100-5
1517b7
- Add cgroupv2 support to .NET Core
1517b7
1517b7
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-4
1517b7
- Include fix from coreclr for building on Fedora 32
1517b7
1517b7
* Wed Oct 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-3
1517b7
- Harden built binaries to pass annocheck
1517b7
1517b7
* Fri Oct 11 2019 Omair Majid <omajid@redhat.com> - 3.0.100-2
1517b7
- Export DOTNET_ROOT in profile to make apphost lookup work
1517b7
1517b7
* Fri Sep 27 2019 Omair Majid <omajid@redhat.com> - 3.0.100-1
1517b7
- Update to .NET Core Runtime 3.0.0 and SDK 3.0.100
1517b7
1517b7
* Wed Sep 25 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.18.rc1
1517b7
- Update to .NET Core Runtime 3.0.0-rc1-19456-20 and SDK 3.0.100-rc1-014190
1517b7
1517b7
* Tue Sep 17 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.16.preview9
1517b7
- Fix files duplicated between dotnet-apphost-pack-3.0 and dotnet-targeting-pack-3.0
1517b7
- Fix dependencies between .NET SDK and the targeting packs
1517b7
1517b7
* Mon Sep 16 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.15.preview9
1517b7
- Update to .NET Core Runtime 3.0.0-preview 9 and SDK 3.0.100-preview9
1517b7
1517b7
* Mon Aug 19 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.11.preview8
1517b7
- Update to .NET Core Runtime 3.0.0-preview8-28405-07 and SDK
1517b7
  3.0.100-preview8-013656
1517b7
1517b7
* Tue Jul 30 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.9.preview7
1517b7
- Update to .NET Core Runtime 3.0.0-preview7-27912-14 and SDK
1517b7
  3.0.100-preview7-012821
1517b7
1517b7
* Fri Jul 26 2019 Omair Majid <omajid@redhat.com> - 3.0.100-0.8.preview7
1517b7
- Update to .NET Core Runtime 3.0.0-preview7-27902-19 and SDK
1517b7
  3.0.100-preview7-012802
1517b7
1517b7
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.7.preview6
1517b7
- Obsolete dotnet-sdk-3.0.1xx
1517b7
- Add supackages for targeting packs
1517b7
- Add -fcf-protection to CFLAGS
1517b7
1517b7
* Wed Jun 26 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.6.preview6
1517b7
- Update to .NET Core Runtime 3.0.0-preview6-27804-01 and SDK 3.0.100-preview6-012264
1517b7
- Set dotnet installation location in /etc/dotnet/install_location
1517b7
- Update targeting packs
1517b7
- Install managed symbols
1517b7
- Completely conditionalize libunwind bundling
1517b7
1517b7
* Tue May 07 2019 Omair Majid <omajid@redhat.com> - 3.0.0-0.3.preview4
1517b7
- Update to .NET Core 3.0 preview 4
1517b7
1517b7
* Tue Dec 18 2018 Omair Majid <omajid@redhat.com> - 3.0.0-0.1.preview1
1517b7
- Update to .NET Core 3.0 preview 1
1517b7
1517b7
* Fri Dec 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100
1517b7
- Update to .NET Core 2.2.0
1517b7
1517b7
* Wed Nov 07 2018 Omair Majid <omajid@redhat.com> - 2.2.100-0.2.preview3
1517b7
- Update to .NET Core 2.2.0-preview3
1517b7
1517b7
* Fri Nov 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-3
1517b7
- Add host-fxr-2.1 subpackage
1517b7
1517b7
* Mon Oct 15 2018 Omair Majid <omajid@redhat.com> - 2.1.403-2
1517b7
- Disable telemetry by default
1517b7
- Users have to manually export DOTNET_CLI_TELEMETRY_OPTOUT=0 to enable
1517b7
1517b7
* Tue Oct 02 2018 Omair Majid <omajid@redhat.com> - 2.1.403-1
1517b7
- Update to .NET Core Runtime 2.1.5 and SDK 2.1.403
1517b7
1517b7
* Wed Sep 26 2018 Omair Majid <omajid@redhat.com> - 2.1.402-2
1517b7
- Add ~/.dotnet/tools to $PATH to make it easier to use dotnet tools
1517b7
1517b7
* Thu Sep 13 2018 Omair Majid <omajid@redhat.com> - 2.1.402-1
1517b7
- Update to .NET Core Runtime 2.1.4 and SDK 2.1.402
1517b7
1517b7
* Wed Sep 05 2018 Omair Majid <omajid@redhat.com> - 2.1.401-2
1517b7
- Use distro-standard flags when building .NET Core
1517b7
1517b7
* Tue Aug 21 2018 Omair Majid <omajid@redhat.com> - 2.1.401-1
1517b7
- Update to .NET Core Runtime 2.1.3 and SDK 2.1.401
1517b7
1517b7
* Mon Aug 20 2018 Omair Majid <omajid@redhat.com> - 2.1.302-1
1517b7
- Update to .NET Core Runtime 2.1.2 and SDK 2.1.302
1517b7
1517b7
* Fri Jul 20 2018 Omair Majid <omajid@redhat.com> - 2.1.301-1
1517b7
- Update to .NET Core 2.1
1517b7
1517b7
* Thu May 03 2018 Omair Majid <omajid@redhat.com> - 2.0.7-1
1517b7
- Update to .NET Core 2.0.7
1517b7
1517b7
* Wed Mar 28 2018 Omair Majid <omajid@redhat.com> - 2.0.6-2
1517b7
- Enable bash completion for dotnet
1517b7
- Remove redundant buildrequires and requires
1517b7
1517b7
* Wed Mar 14 2018 Omair Majid <omajid@redhat.com> - 2.0.6-1
1517b7
- Update to .NET Core 2.0.6
1517b7
1517b7
* Fri Feb 23 2018 Omair Majid <omajid@redhat.com> - 2.0.5-1
1517b7
- Update to .NET Core 2.0.5
1517b7
1517b7
* Wed Jan 24 2018 Omair Majid <omajid@redhat.com> - 2.0.3-5
1517b7
- Don't apply corefx clang warnings fix on clang < 5
1517b7
1517b7
* Fri Jan 19 2018 Omair Majid <omajid@redhat.com> - 2.0.3-4
1517b7
- Add a test script to sanity check debug and symbol info.
1517b7
- Build with clang 5.0
1517b7
- Make main package real instead of using a virtual provides (see RHBZ 1519325)
1517b7
1517b7
* Wed Nov 29 2017 Omair Majid <omajid@redhat.com> - 2.0.3-3
1517b7
- Add a Provides for 'dotnet'
1517b7
- Fix conditional macro
1517b7
1517b7
* Tue Nov 28 2017 Omair Majid <omajid@redhat.com> - 2.0.3-2
1517b7
- Fix build on Fedora 27
1517b7
1517b7
* Fri Nov 17 2017 Omair Majid <omajid@redhat.com> - 2.0.3-1
1517b7
- Update to .NET Core 2.0.3
1517b7
1517b7
* Thu Oct 19 2017 Omair Majid <omajid@redhat.com> - 2.0.0-4
1517b7
- Add a hack to let omnisharp work
1517b7
1517b7
* Wed Aug 30 2017 Omair Majid <omajid@redhat.com> - 2.0.0-3
1517b7
- Add a patch for building coreclr and core-setup correctly on Fedora >= 27
1517b7
1517b7
* Fri Aug 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-2
1517b7
- Move libicu/libcurl/libunwind requires to runtime package
1517b7
- Make sdk depend on the exact version of the runtime package
1517b7
1517b7
* Thu Aug 24 2017 Omair Majid <omajid@redhat.com> - 2.0.0-1
1517b7
- Update to 2.0.0 final release
1517b7
1517b7
* Wed Jul 26 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.3.preview2
1517b7
- Add man pages
1517b7
1517b7
* Tue Jul 25 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.2.preview2
1517b7
- Add Requires on libicu
1517b7
- Split into multiple packages
1517b7
- Do not repeat first-run message
1517b7
1517b7
* Fri Jul 21 2017 Omair Majid <omajid@redhat.com> - 2.0.0-0.1.preview2
1517b7
- Update to .NET Core 2.0 Preview 2
1517b7
1517b7
* Thu Mar 16 2017 Nemanja Milošević <nmilosevnm@gmail.com> - 1.1.0-7
1517b7
- rebuilt with latest libldb
1517b7
* Wed Feb 22 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-6
1517b7
- compat-openssl 1.0 for F26 for now
1517b7
* Sun Feb 19 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-5
1517b7
- Fix wrong commit id's
1517b7
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-4
1517b7
- Use commit id's instead of branch names
1517b7
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-3
1517b7
- Improper patch5 fix
1517b7
* Sat Feb 18 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-2
1517b7
- SPEC cleanup
1517b7
- git removal (using all tarballs for reproducible builds)
1517b7
- more reasonable versioning
1517b7
* Thu Feb 09 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-1
1517b7
- Fixed debuginfo going to separate package (Patch1)
1517b7
- Added F25/F26 RIL and fixed the version info (Patch2)
1517b7
- Added F25/F26 RIL in Microsoft.NETCore.App suported runtime graph (Patch3)
1517b7
- SPEC file cleanup
1517b7
* Wed Jan 11 2017 Nemanja Milosevic <nmilosev@fedoraproject.org> - 1.1.0-0
1517b7
- Initial RPM for Fedora 25/26.