From 9b9d2786403e9b8869a05fcd86ca2efe42497a4a Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov Date: Fri, 15 Nov 2024 16:11:09 +0100 Subject: [PATCH] 'dtrace' was moved to a separate package on C10S as well --- contrib/ci/deps.sh | 6 ++++++ contrib/sssd.spec.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/ci/deps.sh b/contrib/ci/deps.sh index d5cc40fe1ed..3803c782620 100644 --- a/contrib/ci/deps.sh +++ b/contrib/ci/deps.sh @@ -48,6 +48,12 @@ if [[ "$DISTRO_BRANCH" == -redhat-* ]]; then libcap-devel ) + if [[ "$DISTRO_BRANCH" == -redhat-fedora-4[1-9]* || + "$DISTRO_BRANCH" == -redhat-redhatenterprise*-10.*- || + "$DISTRO_BRANCH" == -redhat-centos*-10*- ]]; then + DEPS_LIST+=(systemtap-sdt-dtrace) + fi + if [[ "$DISTRO_BRANCH" == -redhat-fedora-4[0-9]* || "$DISTRO_BRANCH" == -redhat-fedora-3[7-9]* || "$DISTRO_BRANCH" == -redhat-redhatenterprise*-9.*- || diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index b3c6555c4a5..2576154813c 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -175,7 +175,7 @@ BuildRequires: softhsm >= 2.1.0 BuildRequires: bc BuildRequires: systemd-devel BuildRequires: systemtap-sdt-devel -%if 0%{?fedora} >= 41 || 0%{?rhel} >= 11 +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 10 BuildRequires: systemtap-sdt-dtrace %endif BuildRequires: uid_wrapper