import UBI dotnet9.0-9.0.112-1.el8_10

This commit is contained in:
eabdullin 2025-11-17 21:33:25 +00:00
parent 0586011511
commit 54473c4d66
6 changed files with 56 additions and 31 deletions

View File

@ -1 +1 @@
f36436951dda18a862f2545b21a62040c92d5561 SOURCES/dotnet-9.0.111.tar.gz
46ba84d186de85370daadb1540c8f6a080b533a5 SOURCES/dotnet-9.0.112.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/dotnet-9.0.111.tar.gz
SOURCES/dotnet-9.0.112.tar.gz

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: BSN Pgp v1.0.0.0
iQIcBAABCAAGBQJo3aD1AAoJEP2/U8JNtIcuzxUP/0/OlhFtCUfxVMMUCndsowkt
iNXil3CsUuo8Sc1WxIZmBbwOCnA17OV8E2Q799eCiPK16dbitl+BWN5I/C20cO9K
mEUBlcUdt/vtkxoOqYs50yW9Ew8bbkXtUorvWFxlegk8raI1/EOf2DQbd60CtbWB
7Q6lkgYJk5w7LcsTsqYXngyXYKnHBhQ9QYNncBr2T9FSuKx2Ndbv3sbit1FjzB73
s4VAnySpNZ3N1xgZ7G1U6qpyip/00pkKtUCX26zFdXNEXiEDHr4CXpHsqlLh6r1d
mCVAkenztsDyr+nP8Wgri9QmMT+0UmvlW7RP0/qtwgFJf1TMM0DMiKQ7qF1RTBda
0z5uWwB9qVA6Wbu3i7JunddySRgXRJRzqbNCHI8h/TsmW+HbTdkEGc35TJ+4krY0
AfOf6JoUWrnV3onNKqFmEcNKN9PoRS4+JLxYLRxJZ14QoS44Dv+A67Zm4T3jDTtG
fR1AFq1ANe77iytDTUldDY7pEJwt06KVh/1S6Tt476ym+KwZFOyPRRmHbYf87LCS
w3f8LxqG3s6hxio9/tTa+ZHx8OjYiIcA0FgbvZ46lOUNDHpytTjVaijKhbsm5Sr2
/OgeJEisU6xfAfsEKeseYXwWLlTQBTqa0tvyBC3DwkRzKdql7sKtNwlO+ecs8fUp
3u1fKfYRTInMHtlaR20y
=PNIB
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: BSN Pgp v1.0.0.0
iQIcBAABCAAGBQJpA4uYAAoJEP2/U8JNtIcufQAQAKgtqGcDTijy1BfjnL3x1s4d
4g5LdyVYG3Zg2FtZK40jtMTA10Q5X5rHWAzq8vv3WM7GeGOEVOkPhXPvh2q0Tp4w
IgxVG1k9WwXTMrwey6xvu+jkJwDPvg3foGGO7jryq76x/1qKyAGbz+iKM0t7+EcY
S9sUUwGTgWnYgoTm/iCBgiX9yUFzbNNJqtXp+EC58MHqminrwlOcuuyrwmxNpwqx
EVY6PdFP7bn0uv5wdvDX/7VvC3RBZHjUsoSUDAdPqFXu6CT3ecTIksl6jTo/hTi/
hRbciFtsx/MU8l/C430t1j4gRVPXYGKuQ5wjM9GlVmBOgbxC6Cci10fuIbv9U8VB
MB22EaJhxSpuSDbRtn+0azk6s1VjomAxY456Ab9SVr+tBI1YGNvqE7ZtlpPSAweH
ShbMWQZtSKz59KYlRQEYNwX4Ewc737vGqJSXULg7jeENNvCyd8IZd8morNwu5pK4
aTRqBkGouuDxmh6INgJRgZPyIrDzhT3tdpi+XsieKpumxbvrQQz2gMo88RuZUjVj
wekVth4uRLX95C0CYQQqBzIvvdv38eqQ3INm3JrUw0BEvyiF9F4/PmYCRamvmQ0v
IbdY3iTmeOAd96ByrA/LY0HhfQycPBhJUdoiIJ1Pykb6rA7AtALm+auNkvxYwISC
uBSY6A8VapWXMPcUuFcg
=t7oH
-----END PGP SIGNATURE-----

View File

@ -1,10 +1,10 @@
{
"release": "9.0.10",
"release": "9.0.11",
"channel": "9.0",
"tag": "v9.0.111",
"sdkVersion": "9.0.111",
"runtimeVersion": "9.0.10",
"aspNetCoreVersion": "9.0.10",
"tag": "v9.0.112",
"sdkVersion": "9.0.112",
"runtimeVersion": "9.0.11",
"aspNetCoreVersion": "9.0.11",
"sourceRepository": "https://github.com/dotnet/dotnet",
"sourceVersion": "838867fec3d758e34188af097f4f18a23c3800e8"
"sourceVersion": "191254d6485c508af3f6f8ff5f20e91fa63ee39c"
}

