diff --git a/slurm.spec b/slurm.spec index c581d6df699..ecf8113f3e5 100644 --- a/slurm.spec +++ b/slurm.spec @@ -376,7 +376,7 @@ export QA_RPATHS=0x5 # Strip out some dependencies cat > find-requires.sh <<'EOF' -exec %{__find_requires} "$@" | egrep -v '^libpmix.so|libevent' +exec %{__find_requires} "$@" | egrep -v '^lib(pmix.so|event|nvidia-ml)' EOF chmod +x find-requires.sh %global _use_internal_dependency_generator 0