From 29fcd0b3a94209c0ff82b6fc8d69caefb8599051 Mon Sep 17 00:00:00 2001 From: Mikhail Efremov Date: Wed, 16 Oct 2019 17:05:30 +0300 Subject: [PATCH] cleanup: Don't use internal rpm macros --- branding.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/branding.spec b/branding.spec index 537c83b..e1aa120 100644 --- a/branding.spec +++ b/branding.spec @@ -230,7 +230,7 @@ find %buildroot -name \*.in -delete %post bootloader [ "$1" -eq 1 ] || exit 0 %ifarch %ix86 x86_64 -%__ln_s -nf %theme/message /boot/splash/message +ln -snf %theme/message /boot/splash/message . /etc/sysconfig/i18n lang=$(echo $LANG | cut -d. -f 1) cd boot/splash/%theme/ @@ -247,7 +247,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high %preun bootloader [ "$1" -eq 1 ] || exit 0 [ "`readlink /boot/splash/message`" != "%theme/message" ] || - %__rm -f /boot/splash/message + %rm -f /boot/splash/message %endif %post indexhtml