diff --git a/cmssw-tool-conf.spec b/cmssw-tool-conf.spec
index 8227fb6a551..7ebba5bf4fd 100644
--- a/cmssw-tool-conf.spec
+++ b/cmssw-tool-conf.spec
@@ -151,12 +151,9 @@ Requires: gperftools
Requires: cuda
Requires: alpaka
Requires: cupla
-
-%if "%{cmsos}" != "slc7_aarch64"
Requires: cudnn
-%endif
-
Requires: libunwind
+
%ifnarch ppc64le
Requires: igprof
Requires: openloops
diff --git a/onnxruntime.spec b/onnxruntime.spec
index 211003137d6..ce3252bafa6 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -9,9 +9,7 @@ Source1: https://github.com/microsoft/onnxruntime/commit/de4089f8cbe0baffe56a363
BuildRequires: cmake ninja
Requires: protobuf py3-numpy py3-wheel py3-onnx zlib libpng py3-pybind11
-%if "%{cmsos}" != "slc7_aarch64"
Requires: cuda cudnn
-%endif
%prep
%setup -q -n %{n}-%{realversion}
@@ -20,11 +18,7 @@ patch -p1 < %{_sourcedir}/de4089f8cbe0baffe56a363cc3a41595cc8f0809.patch
%build
rm -rf ../build; mkdir ../build; cd ../build
-%if "%{cmsos}" != "slc7_aarch64"
USE_CUDA=ON
-%else
-USE_CUDA=OFF
-%endif
cmake ../%{n}-%{realversion}/cmake -GNinja \
-DPYTHON_EXECUTABLE=${PYTHON3_ROOT}/bin/python3 \
diff --git a/scram-tools.file/tools/onnxruntime/onnxruntime.xml b/scram-tools.file/tools/onnxruntime/onnxruntime.xml
index 8bc7139ee3e..0c675d7ed36 100644
--- a/scram-tools.file/tools/onnxruntime/onnxruntime.xml
+++ b/scram-tools.file/tools/onnxruntime/onnxruntime.xml
@@ -6,9 +6,7 @@
-
-
-
-
+
+