Compare commits

..

5 Commits
c10s ... c8s

Author SHA1 Message Date
Omair Majid
d78061631f Update to .NET SDK 9.0.100-rc.2.24474.1 and Runtime 9.0.0-rc.2.24473.5
Resolves: RHEL-62768
2024-10-16 13:56:24 -04:00
Omair Majid
637f9a25e6 Update to .NET SDK 9.0 RC 1
Resolves: RHEL-59037
2024-09-16 14:27:00 -04:00
Omair Majid
c3f0ef1889 Disable bootstrap
Related: RHEL-46701
2024-08-18 14:50:29 -04:00
Omair Majid
ae31a8db43 Remove package in CI config that's not available in RHEL 8 2024-08-16 12:15:09 -04:00
Omair Majid
39025864de Update to .NET SDK 9 preview 7 and Runtime 9 preview 7
Resolves: RHEL-46701
2024-08-15 15:26:46 -04:00

View File

@ -1,4 +1,4 @@
%bcond_with bootstrap %bcond_with bootstrap_dotnet
# LTO triggers a compilation error for a source level issue. Given that LTO should not # 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 # change the validity of any given source and the nature of the error (undefined enum), I
@ -70,13 +70,13 @@
Name: dotnet%{dotnetver} Name: dotnet%{dotnetver}
Version: %{sdk_rpm_version} Version: %{sdk_rpm_version}
Release: 0.5%{?dist} Release: 0.4%{?dist}
Summary: .NET Runtime and SDK 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 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/ URL: https://github.com/dotnet/
%if %{with bootstrap} %if %{with bootstrap_dotnet}
# The source is generated on a Fedora box via: # The source is generated on a Fedora box via:
# ./build-dotnet-bootstrap-tarball %%{upstream_tag} # ./build-dotnet-bootstrap-tarball %%{upstream_tag}
Source0: dotnet-%{upstream_tag}-x64-bootstrap.tar.gz Source0: dotnet-%{upstream_tag}-x64-bootstrap.tar.gz
@ -132,7 +132,7 @@ BuildRequires: brotli-devel
BuildRequires: clang BuildRequires: clang
BuildRequires: cmake BuildRequires: cmake
BuildRequires: coreutils BuildRequires: coreutils
%if %{without bootstrap} %if %{without bootstrap_dotnet}
BuildRequires: dotnet-sdk-%{dotnetver} BuildRequires: dotnet-sdk-%{dotnetver}
BuildRequires: dotnet-sdk-%{dotnetver}-source-built-artifacts BuildRequires: dotnet-sdk-%{dotnetver}-source-built-artifacts
%endif %endif
@ -409,13 +409,9 @@ Summary: Ahead-of-Time (AOT) support for the .NET %{dotnetver} Software D
Requires: dotnet-sdk-%{dotnetver}%{?_isa} >= %{sdk_rpm_version}-%{release} Requires: dotnet-sdk-%{dotnetver}%{?_isa} >= %{sdk_rpm_version}-%{release}
# When installing AOT support, also install all dependencies needed to build #TODO
# NativeAOT applications. AOT invokes `clang ... -lssl -lcrypto -lbrotlienc
# -lbrotlidec -lz ...`.
Requires: brotli-devel
Requires: clang Requires: clang
Requires: openssl-devel Requires: zlib
Requires: zlib-devel
%description -n dotnet-sdk-aot-%{dotnetver} %description -n dotnet-sdk-aot-%{dotnetver}
This package provides Ahead-of-time (AOT) compilation support for the .NET SDK. This package provides Ahead-of-time (AOT) compilation support for the .NET SDK.
@ -458,7 +454,7 @@ These are not meant for general use.
%prep %prep
%if %{without bootstrap} %if %{without bootstrap_dotnet}
# check gpg signatures only for non-bootstrap builds; bootstrap "sources" are hand-crafted # check gpg signatures only for non-bootstrap builds; bootstrap "sources" are hand-crafted
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%endif %endif
@ -469,7 +465,7 @@ if [[ ${release_json_tag} != %{upstream_tag} ]]; then
exit 1 exit 1
fi fi
%if %{without bootstrap} %if %{without bootstrap_dotnet}
%setup -q -n dotnet-%{upstream_tag_without_v} %setup -q -n dotnet-%{upstream_tag_without_v}
# Remove all prebuilts and binaries # Remove all prebuilts and binaries
@ -571,7 +567,7 @@ rm -rf src/runtime/src/native/external/zlib-ng
%build %build
cat /etc/os-release cat /etc/os-release
%if %{without bootstrap} %if %{without bootstrap_dotnet}
# We need to create a copy because build scripts will mutate this # We need to create a copy because build scripts will mutate this
cp -a %{_libdir}/dotnet previously-built-dotnet cp -a %{_libdir}/dotnet previously-built-dotnet
find previously-built-dotnet find previously-built-dotnet
@ -646,7 +642,7 @@ VERBOSE=1 timeout 5h \
./build.sh \ ./build.sh \
--source-only \ --source-only \
--release-manifest %{SOURCE5} \ --release-manifest %{SOURCE5} \
%if %{without bootstrap} %if %{without bootstrap_dotnet}
--with-sdk previously-built-dotnet \ --with-sdk previously-built-dotnet \
%endif %endif
%ifarch %{mono_archs} %ifarch %{mono_archs}
@ -842,25 +838,21 @@ export COMPlus_LTTng=0
%changelog %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 * 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 - Update to .NET SDK 9.0.100-rc.2.24474.1 and Runtime 9.0.0-rc.2.24473.5
- Resolves: RHEL-62799 - Resolves: RHEL-62768
* Wed Sep 11 2024 Omair Majid <omajid@redhat.com> - 9.0.100~rc.1.24452.12-0.3 * 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 - Update to .NET SDK 9.0.100-rc.1.24452.12 and Runtime 9.0.0-rc.1.24431.7
- Resolves: RHEL-59011 - Resolves: RHEL-59037
* Sun Aug 18 2024 Omair Majid <omajid@redhat.com> - 9.0.100~preview.7.24407.1-0.2 * Sun Aug 18 2024 Omair Majid <omajid@redhat.com> - 9.0.100~preview.7.24407.1-0.2
- Disable bootstrap - Disable bootstrap
- Related: RHEL-48619 - Related: RHEL-46701
* Thu Aug 15 2024 Omair Majid <omajid@redhat.com> - 9.0.100~preview.7.24407.1-0.1 * 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 - Update to .NET SDK 9 preview 7 and Runtime 9 preview 7
- Resolves: RHEL-48619 - Resolves: RHEL-46701
* Thu Jun 13 2024 Omair Majid <omajid@redhat.com> - 9.0.100~preview.5.24307.3-0.9 * 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 - Update to .NET SDK 9.0.100-preview.5.24307.3 and Runtime