From 0dcc91177a98685b037bf8c57d3d5fdc8158513d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Mon, 22 Oct 2012 11:30:56 +0200 Subject: [PATCH] perl is required by some low-level tools on s390x (#868824) Don't remove perl on s390x as it is required by some low-level tools. --- share/runtime-cleanup.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 97dd38fc..1791cae4 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