Sorry, I cannot reproduce it in 42.3 or TW but the proposed solution should fix it. Note that I have also included a Requires in the %pre section as the sed command is also needed there. Please, see sr#139803.