diff --git a/.dotnet10.0.metadata b/.dotnet10.0.metadata new file mode 100644 index 0000000..7f637fa --- /dev/null +++ b/.dotnet10.0.metadata @@ -0,0 +1 @@ +6c669b653213dbfa976c2e16bc4dba8e9f175aa5 SOURCES/dotnet-10.0.101.tar.gz diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index c367a90..bd147e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,76 +1 @@ -/dotnet-v3.1.101-SDK.tar.gz -/dotnet-v3.1.102-SDK.tar.gz -/dotnet-v3.1.103.2-SDK.tar.gz -/dotnet-v5.0.102-SDK-arm64-bootstrap.tar.gz -/dotnet-v5.0.102-SDK-x64-bootstrap.tar.gz -/dotnet-v5.0.102-SDK.tar.gz -/dotnet-v5.0.103-SDK.tar.gz -/dotnet-v5.0.104-SDK.tar.gz -/dotnet-v5.0.202-SDK.tar.gz -/dotnet-v5.0.203-SDK.tar.gz -/dotnet-v5.0.204-SDK.tar.gz -/dotnet-9e8b04bbff820c93c142f99a507a46b976f5c14c-x64-bootstrap.tar.xz -/dotnet-arm64-prebuilts-2021-10-29.tar.gz -/dotnet-s390x-prebuilts-2021-10-29.tar.gz -/dotnet-9e8b04bbff820c93c142f99a507a46b976f5c14c.tar.gz -/dotnet-v6.0.101.tar.gz -/dotnet-v6.0.102.tar.gz -/dotnet-v6.0.103.tar.gz -/dotnet-v6.0.104.tar.gz -/dotnet-v6.0.105.tar.gz -/dotnet-v7.0.100-rc.2.22477.23-x64-bootstrap.tar.xz -/dotnet-arm64-prebuilts-2022-10-12.tar.gz -/dotnet-ppc64le-prebuilts-2022-10-21.tar.gz -/dotnet-s390x-prebuilts-2022-10-12.tar.gz -/dotnet-v7.0.100.tar.gz -/dotnet-v7.0.101.tar.gz -/dotnet-v7.0.102.tar.gz -/dotnet-v8.0.0-rc.1.23419.4-x64-bootstrap.tar.xz -/dotnet-prebuilts-8.0.100-rc.1.23410.12-arm64.tar.gz -/dotnet-prebuilts-8.0.100-rc.1.23410.12-ppc64le.tar.gz -/dotnet-prebuilts-8.0.100-rc.1.23410.12-s390x.tar.gz -/dotnet-v8.0.0-rc.2.23479.6.tar.gz -/dotnet-8.0.0.tar.gz -/dotnet-8.0.0.tar.gz.sig -/dotnet-8.0.1.tar.gz -/dotnet-8.0.1.tar.gz.sig -/dotnet-8.0.2.tar.gz -/8.0.2.tar.gz.sig -/dotnet-v9.0.0-rc.1.24431.7-x64-bootstrap.tar.gz -/dotnet-sdk-9.0.100-preview.7.24407.12-linux-arm64.tar.gz -/dotnet-prebuilts-9.0.100-preview.7.24407.1-ppc64le.tar.gz -/dotnet-prebuilts-9.0.100-preview.7.24407.1-s390x.tar.gz -/dotnet-9.0.0-rc.1.24431.7.tar.gz -/dotnet-9.0.0-rc.1.24431.7.tar.gz.sig -/dotnet-v9.0.0-rc.2.24473.5-x64-bootstrap.tar.gz -/dotnet-sdk-9.0.100-rc.1.24452.12-linux-arm64.tar.gz -/dotnet-prebuilts-9.0.100-rc.1.24452.1-ppc64le.tar.gz -/dotnet-prebuilts-9.0.100-rc.1.24452.1-s390x.tar.gz -/dotnet-9.0.0-rc.2.24473.5.tar.gz -/dotnet-9.0.0-rc.2.24473.5.tar.gz.sig -/dotnet-9.0.0.tar.gz -/dotnet-9.0.0.tar.gz.sig -/dotnet-9.0.101.tar.gz -/dotnet-9.0.101.tar.gz.sig -/dotnet-10.0.0-preview.6.25358.103.tar.gz -/dotnet-10.0.0-preview.6.25358.103.tar.gz.sig -/dotnet-prebuilts-10.0.100-preview.6.25302.104-arm64.tar.gz -/dotnet-prebuilts-10.0.100-preview.6.25302.104-x64.tar.gz -/dotnet-prebuilts-10.0.100-preview.6.25358.103-ppc64le.tar.gz -/dotnet-prebuilts-10.0.100-preview.6.25358.103-s390x.tar.gz -/dotnet-10.0.100-preview.7.25380.108.tar.gz -/dotnet-10.0.100-preview.7.25380.108.tar.gz.sig -/dotnet-prebuilts-10.0.100-preview.7.25322.101-arm64.tar.gz -/dotnet-prebuilts-10.0.100-preview.7.25322.101-x64.tar.gz -/dotnet-prebuilts-10.0.100-preview.7.25380.108-ppc64le.tar.gz -/dotnet-prebuilts-10.0.100-preview.7.25380.108-s390x.tar.gz -/dotnet-10.0.100-rc.1.25451.107.tar.gz -/dotnet-10.0.100-rc.1.25451.107.tar.gz.sig -/dotnet-prebuilts-10.0.100-rc.1.25420.111-x64.tar.gz -/dotnet-prebuilts-10.0.100-rc.1.25420.111-arm64.tar.gz -/dotnet-prebuilts-10.0.100-rc.1.25451.107-ppc64le.tar.gz -/dotnet-prebuilts-10.0.100-rc.1.25451.107-s390x.tar.gz -/dotnet-source-10.0.100-rc.2.25502.107.tar.gz -/dotnet-source-10.0.100-rc.2.25502.107.tar.gz.sig -/dotnet-10.0.100.tar.gz -/dotnet-10.0.100.tar.gz.sig +SOURCES/dotnet-10.0.101.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 36e1ba2..0000000 --- a/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# dotnet10.0 - -The dotnet10.0 package - -This is the .NET 10.0 package for CentOS Stream/RHEL 10. - -# Specification - -This package follows [package naming and contents suggested by -upstream](https://docs.microsoft.com/en-us/dotnet/core/build/distribution-packaging), -with one exception. It installs dotnet to `/usr/lib64/dotnet` (aka -`%{_libdir}`). - -# Contributing - -Please open merge requests in dotnet10.0 repository in CentOS Stream. - -# Testing - -This package uses CI tests as defined in `tests/ci.fmf`. You can run them using -[tmt](https://tmt.readthedocs.io/en/stable/overview.html). Creating a -merge-request or running an official build will fire off tests and flag any -issues. We have enabled gating (via `gating.yaml`) on the tests. That prevents -a build that fails any test from being released until the failures are waived. - -The tests themselves are contained in this external repository: -https://github.com/redhat-developer/dotnet-regular-tests/ diff --git a/check-debug-symbols.py b/SOURCES/check-debug-symbols.py similarity index 100% rename from check-debug-symbols.py rename to SOURCES/check-debug-symbols.py diff --git a/SOURCES/dotnet-10.0.101.tar.gz.sig b/SOURCES/dotnet-10.0.101.tar.gz.sig new file mode 100644 index 0000000..7892d2e --- /dev/null +++ b/SOURCES/dotnet-10.0.101.tar.gz.sig @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: BSN Pgp v1.0.0.0 + +iQIcBAABCAAGBQJpLcldAAoJEP2/U8JNtIcud6AP/1ALUSxgG/wi++j4juKPJThG +EzAEn1gMNchlvIXMsXH8jGS2X5TI4d6mJK4HpTtHcrWiaGdeUGAGfaFju3JWnYlm +aNOpw+lw24XL3pqGm3QER82T7NjDEpWmbhlo6DcXAdSY1NVLtAxVJqStQE+Ddc+S +MA+JzETGHh9FRI5FiUAi6iRFMRRyXL2tGKVYqZynIQp1h4t0x7rAER1FNcu5FfH+ +4MZ7tRe4Pg7piMUuPoz7loqQBehbMI7c90mW8wCU66uMbyWq/adaK34AOv8COgCJ +bID6NlNSBygJF6pnGkiglR+POTWRbJ3JieN25IAdMIULmSec6kdGXS+MK++1sKAv +o/lSMsGVjSycgYkpupLpDfCG9B17wxkNi63Av/DnYRPl0kKixPXl9g8NKbA8BBFr +jK7/gNbC0RnlwMuYr/cs9K8ZEEfNnnzwTCPADoXPj8XLVNIvpXGjQoBIKNZHL70i +vj3RpGaSQm7mErUb5J8D61dJzWm8dN8qOSmovfFQb0WMlD7VowgM04LmMeyeoW34 +Ys+FkjCQP0vXW4rn2GHB/1irf+gBSf9dCqDir/eTuI0QbZg+BhOP78tklOY6wrWl +xG8a6DiB+C0yKhJ9vXJ6a/8NWNrt3B82EpOPeFL21rfE5MOyG7sonXd0ti/Oi3lx +cF72kY31ONd2FyCi70Lk +=hSHv +-----END PGP SIGNATURE----- diff --git a/dotnet.sh.in b/SOURCES/dotnet.sh.in similarity index 100% rename from dotnet.sh.in rename to SOURCES/dotnet.sh.in diff --git a/macros.dotnet b/SOURCES/macros.dotnet similarity index 100% rename from macros.dotnet rename to SOURCES/macros.dotnet diff --git a/release-key-2023.asc b/SOURCES/release-key-2023.asc similarity index 100% rename from release-key-2023.asc rename to SOURCES/release-key-2023.asc diff --git a/SOURCES/release.json b/SOURCES/release.json new file mode 100644 index 0000000..dbb5a24 --- /dev/null +++ b/SOURCES/release.json @@ -0,0 +1,11 @@ +{ + "release": "10.0.1", + "channel": "10.0", + "tag": "v10.0.101", + "sdkVersion": "10.0.101", + "runtimeVersion": "10.0.1", + "aspNetCoreVersion": "10.0.1", + "sourceRepository": "https://github.com/dotnet/dotnet", + "sourceVersion": "fad253f51b461736dfd3cd9c15977bb7493becef", + "officialBuildId": "20251119.5" +} diff --git a/runtime-disable-fortify-on-ilasm-parser.patch b/SOURCES/runtime-disable-fortify-on-ilasm-parser.patch similarity index 100% rename from runtime-disable-fortify-on-ilasm-parser.patch rename to SOURCES/runtime-disable-fortify-on-ilasm-parser.patch diff --git a/runtime-openssl-sha1.patch b/SOURCES/runtime-openssl-sha1.patch similarity index 100% rename from runtime-openssl-sha1.patch rename to SOURCES/runtime-openssl-sha1.patch diff --git a/runtime-re-enable-implicit-rejection.patch b/SOURCES/runtime-re-enable-implicit-rejection.patch similarity index 100% rename from runtime-re-enable-implicit-rejection.patch rename to SOURCES/runtime-re-enable-implicit-rejection.patch diff --git a/dotnet10.0.spec b/SPECS/dotnet10.0.spec similarity index 95% rename from dotnet10.0.spec rename to SPECS/dotnet10.0.spec index 4067f21..6d5e9b6 100644 --- a/dotnet10.0.spec +++ b/SPECS/dotnet10.0.spec @@ -14,13 +14,13 @@ # upstream can produce releases with a different tag than the SDK version #%%global upstream_tag v%%{runtime_version} -%global upstream_tag v10.0.100 +%global upstream_tag v10.0.101 %global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||') %global hostfxr_version %{runtime_version} -%global runtime_version 10.0.0 -%global aspnetcore_runtime_version 10.0.0 -%global sdk_version 10.0.100 +%global runtime_version 10.0.1 +%global aspnetcore_runtime_version 10.0.1 +%global sdk_version 10.0.101 %global sdk_feature_band_version %(echo %{sdk_version} | cut -d '-' -f 1 | sed -e 's|[[:digit:]][[:digit:]]$|00|') %global templates_version %{aspnetcore_runtime_version} #%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }') @@ -77,7 +77,7 @@ Name: dotnet%{dotnetver} Version: %{sdk_rpm_version} -Release: 2%{?dist} +Release: 1%{?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 @@ -599,24 +599,10 @@ CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/ -march=z13//') CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/ -mtune=z14//') %endif -%if 0%{?rhel} >= 10 -# This *seems* to avoid https://github.com/dotnet/runtime/issues/119070 -# FIXME: Re-test this, and/or replace with upstream fix -CFLAGS=$(echo $CFLAGS | sed -e 's/-march=x86-64-v3 //') -CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/-march=x86-64-v3 //') -LDFLAGS=$(echo $LDFLAGS | sed -e 's/-march=x86-64-v3 //') -%endif - # Enabling fortify-source and "-Wall -Weverything" produces new warnings from libc. Turn them off. CFLAGS="$CFLAGS -Wno-used-but-marked-unused" CXXFLAGS="$CXXFLAGS -Wno-used-but-marked-unused" -%if 0%{?fedora} >= 43 || 0%{?rhel} > 10 -# -Wall includes Wjump-misses-init in newer clang versions -CFLAGS="$CFLAGS -Wno-jump-misses-init" -CXXFLAGS="$CXXFLAGS -Wno-jump-misses-init" -%endif - export EXTRA_CFLAGS="$CFLAGS" export EXTRA_CXXFLAGS="$CXXFLAGS" export EXTRA_LDFLAGS="$LDFLAGS" @@ -652,10 +638,8 @@ system_libs= %ifarch ppc64le s390x max_attempts=3 -timeout=5h %else -max_attempts=3 -timeout=120m +max_attempts=1 %endif function retry_until_success { @@ -704,7 +688,7 @@ EOF chmod +x dotnet-rpm-build.sh VERBOSE=1 retry_until_success $max_attempts \ - timeout $timeout \ + timeout 5h \ ./dotnet-rpm-build.sh @@ -916,38 +900,38 @@ export COMPlus_LTTng=0 %changelog -* Wed Nov 12 2025 Omair Majid - 10.0.100-2 +* Tue Dec 02 2025 Omair Majid - 10.0.101-1 +- Update to .NET SDK 10.0.101 and Runtime 10.0.1 +- Resolves: RHEL-130940 + +* Wed Nov 05 2025 Omair Majid - 10.0.100-2 +- Do not include -rtm in version strings of the SDK +- Related: RHEL-125750 + +* Mon Nov 03 2025 Omair Majid - 10.0.100-1 - Update to .NET SDK 10.0.100 and Runtime 10.0.0 -- Resolves: RHEL-125749 +- Resolves: RHEL-125750 -* Wed Oct 15 2025 Omair Majid - 10.0.100~rc.2.25502.107-0.12 +* Fri Oct 17 2025 Omair Majid - 10.0.100~rc.2.25502.107-0.10 - Update to .NET SDK 10.0.100-rc.2.25502.107 and Runtime 10.0.0-rc.2.25502.107 -- Resolves: RHEL-121558 +- Resolves: RHEL-121559 -* Tue Sep 30 2025 Omair Majid - 10.0.100~rc.1.25451.107-0.11 +* Tue Sep 16 2025 Omair Majid - 10.0.100~rc.1.25451.107-0.9 - Disable bootstrap -- Related: RHEL-114571 +- Resolves: RHEL-114572 -* Sun Sep 14 2025 Omair Majid - 10.0.100~rc.1.25451.107-0.10 -- Update to .NET 10 RC 1 -- Resolves: RHEL-114571 +* Sun Sep 14 2025 Omair Majid - 10.0.100~rc.1.25451.107-0.8 +- Update to RC 1 +- Resolves: RHEL-114572 -* Tue Sep 09 2025 Omair Majid - 10.0.100~preview.7.25380.108-0.9 -- Disable bootstrap -- Related: RHEL-98678 - -* Thu Sep 04 2025 Omair Majid - 10.0.100~preview.7.25380.108-0.8 +* Thu Sep 04 2025 Omair Majid - 10.0.100~preview.6.25358.103-0.7 - Drop netstandard-targeting-pack-2.1 -- Related: RHEL-98678 +- Resolves: RHEL-111815 -* Sat Aug 23 2025 Omair Majid - 10.0.100~preview.7.25380.108-0.7 -- Update to .NET 10 Preview 7 -- Related: RHEL-98678 - -* Tue Aug 19 2025 Omair Majid - 10.0.100~preview.6.25358.103-0.6 -- Rebuild to try and get rid of random errors -- Related: RHEL-98678 +* Thu Aug 07 2025 Omair Majid - 10.0.100~preview.6.25358.103-0.6 +- Disable bootstrap +- Resolves: RHEL-98674 * Fri Aug 01 2025 Omair Majid - 10.0.100~preview.6.25358.103-0.5 -- Initial commit on c10s -- Resolves: RHEL-98678 +- Initial commit on c9s +- Resolves: RHEL-98674 diff --git a/build-dotnet-bootstrap-tarball b/build-dotnet-bootstrap-tarball deleted file mode 100755 index 96b37a7..0000000 --- a/build-dotnet-bootstrap-tarball +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/bash - -# Usage: -# build-dotnet-bootstrap-tarball -# -# Creates a source archive suitable for bootstrapping -# https://github.com/dotnet/dotnet. -# -# Requires a tarball with the name "${dotnet}-${tag}.tar.gz" in current -# directory. - -set -euo pipefail -IFS=$'\n\t' - -function print_usage { - echo "Usage:" - echo "$0 |" - echo - echo "Creates a $arch bootstrap source archive from an archive of https://github.com/dotnet/dotnet" -} - -function clean_dotnet_cache { - rm -rf ~/.aspnet ~/.dotnet/ ~/.nuget/ ~/.local/share/NuGet ~/.templateengine - rm -rf /tmp/NuGet /tmp/NuGetScratch /tmp/.NETCore* /tmp/.NETStandard* /tmp/.dotnet /tmp/dotnet.* /tmp/clr-debug-pipe* /tmp/Razor-Server /tmp/CoreFxPipe* /tmp/VBCSCompiler /tmp/.NETFramework* - rm -rf ~/.npm/ -} - -function check_bootstrap_environment { - if rpm -qa | grep dotnet ; then - echo "error: dotnet is installed. Not a good idea for bootstrapping." - exit 1 - fi - if [ -d /usr/lib/dotnet ] || [ -d /usr/lib64/dotnet ] || [ -d /usr/share/dotnet ] ; then - echo "error: one of /usr/lib/dotnet /usr/lib64/dotnet or /usr/share/dotnet/ exists. Not a good idea for bootstrapping." - exit 1 - fi - if command -v dotnet ; then - echo "error: dotnet is in $PATH. Not a good idea for bootstrapping." - exit 1 - fi -} - -positional_args=() -while [[ "$#" -gt 0 ]]; do - arg="${1}" - case "${arg}" in - -h|--help) - print_usage - exit 0 - ;; - *) - positional_args+=("$1") - shift - ;; - esac -done - -check_bootstrap_environment - -tag=${positional_args[0]:-} -if [[ -z ${tag} ]]; then - echo "error: missing tag to build" - exit 1 -fi - -set -x - -tag_without_v=$(echo "${tag}" | sed -e 's|^v||') -tarball_name="dotnet-${tag_without_v}" -tarball_suffix=.tar.gz - -if [ -f "dotnet-prebuilts-${tag}-x64${tarball_suffix}" ]; then - echo "error: dotnet-prebuilts-${tag}-x64${tarball_suffix} already exists" - exit 1 -fi -if [ -f "dotnet-prebuilts-${tag}-arm64${tarball_suffix}" ]; then - echo "error: dotnet-prebuilts-${tag}-arm64${tarball_suffix} already exists" - exit 1 -fi - -for arch in arm64 x64; do - rm -rf "${tarball_name}" - tar xf "${tarball_name}${tarball_suffix}" - - pushd "${tarball_name}" - - if [[ $arch == arm64 ]]; then - ./prep-source-build.sh --bootstrap-rid linux-arm64 - else - ./prep-source-build.sh - fi - - # Remove files with funny licenses and crypto implementations and - # other not-very-useful artifacts. We MUST NOT ship any files that - # have unapproved licenses and unexpected cryptographic - # implementations. - # - # We use rm -r (no -f) to make sure the operation fails if the files - # are not at the expected locations. If the files are not at the - # expected location, we need to find the new location of the files and - # delete them, or verify that upstream has already removed the files. - - # rm -r $FILE_TO_REMOVE - - sdk_version=$(jq -r .tools.dotnet "global.json") - - mkdir -p "../dotnet-prebuilts-${sdk_version}-${arch}" - pushd "../dotnet-prebuilts-${sdk_version}-${arch}" - mv "../${tarball_name}/prereqs/packages/archive/Private.SourceBuilt.Artifacts.Bootstrap.tar.gz" . - wget https://builds.dotnet.microsoft.com/dotnet/Sdk/${sdk_version}/dotnet-sdk-${sdk_version}-linux-${arch}.tar.gz || \ - wget https://ci.dot.net/public/Sdk/${sdk_version}/dotnet-sdk-${sdk_version}-linux-${arch}.tar.gz - popd - - popd - - tar czf "dotnet-prebuilts-${sdk_version}-${arch}${tarball_suffix}" "dotnet-prebuilts-${sdk_version}-${arch}" - rm -rf "dotnet-prebuilts-${sdk_version}-${arch}" -done - -if [ -f rpm-crosscompile-all ] ; then - ./rpm-crosscompile-all "${tag}" -fi - diff --git a/build-prebuilt-archive b/build-prebuilt-archive deleted file mode 100755 index 9c9e2cf..0000000 --- a/build-prebuilt-archive +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash - -# Usage: -# build-prebuilt-archive architecture vmr-directory -# -# Creates an archive containing necessary bootstrapping binaries for ppc64le or -# s390x architectures from a VMR build. -# -# You need to have cloned the VMR (https://github.com/dotnet/dotnet) and -# cross-compiled it for the target architecture already. - -set -euo pipefail -IFS=$'\n\t' -set -x - -function print_usage { - echo "Usage:" - echo "$0 " - echo - echo "Creates a ppc64le or s390x bootstrap archive from a VMR build." - echo - echo "You need to have cloned the VMR (https://github.com/dotnet/dotnet) and" - echo "cross-compiled it for the target architecture already." - -} - -positional_args=() -while [[ "$#" -gt 0 ]]; do - arg="${1}" - case "${arg}" in - -h|--help) - print_usage - exit 0 - ;; - *) - positional_args+=("$1") - shift - ;; - esac -done - -arch=${positional_args[0]} # Name of the architecture. Eg, s390x or ppc64le -dir=${positional_args[1]} # Checkout of the VMR with the cross-build for the target architecture -dir=$(readlink -f "$dir") - -sdk_tarball=$(readlink -f $(find "$dir" -iname 'dotnet-sdk*'"$arch"'*tar.gz' | head -1)) - -# SDK is at VMR/artifacts/assets/Release/dotnet-sdk-9.0.100-preview.3.24165.1-linux-$arch.tar.gz. Extract the SDK version from the name. -sdk_version=$(echo "$(basename "${sdk_tarball}")" | sed -E -e 's/dotnet-sdk-//' -e "s/-linux-$arch.tar.gz//") -echo $sdk_version - -archive_name=dotnet-prebuilts-${sdk_version}-${arch} - -mkdir -p $archive_name -pushd $archive_name - -cp -av $sdk_tarball . -cp $dir/artifacts/assets/Release/Private.SourceBuilt.Artifacts.*.tar.gz . - -popd - -tar cvzf $archive_name.tar.gz $archive_name diff --git a/copr-build b/copr-build deleted file mode 100755 index bfd259e..0000000 --- a/copr-build +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -set -x - -function fedora_release { - source /etc/os-release - echo $VERSION_ID -} - -fedpkg --release f$(fedora_release) srpm 2>&1 | tee fedpkg.output - -srpm_name=$(grep 'Wrote: ' fedpkg.output | cut -d' ' -f 2) - -ls -alh "${srpm_name}" - -copr-cli --debug build @dotnet-sig/dotnet-preview "${srpm_name}" --timeout 36000 diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index b7ab3d1..0000000 --- a/gating.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_testing -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} ---- !Policy -product_versions: - - rhel-* -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.other-archs.functional} diff --git a/release.json b/release.json deleted file mode 100644 index f22dbfb..0000000 --- a/release.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "release": "10.0.0", - "channel": "10.0", - "tag": "v10.0.100", - "sdkVersion": "10.0.100", - "runtimeVersion": "10.0.0", - "aspNetCoreVersion": "10.0.0", - "sourceRepository": "https://github.com/dotnet/dotnet", - "sourceVersion": "b0f34d51fccc69fd334253924abd8d6853fad7aa", - "officialBuildId": "20251023.11" -} diff --git a/rpminspect.yaml b/rpminspect.yaml deleted file mode 100644 index 9293249..0000000 --- a/rpminspect.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -inspections: - # We patch upstream a lot, no need to reject patches - patches: off -badfuncs: - allowed: - # The Mono runtime (used on s390x, for example), uses inet_addr for - # debugging (such as sending the control flow graph to a remote process). - # See runtime/src/mono/mono/mini/cfgdump.c. This isn't part of any - # standard networking facility; networking APIs are implemented/used in - # libSystem*so. - /usr/lib64/dotnet/shared/Microsoft.NETCore.App/*/libcoreclr.so: - - inet_addr - /usr/lib64/dotnet/packs/Microsoft.NETCore.App.Runtime.*/*/runtimes/*/native/libcoreclr.so: - - inet_addr -runpath: - # Upstream explicitly sets $ORIGIN/netcoredeps as an RPATH - # See https://github.com/dotnet/core/blob/main/Documentation/self-contained-linux-apps.md - allowed_origin_paths: - - /netcoredeps diff --git a/sources b/sources deleted file mode 100644 index f2621d5..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (dotnet-10.0.100.tar.gz) = 0c292fe98c9c60864be176829011384542e94625e0969007f198df9a520aab68517a8a807927c25e885915597f3d87ffc8c1ba797606d5896f305705f3c44c98 -SHA512 (dotnet-10.0.100.tar.gz.sig) = 2343e062401151166218bd57b8ad1e23c6772d325a5e4304ab040a0d06eca85f04dd0543431e10068ecc60db55fe11d5c4f3a6d04f2c0f67741f4659f7e69572 diff --git a/tests/ci.fmf b/tests/ci.fmf deleted file mode 100644 index 4440865..0000000 --- a/tests/ci.fmf +++ /dev/null @@ -1,43 +0,0 @@ -summary: Basic smoke test -provision: - disk: 20 - memory: 5120 -prepare: - how: install - package: - - aspnetcore-runtime-10.0 - - bash-completion - - bc - - binutils - - dotnet-runtime-10.0 - - dotnet-sdk-10.0 - - expect - - file - - findutils - - gcc-c++ - - git - - jq - - libstdc++-devel - - lldb - - npm - - postgresql-odbc - - postgresql-server - - procps-ng - - python3 - - strace - - util-linux - - wget - - which - - zlib-devel -execute: - script: - - dotnet --info - - wget --no-verbose https://github.com/redhat-developer/dotnet-bunny/releases/latest/download/turkey.tar.gz - - tar xf turkey.tar.gz - - dotnet turkey/Turkey.dll --version - - git clone "https://github.com/redhat-developer/dotnet-regular-tests.git" - - dotnet turkey/Turkey.dll -l="$TMT_TEST_DATA" dotnet-regular-tests --timeout=1200 - - dnf remove -yq 'dotnet*' - - set -x; if command -v dotnet ; then exit 1; fi - - set -x; if [ -d /usr/lib64/dotnet ]; then exit 1; fi - - set -x; if man dotnet; then exit 1; fi diff --git a/update-release b/update-release deleted file mode 100755 index 8d78649..0000000 --- a/update-release +++ /dev/null @@ -1,223 +0,0 @@ -#!/bin/bash - -# Usage: -# ./update-release runtime-version|latest-release|latest-commit [--bug bug-id] [--tarball tarball-name] [--release-json release-json] [--larger-rpm-release] - -set -euo pipefail -IFS=$'\n\t' -set -x - -print_usage() { - echo " Usage:" - echo " ./update-release runtime-version|latest-release|latest-commit [--bootstrap] [--bug bug-id] [--tarball tarball-name] [--release-json release-json] [--larger-rpm-release]" - echo "" - echo "The runtime-version parameter needs to match the github release name." - echo "For preview releases, runtime-version should be of the form '9.0 Preview 1'." -} - -download_release_json() { - version=$1 - cat > query < release.metadata.github - curl -L "$(jq -r .release_manifest release.metadata.github)" -o release.json -} - -user_provided_tarball_name="" - -rpm_release=1 -positional_args=() -bug_ids=() -bootstrap=0 -while [[ "$#" -gt 0 ]]; do - arg="$1" - case "${arg}" in - --bootstrap) - bootstrap=1 - shift; - ;; - --bug) - bug_ids+=("$2") - shift; - shift; - ;; - -h|--help) - print_usage - exit 0 - ;; - --release-json) - release_json="$2" - shift; - shift; - ;; - --tarball) - user_provided_tarball_name="$2" - shift; - shift; - ;; - --larger-rpm-release) - rpm_release="2" - shift; - ;; - *) - positional_args+=("$1") - shift - ;; - esac -done - -spec_files=( ./*.spec ) -spec_file="${spec_files[0]}" - -dotnet_major_minor_version=$spec_file -dotnet_major_minor_version=${dotnet_major_minor_version#./dotnet} -dotnet_major_minor_version=${dotnet_major_minor_version%.spec} - -echo "Updating .NET $dotnet_major_minor_version" - -runtime_version=${positional_args[0]:-} -sdk_version="" -tag=v${runtime_version} -created_release_json=0 - -if [[ ${runtime_version} == latest-release ]]; then - if [[ -n "${release_json:-}" ]]; then - cp -a "${release_json}" release.json - else - download_release_json "${dotnet_major_minor_version}" - fi -elif [[ ${runtime_version} == latest-commit ]]; then - cat > query < release.metadata.github - commit=$(jq -r .commit.sha release.metadata.github) - jq >release.json < git-commit-message - -rpmdev-bumpspec --comment="$comment" "$spec_file" - -# Reset release in 'Release' tag -sed -i -E 's|^Release: [[:digit:]]+%|Release: '"$rpm_release"'%|' "$spec_file" -# Reset Release in changelog comment -# See https://stackoverflow.com/questions/18620153/find-matching-text-and-replace-next-line -sed -i -E '/^%changelog$/!b;n;s/-[[:digit:]]+$/-'"$rpm_release"'/' "$spec_file" - -echo "Done updating sources. Commit message in ./git-commit-message"