diff --git a/opi5-efi.spec b/opi5-efi.spec index bf2a703..70346ff 100644 --- a/opi5-efi.spec +++ b/opi5-efi.spec @@ -37,11 +37,9 @@ rm -rf $RPM_BUILD_ROOT %post set -xeuf -o pipefail -cp /opt/opi5-efi/boot.cmd $RPM_BUILD_ROOT/boot/efi/boot.cmd -cp /opt/opi5-efi/uEnv.txt $RPM_BUILD_ROOT/boot/efi/uEnv.txt +cp /opt/opi5-efi/boot.cmd /boot/efi/boot.cmd-%{full_ver} +cp /opt/opi5-efi/uEnv.txt /boot/efi/uEnv.txt-%{full_ver} -cp /boot/efi/boot.cmd /boot/efi/boot.cmd-%{full_ver} -cp /boot/efi/uEnv.txt /boot/efi/uEnv.txt-%{full_ver} if [ -f /boot/.uname ]; then UNAME_R=$(