From 21c6280556f4c8e035d1e78e6a51e1068d3ec92c 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 Reviewed-by: Sumit Bose --- 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 73472e2912a..71d3285ffa2 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -172,7 +172,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