View File

@ -8,15 +8,19 @@
%global dotnetver 9.0
# Only the package for the latest dotnet version should provide RPMs like
# dotnet-host and netstandard-targeting-pack-2.1
%global is_latest_dotnet 0
# upstream can produce releases with a different tag than the SDK version
#%%global upstream_tag v%%{runtime_version}
%global upstream_tag v9.0.111
%global upstream_tag v9.0.112
%global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||')
%global hostfxr_version %{runtime_version}
%global runtime_version 9.0.10
%global aspnetcore_runtime_version 9.0.10
%global sdk_version 9.0.111
%global runtime_version 9.0.11
%global aspnetcore_runtime_version 9.0.11
%global sdk_version 9.0.112
%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 }')
@ -742,10 +746,10 @@ find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {}
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.txt' -exec chmod -x {} \;
find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \;
%if %{is_latest_dotnet}
install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/
install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/
# Install dynamic completions
install -dm 0755 %{buildroot}/%{bash_completions_dir}
install src/sdk/scripts/register-completions.bash %{buildroot}/%{bash_completions_dir}/dotnet
@ -765,6 +769,7 @@ echo "%{_libdir}/dotnet" >> install_location
install install_location %{buildroot}%{_sysconfdir}/dotnet/
echo "%{_libdir}/dotnet" >> install_location_%{runtime_arch}
install install_location_%{runtime_arch} %{buildroot}%{_sysconfdir}/dotnet/
%endif
install -dm 0755 %{buildroot}%{_libdir}/dotnet/source-built-artifacts
install -m 0644 artifacts/assets/Release/Private.SourceBuilt.Artifacts.*.tar.gz %{buildroot}/%{_libdir}/dotnet/source-built-artifacts/
@ -788,6 +793,18 @@ find %{buildroot}%{_libdir}/dotnet/sdk -type d | tail -n +2 | sed -E 's|%{buildr
find %{buildroot}%{_libdir}/dotnet/sdk -type f -and -not -name '*.pdb' | sed -E 's|%{buildroot}||' >> dotnet-sdk-non-dbg-files
find %{buildroot}%{_libdir}/dotnet/sdk -type f -name '*.pdb' | sed -E 's|%{buildroot}||' > dotnet-sdk-dbg-files
%if %{is_latest_dotnet} == 0
# If this is an older version, self-test now, before we delete files. After we
# delete files, we will not have everything we need to self-test in %%check.
%{buildroot}%{_libdir}/dotnet/dotnet --info
%{buildroot}%{_libdir}/dotnet/dotnet --version
# Provided by dotnet-host from another SRPM
rm %{buildroot}%{_libdir}/dotnet/LICENSE.txt
rm %{buildroot}%{_libdir}/dotnet/ThirdPartyNotices.txt
rm %{buildroot}%{_libdir}/dotnet/dotnet
%endif
%check
@ -796,11 +813,14 @@ find %{buildroot}%{_libdir}/dotnet/sdk -type f -name '*.pdb' | sed -E 's|%{buil
export COMPlus_LTTng=0
%endif
%if %{is_latest_dotnet}
%{buildroot}%{_libdir}/dotnet/dotnet --info
%{buildroot}%{_libdir}/dotnet/dotnet --version
%endif
%if %{is_latest_dotnet}
%if ( 0%{?fedora} && 0%{?fedora} < 38 ) || ( 0%{?rhel} && 0%{?rhel} < 9 )
%files -n dotnet
# empty package useful for dependencies
@ -824,6 +844,7 @@ export COMPlus_LTTng=0
%dir %{_datadir}/zsh
%dir %{zsh_completions_dir}
%{_datadir}/zsh/site-functions/_dotnet
%endif
%files -n dotnet-hostfxr-%{dotnetver}
%dir %{_libdir}/dotnet/host/fxr
@ -878,7 +899,11 @@ export COMPlus_LTTng=0
%changelog
* Sun Oct 05 2025 Omair Majid <omajid@redhat.com> - 9.0.111-1
* Mon Nov 03 2025 Omair Majid <omajid@redhat.com> - 9.0.112-1
- Update to .NET SDK 9.0.112 and Runtime 9.0.11
- Resolves: RHEL-125742
* Tue Oct 14 2025 Omair Majid <omajid@redhat.com> - 9.0.111-2
- Update to .NET SDK 9.0.111 and Runtime 9.0.10
- Resolves: RHEL-116856