From 680037372e1932e168e7fe9d14f4daae07075392 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 11 Jul 2014 17:09:47 -0700 Subject: [PATCH] Don't remove usr/lib/rpm/platform/ (#1116450) This appears to cause the rpm-plugin-selinux to fail and some of the selinux lebels aren't applied correctly. (cherry picked from commit e1741763a9626ffe4310b959c4b048f920759d6c) Related: rhbz#1196721 --- share/runtime-cleanup.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 8fa6c1dc..b9d158e5 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -310,7 +310,7 @@ removefrom python-ethtool /usr/sbin/* removefrom python-meh /usr/share/locale/* removefrom readline /usr/${libdir}/* removefrom libreport /usr/bin/* /usr/share/locale/* -removefrom rpm /usr/bin/* /usr/lib/rpm/platform/* /usr/share/locale/* +removefrom rpm /usr/bin/* /usr/share/locale/* removefrom rsync /etc/* removefrom sed /usr/share/locale/* removefrom smartmontools /etc/* /usr/sbin/smartd