From 2b3e6f96e721917d648277a39775e12a08349d0b Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Tue, 18 Jul 2023 16:42:00 -0400 Subject: [PATCH] Remove lttng and other tracing-specific dependencies from the runtime package --- dotnet8.0.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dotnet8.0.spec b/dotnet8.0.spec index 9f749f6..30e3fa6 100644 --- a/dotnet8.0.spec +++ b/dotnet8.0.spec @@ -54,7 +54,7 @@ Name: dotnet%{dotnetver} Version: %{sdk_rpm_version} -Release: 0.1%{?dist} +Release: 0.2%{?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 @@ -137,6 +137,12 @@ BuildRequires: tar BuildRequires: util-linux BuildRequires: zlib-devel + +# The tracing support in CoreCLR is optional. It has a run-time +# dependency on some additional libraries like lttng-ust. The runtime +# gracefully disables tracing if the dependencies are missing. +%global __requires_exclude_from ^(%{_libdir}/dotnet/.*/libcoreclrtraceptprovider\\.so)$ + # Avoid generating provides and requires for private libraries %global privlibs libhostfxr %global privlibs %{privlibs}|libclrgc @@ -661,6 +667,9 @@ export COMPlus_LTTng=0 %changelog +* Mon Jul 18 2023 Omair Majid - 8.0.100~preview.6-0.2 +- Remove lttng and other tracing-specific dependencies from the runtime package + * Mon Jul 17 2023 Omair Majid - 8.0.100~preview.6-0.1 - Update to .NET SDK 8.0.100 Preview 6 and Runtime 8.0.0 Preview 6