Compare commits

...

5 Commits

Author SHA1 Message Date
Omair Majid
48119e3831 Update to .NET SDK 8.0.119 and Runtime 8.0.19
Resolves: RHEL-106723
2025-08-11 13:38:24 -04:00
Omair Majid
fdff592129 Update to .NET SDK 8.0.118 and Runtime 8.0.18
Resolves: RHEL-100592
2025-07-08 18:55:47 -04:00
Omair Majid
4bc86ebd22 Update to .NET SDK 8.0.117 and Runtime 8.0.17
Resolves: RHEL-94417
2025-06-13 09:35:40 -04:00
Omair Majid
ff58b24e1b Update to .NET SDK 8.0.116 and Runtime 8.0.16
Resolves: RHEL-89445
2025-05-14 13:25:08 -04:00
Omair Majid
3d870afc98 Update to .NET SDK 8.0.115 and Runtime 8.0.15
Resolves: RHEL-85276
2025-04-09 15:47:49 -04:00
5 changed files with 81 additions and 19 deletions

10
.gitignore vendored
View File

@ -58,3 +58,13 @@
/dotnet-8.0.13.tar.gz.sig
/dotnet-8.0.14.tar.gz
/dotnet-8.0.14.tar.gz.sig
/dotnet-8.0.15.tar.gz
/dotnet-8.0.15.tar.gz.sig
/dotnet-8.0.16.tar.gz
/dotnet-8.0.16.tar.gz.sig
/dotnet-8.0.17.tar.gz
/dotnet-8.0.17.tar.gz.sig
/dotnet-8.0.18.tar.gz
/dotnet-8.0.18.tar.gz.sig
/dotnet-8.0.119.tar.gz
/dotnet-8.0.119.tar.gz.sig

View File

@ -12,15 +12,15 @@
# dotnet-host and netstandard-targeting-pack-2.1
%global is_latest_dotnet 0
%global host_version 8.0.14
%global runtime_version 8.0.14
%global host_version 8.0.19
%global runtime_version 8.0.19
%global aspnetcore_runtime_version %{runtime_version}
%global sdk_version 8.0.114
%global sdk_version 8.0.119
%global sdk_feature_band_version %(echo %{sdk_version} | cut -d '-' -f 1 | sed -e 's|[[:digit:]][[:digit:]]$|00|')
%global templates_version %{runtime_version}
#%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }')
%global upstream_tag v%{runtime_version}
%global upstream_tag v%{sdk_version}
%global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||')
%global host_rpm_version %{host_version}
@ -539,7 +539,36 @@ export EXTRA_LDFLAGS="$LDFLAGS"
# suggested compile-time change doesn't work, unfortunately.
export COMPlus_LTTng=0
VERBOSE=1 ./build.sh \
%ifarch ppc64le s390x
max_attempts=3
%else
max_attempts=1
%endif
function retry_until_success {
local exit_code=1
local tries=$1
shift
set +e
while [[ $exit_code != 0 ]] && [[ $tries != 0 ]]; do
(( tries = tries - 1 ))
"$@"
exit_code=$?
done
set -e
return $exit_code
}
cat >dotnet-rpm-build.sh <<EOF
#!/bin/bash
set -euo pipefail
set -x
find -depth -name 'artifacts' -type d -print -exec rm -rf {} \;
./build.sh \
%if %{without bootstrap}
--with-sdk previously-built-dotnet \
%endif
@ -551,7 +580,14 @@ VERBOSE=1 ./build.sh \
/p:MinimalConsoleLogOutput=false \
/p:ContinueOnPrebuiltBaselineError=true \
/v:n \
/p:LogVerbosity=n \
/p:LogVerbosity=n
EOF
chmod +x dotnet-rpm-build.sh
VERBOSE=1 retry_until_success $max_attempts \
timeout 5h \
./dotnet-rpm-build.sh
sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE21} > dotnet.sh
@ -739,6 +775,26 @@ export COMPlus_LTTng=0
%changelog
* Mon Aug 11 2025 Omair Majid <omajid@redhat.com> - 8.0.119-2
- Update to .NET SDK 8.0.119 and Runtime 8.0.19
- Resolves: RHEL-106723
* Tue Jul 08 2025 Omair Majid <omajid@redhat.com> - 8.0.118-2
- Update to .NET SDK 8.0.118 and Runtime 8.0.18
- Resolves: RHEL-100592
* Wed Jun 11 2025 Omair Majid <omajid@redhat.com> - 8.0.117-2
- Update to .NET SDK 8.0.117 and Runtime 8.0.17
- Resolves: RHEL-94417
* Tue May 13 2025 Omair Majid <omajid@redhat.com> - 8.0.116-2
- Update to .NET SDK 8.0.116 and Runtime 8.0.16
- Resolves: RHEL-89445
* Wed Apr 09 2025 Omair Majid <omajid@redhat.com> - 8.0.115-2
- Update to .NET SDK 8.0.115 and Runtime 8.0.15
- Resolves: RHEL-85276
* Tue Mar 11 2025 Omair Majid <omajid@redhat.com> - 8.0.114-2
- Update to .NET SDK 8.0.114 and Runtime 8.0.14
- Resolves: RHEL-81641

View File

@ -1,10 +1,10 @@
{
"release": "8.0.14",
"release": "8.0.19",
"channel": "8.0",
"tag": "v8.0.14",
"sdkVersion": "8.0.114",
"runtimeVersion": "8.0.14",
"aspNetCoreVersion": "8.0.14",
"tag": "v8.0.119",
"sdkVersion": "8.0.119",
"runtimeVersion": "8.0.19",
"aspNetCoreVersion": "8.0.19",
"sourceRepository": "https://github.com/dotnet/dotnet",
"sourceVersion": "b5416edd25debe775619037d6348bb672fb5da54"
"sourceVersion": "8495bde0fe309967f88de93e358d6b6166ed47f8"
}

View File

@ -1,2 +1,2 @@
SHA512 (dotnet-8.0.14.tar.gz) = 281b97ffbb29a1f2cc6129ade17019257cc80a9ce62d2044ee19f2f80d1616578f1d82815a0e0ce8a7f7f8becd641785dfa6ae60de03dd41a764b24a9306f3e3
SHA512 (dotnet-8.0.14.tar.gz.sig) = ad983f811403b18ae37a3a4bbb70fc94c5556b27372f8fcdeb4ac46f213c7780e9b5b2ac7c8b428f11ec6df5de056afc565d08fdb3d7b97d70f5c9defde091a1
SHA512 (dotnet-8.0.119.tar.gz) = 1082cbdb27ec20432146e98601cf4eea6915f9a97c08c546354407f9090992d16523e5040c108e435c6d2d1540d0a8528cf9e6eed5f342fe8eeb606993476d34
SHA512 (dotnet-8.0.119.tar.gz.sig) = a0ac129d595618336fb28bcf873e8ca91c0d1b0c999f36b6f0ebfb18c22358fbb7ec7b3f23930aaa482ba0dd430294e2837d2787e925cbaae96d47eb037ee635

View File

@ -66,11 +66,7 @@ fi
host_version="$runtime_version"
if [[ "$runtime_version" == "6.0"* ]] || [[ "$runtime_version" == "7.0"* ]] ; then
tag=v${sdk_version}
else
tag=v${runtime_version}
fi
set -x