Don't remove perl on s390x as it is required by some low-level tools.
---
share/runtime-cleanup.tmpl | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
index 97dd38f..1791cae 100644
--- a/share/runtime-cleanup.tmpl
+++ b/share/runtime-cleanup.tmpl
@@ -5,8 +5,10 @@
remove usr/share/i18n
## not required packages installed as dependencies
-## no perl (it gets pulled in on ppc)
-removepkg perl*
+## no perl besides s390x
+%if basearch != "s390x":
+ removepkg perl*
+%endif
## no sound support, thanks
removepkg alsa* flac gstreamer-tools libsndfile pulseaudio* sound-theme-freedesktop
removepkg midisport-firmware
--
1.7.7.6