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