Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f4c17d78a0 | ||
|
ae8fd2d55d | ||
|
ba25565b91 | ||
|
825ebcd562 | ||
|
dc342d4a34 | ||
|
b58848dbaa | ||
|
ad36f7da0d |
@ -1,4 +1,4 @@
|
||||
%bcond_with bootstrap_dotnet
|
||||
%bcond_with bootstrap
|
||||
|
||||
# LTO triggers a compilation error for a source level issue. Given that LTO should not
|
||||
# change the validity of any given source and the nature of the error (undefined enum), I
|
||||
@ -70,13 +70,13 @@
|
||||
|
||||
Name: dotnet%{dotnetver}
|
||||
Version: %{sdk_rpm_version}
|
||||
Release: 0.4%{?dist}
|
||||
Release: 0.5%{?dist}
|
||||
Summary: .NET Runtime and SDK
|
||||
License: 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
|
||||
|
||||
URL: https://github.com/dotnet/
|
||||
|
||||
%if %{with bootstrap_dotnet}
|
||||
%if %{with bootstrap}
|
||||
# The source is generated on a Fedora box via:
|
||||
# ./build-dotnet-bootstrap-tarball %%{upstream_tag}
|
||||
Source0: dotnet-%{upstream_tag}-x64-bootstrap.tar.gz
|
||||
@ -132,7 +132,7 @@ BuildRequires: brotli-devel
|
||||
BuildRequires: clang
|
||||
BuildRequires: cmake
|
||||
BuildRequires: coreutils
|
||||
%if %{without bootstrap_dotnet}
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: dotnet-sdk-%{dotnetver}
|
||||
BuildRequires: dotnet-sdk-%{dotnetver}-source-built-artifacts
|
||||
%endif
|
||||
@ -409,9 +409,13 @@ Summary: Ahead-of-Time (AOT) support for the .NET %{dotnetver} Software D
|
||||
|
||||
Requires: dotnet-sdk-%{dotnetver}%{?_isa} >= %{sdk_rpm_version}-%{release}
|
||||
|
||||
#TODO
|
||||
# When installing AOT support, also install all dependencies needed to build
|
||||
# NativeAOT applications. AOT invokes `clang ... -lssl -lcrypto -lbrotlienc
|
||||
# -lbrotlidec -lz ...`.
|
||||
Requires: brotli-devel
|
||||
Requires: clang
|
||||
Requires: zlib
|
||||
Requires: openssl-devel
|
||||
Requires: zlib-devel
|
||||
|
||||
%description -n dotnet-sdk-aot-%{dotnetver}
|
||||
This package provides Ahead-of-time (AOT) compilation support for the .NET SDK.
|
||||
@ -454,7 +458,7 @@ These are not meant for general use.
|
||||
|
||||
|
||||
%prep
|
||||
%if %{without bootstrap_dotnet}
|
||||
%if %{without bootstrap}
|
||||
# check gpg signatures only for non-bootstrap builds; bootstrap "sources" are hand-crafted
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%endif
|
||||
@ -465,7 +469,7 @@ if [[ ${release_json_tag} != %{upstream_tag} ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%if %{without bootstrap_dotnet}
|
||||
%if %{without bootstrap}
|
||||
%setup -q -n dotnet-%{upstream_tag_without_v}
|
||||
|
||||
# Remove all prebuilts and binaries
|
||||
@ -567,7 +571,7 @@ rm -rf src/runtime/src/native/external/zlib-ng
|
||||
%build
|
||||
cat /etc/os-release
|
||||
|
||||
%if %{without bootstrap_dotnet}
|
||||
%if %{without bootstrap}
|
||||
# We need to create a copy because build scripts will mutate this
|
||||
cp -a %{_libdir}/dotnet previously-built-dotnet
|
||||
find previously-built-dotnet
|
||||
@ -642,7 +646,7 @@ VERBOSE=1 timeout 5h \
|
||||
./build.sh \
|
||||
--source-only \
|
||||
--release-manifest %{SOURCE5} \
|
||||
%if %{without bootstrap_dotnet}
|
||||
%if %{without bootstrap}
|
||||
--with-sdk previously-built-dotnet \
|
||||
%endif
|
||||
%ifarch %{mono_archs}
|
||||
@ -838,21 +842,25 @@ export COMPlus_LTTng=0
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 17 2024 Omair Majid <omajid@redhat.com> - 9.0.100~rc.2.24474.1-0.5
|
||||
- Add missing runtime dependencies to -aot- subpackage
|
||||
- Related: RHEL-62799
|
||||
|
||||
* Tue Oct 15 2024 Omair Majid <omajid@redhat.com> - 9.0.100~rc.2.24474.1-0.4
|
||||
- Update to .NET SDK 9.0.100-rc.2.24474.1 and Runtime 9.0.0-rc.2.24473.5
|
||||
- Resolves: RHEL-62768
|
||||
- Resolves: RHEL-62799
|
||||
|
||||
* Wed Sep 11 2024 Omair Majid <omajid@redhat.com> - 9.0.100~rc.1.24452.12-0.3
|
||||
- Update to .NET SDK 9.0.100-rc.1.24452.12 and Runtime 9.0.0-rc.1.24431.7
|
||||
- Resolves: RHEL-59037
|
||||
- Resolves: RHEL-59011
|
||||
|
||||
* Sun Aug 18 2024 Omair Majid <omajid@redhat.com> - 9.0.100~preview.7.24407.1-0.2
|
||||
- Disable bootstrap
|
||||
- Related: RHEL-46701
|
||||
- Related: RHEL-48619
|
||||
|
||||
* Thu Aug 15 2024 Omair Majid <omajid@redhat.com> - 9.0.100~preview.7.24407.1-0.1
|
||||
- Update to .NET SDK 9 preview 7 and Runtime 9 preview 7
|
||||
- Resolves: RHEL-46701
|
||||
- Resolves: RHEL-48619
|
||||
|
||||
* Thu Jun 13 2024 Omair Majid <omajid@redhat.com> - 9.0.100~preview.5.24307.3-0.9
|
||||
- Update to .NET SDK 9.0.100-preview.5.24307.3 and Runtime
|
||||
|
Loading…
Reference in New Issue
Block a user