Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae4e86a8b7 | ||
|
|
52e2c059d4 | ||
|
|
0825254ffd | ||
|
|
0b45e5517d | ||
|
|
65ad2b8947 |
8 changed files with 34 additions and 56 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -60,9 +60,3 @@
|
|||
/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
|
||||
/dotnet-10.0.101.tar.gz
|
||||
/dotnet-10.0.101.tar.gz.sig
|
||||
/dotnet-10.0.102.tar.gz
|
||||
/dotnet-10.0.102.tar.gz.sig
|
||||
|
|
|
|||
|
|
@ -131,10 +131,8 @@ follow.
|
|||
This package uses CI tests as defined in `tests/ci.yml`. You can run them using
|
||||
[tmt](https://tmt.readthedocs.io/en/stable/overview.html). Creating a
|
||||
pull-request or running an official build will fire off tests and flag any
|
||||
issues. The tests will show up as `tier0.functional` in results views. We have
|
||||
enabled gating (via `gating.yaml`) on the tests. That prevents a build or an
|
||||
update that fails any test from being released until the failures are
|
||||
reviewed/waived.
|
||||
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/
|
||||
|
|
|
|||
|
|
@ -14,20 +14,20 @@
|
|||
|
||||
# upstream can produce releases with a different tag than the SDK version
|
||||
#%%global upstream_tag v%%{runtime_version}
|
||||
%global upstream_tag v10.0.102-sb1
|
||||
%global upstream_tag v10.0.100-rc.2.25502.107
|
||||
%global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||')
|
||||
|
||||
%global hostfxr_version %{runtime_version}
|
||||
%global runtime_version 10.0.2
|
||||
%global aspnetcore_runtime_version 10.0.2
|
||||
%global sdk_version 10.0.102
|
||||
%global runtime_version 10.0.0-rc.2.25502.107
|
||||
%global aspnetcore_runtime_version 10.0.0-rc.2.25502.107
|
||||
%global sdk_version 10.0.100-rc.2.25502.107
|
||||
%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 }')
|
||||
|
||||
%global runtime_rpm_version %{runtime_version}
|
||||
%global aspnetcore_runtime_rpm_version %{aspnetcore_runtime_version}
|
||||
%global sdk_rpm_version %{sdk_version}
|
||||
%global runtime_rpm_version 10.0.0~rc.2.25502.107
|
||||
%global aspnetcore_runtime_rpm_version 10.0.0~rc.2.25502.107
|
||||
%global sdk_rpm_version 10.0.100~rc.2.25502.107
|
||||
|
||||
%global use_bundled_brotli 0
|
||||
%global use_bundled_libunwind 1
|
||||
|
|
@ -77,14 +77,16 @@
|
|||
|
||||
Name: dotnet%{dotnetver}
|
||||
Version: %{sdk_rpm_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 0.10%{?dist}
|
||||
Summary: .NET %{dotnetver} 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/
|
||||
|
||||
Source0: https://github.com/dotnet/dotnet/archive/refs/tags/%{upstream_tag}.tar.gz#/dotnet-%{sdk_version}.tar.gz
|
||||
Source1: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/dotnet-%{sdk_version}.tar.gz.sig
|
||||
#Source0: https://github.com/dotnet/dotnet/archive/refs/tags/%%{upstream_tag}.tar.gz#/dotnet-%%{upstream_tag_without_v}.tar.gz
|
||||
#Source1: https://github.com/dotnet/dotnet/releases/download/%%{upstream_tag}/dotnet-%%{upstream_tag_without_v}.tar.gz.sig
|
||||
Source0: https://builds.dotnet.microsoft.com/dotnet/source-build/dotnet-source-%{upstream_tag_without_v}.tar.gz
|
||||
Source1: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/dotnet-source-%{upstream_tag_without_v}.tar.gz.sig
|
||||
Source2: https://dotnet.microsoft.com/download/dotnet/release-key-2023.asc
|
||||
Source3: https://github.com/dotnet/dotnet/releases/download/%{upstream_tag}/release.json
|
||||
%if %{with bootstrap}
|
||||
|
|
@ -484,7 +486,7 @@ if [[ ${release_json_tag} != %{upstream_tag} ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
%setup -q -n dotnet-%{upstream_tag_without_v}
|
||||
%setup -q -c -n dotnet-%{upstream_tag_without_v}
|
||||
|
||||
# Remove all prebuilts and binaries
|
||||
rm -rf .dotnet/
|
||||
|
|
@ -556,8 +558,6 @@ rm -rf prereqs/packages/archive/dotnet-sdk*.tar.gz
|
|||
|
||||
%autopatch -p1 -M 999
|
||||
|
||||
sed -i -E 's/trap.*tempDir.*EXIT//' eng/source-build-toolset-init.sh
|
||||
|
||||
%if ! %{use_bundled_brotli}
|
||||
rm -r src/runtime/src/native/external/brotli/
|
||||
%endif
|
||||
|
|
@ -699,6 +699,7 @@ find -depth -name 'artifacts' -type d -print -exec rm -rf {} \;
|
|||
./build.sh \
|
||||
--source-only \
|
||||
--release-manifest %{SOURCE3} \
|
||||
--branding default \
|
||||
%if %{without bootstrap}
|
||||
--with-sdk previously-built-dotnet \
|
||||
%endif
|
||||
|
|
@ -728,9 +729,9 @@ sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE102} > dotnet.sh
|
|||
|
||||
%install
|
||||
install -dm 0755 %{buildroot}%{_libdir}/dotnet
|
||||
find artifacts/assets/Release/
|
||||
ls artifacts/assets/Release/
|
||||
mkdir -p built-sdk
|
||||
tar xf artifacts/assets/Release/dotnet-sdk-%{sdk_version}*-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
|
||||
tar xf artifacts/assets/Release/Sdk/%{sdk_version}/dotnet-sdk-%{sdk_version}*-%{runtime_id}.tar.gz -C %{buildroot}%{_libdir}/dotnet/
|
||||
|
||||
# Delete bundled certificates: we want to use the system store only,
|
||||
# except for when we have no other choice and ca-certificates doesn't
|
||||
|
|
@ -767,11 +768,8 @@ 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}
|
||||
|
||||
%if ! (0%{?fedora} >= 44 || 0%{?rhel} >= 11)
|
||||
install -dm 0755 %{buildroot}%{_sysconfdir}/profile.d/
|
||||
install dotnet.sh %{buildroot}%{_sysconfdir}/profile.d/
|
||||
%endif
|
||||
|
||||
# Install dynamic completions
|
||||
install -dm 0755 %{buildroot}/%{bash_completions_dir}
|
||||
|
|
@ -808,7 +806,7 @@ test -f %{buildroot}%{_libdir}/dotnet/sdk/%{sdk_version}*/Sdks/Microsoft.NET.Sdk
|
|||
echo "Testing build results for debug symbols..."
|
||||
%{SOURCE101} -v %{buildroot}%{_libdir}/dotnet/
|
||||
|
||||
%if %{is_latest_dotnet} && %{include_macros}
|
||||
%if %{include_macros}
|
||||
install -dm 0755 %{buildroot}%{_rpmmacrodir}/
|
||||
install -m 0644 %{SOURCE100} %{buildroot}%{_rpmmacrodir}/
|
||||
%endif
|
||||
|
|
@ -821,7 +819,7 @@ 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}
|
||||
%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
|
||||
|
|
@ -866,9 +864,7 @@ export COMPlus_LTTng=0
|
|||
%license %{_libdir}/dotnet/ThirdPartyNotices.txt
|
||||
%doc %{_mandir}/man1/dotnet*.1.*
|
||||
%doc %{_mandir}/man7/dotnet*.7.*
|
||||
%if ! (0%{?fedora} >= 44 || 0%{?rhel} >= 11)
|
||||
%config(noreplace) %{_sysconfdir}/profile.d/dotnet.sh
|
||||
%endif
|
||||
%config(noreplace) %{_sysconfdir}/dotnet
|
||||
%dir %{_datadir}/bash-completion
|
||||
%dir %{bash_completions_dir}
|
||||
|
|
@ -935,15 +931,6 @@ export COMPlus_LTTng=0
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 13 2026 Omair Majid <omajid@redhat.com> - 10.0.102-1
|
||||
- Update to .NET SDK 10.0.102 and Runtime 10.0.2
|
||||
|
||||
* Wed Dec 10 2025 Omair Majid <omajid@redhat.com> - 10.0.101-1
|
||||
- Update to .NET SDK 10.0.101 and Runtime 10.0.1
|
||||
|
||||
* Tue Nov 11 2025 Omair Majid <omajid@redhat.com> - 10.0.100-1
|
||||
- Update to .NET SDK 10.0.100 and Runtime 10.0.0
|
||||
|
||||
* Sun Nov 02 2025 Omair Majid <omajid@redhat.com> - 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
|
||||
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ product_versions:
|
|||
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}
|
||||
|
|
|
|||
16
release.json
16
release.json
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"release": "10.0.2",
|
||||
"release": "10.0.0-rc.2",
|
||||
"channel": "10.0",
|
||||
"tag": "v10.0.102-sb1",
|
||||
"sdkVersion": "10.0.102",
|
||||
"runtimeVersion": "10.0.2",
|
||||
"aspNetCoreVersion": "10.0.2",
|
||||
"tag": "v10.0.100-rc.2.25502.107",
|
||||
"sdkVersion": "10.0.100-rc.2.25502.107",
|
||||
"runtimeVersion": "10.0.0-rc.2.25502.107",
|
||||
"aspNetCoreVersion": "10.0.0-rc.2.25502.107",
|
||||
"sourceRepository": "https://github.com/dotnet/dotnet",
|
||||
"sourceVersion": "1def04f336cc452f7633f2ef1f157669c37c283a",
|
||||
"officialBuildId": "20260105.8"
|
||||
}
|
||||
"sourceVersion": "89c8f6a112d37d2ea8b77821e56d170a1bccdc5a",
|
||||
"officialBuildId": "20251002.7"
|
||||
}
|
||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (dotnet-10.0.102.tar.gz) = 6dfd36d64b51daf6bfd162a4dd436ab705dcbe6d6084607746c76b61b89926677d474ef4f6dae67fad93f03db0d304ff5260ac60c50dd6fe38326b74b2a282f6
|
||||
SHA512 (dotnet-10.0.102.tar.gz.sig) = dded7f84fdd73001211cc0f34d80ef28dfae3ffb3992942d1c8d99e7ad9250aac5ae03ef4afd58f9ea64b0afc8e6429703d0d3a777ec31523e74a3b2c5793809
|
||||
SHA512 (dotnet-source-10.0.100-rc.2.25502.107.tar.gz) = eefa03f6e409274c3d5a29317c6e26badb991019bc9c8faa2172b7ead937032bf8829474da4dc5badfb92d33e2140c6d0121f8f996c8ec146f9efddc9b2770ca
|
||||
SHA512 (dotnet-source-10.0.100-rc.2.25502.107.tar.gz.sig) = 4dec13df46b91f641630623778cd2509a0bb68b47975735f1e623a445f02648268f19dae7b4b1912ab855d099f35afd78506808f667d67d2774ef594a3af8191
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
summary: Basic smoke test
|
||||
provision:
|
||||
hardware:
|
||||
disk:
|
||||
- size: ">= 20 GiB"
|
||||
memory: ">= 5120 MiB"
|
||||
disk: 20
|
||||
memory: 5120
|
||||
prepare:
|
||||
how: install
|
||||
package:
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ dotnet_major_minor_version=${dotnet_major_minor_version%.spec}
|
|||
|
||||
echo "Updating .NET $dotnet_major_minor_version"
|
||||
|
||||
runtime_version=${positional_args[0]:-latest-release}
|
||||
runtime_version=${positional_args[0]:-}
|
||||
sdk_version=""
|
||||
tag=v${runtime_version}
|
||||
created_release_json=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue