rpm: fix incorrect expansion of macros with line continuations for args
rpm: fix incorrect expansion of macros with line continuations for args

Macros in RPMs are expanded before line continuations, so when we write

   %systemd_preun foo \
                  bar

What happens is that it expands to

   if [ $1 -eq 0 ] ; then
        # Package removal, not upgrade
        systemctl --no-reload disable --now foo \ > /dev/null 2>&1 || :
   fi
                 bar

which is obviously complete garbage and not what we expected. It is
simply not safe to ever use line continuations in combination with
macros.

Reviewed-by: Laine Stump <c23361c43fbf79fed83e8b76173707b083d6caf5@laine.org>
Signed-off-by: Daniel P. Berrangé <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

jardasgit/libvirt,zippy2/libvirt,nertpinx/libvirt,libvirt/libvirt,nertpinx/libvirt,andreabolognani/libvirt,olafhering/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,olafhering/libvirt,zippy2/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,olafhering/libvirt,eskultety/libvirt,fabianfreyer/libvirt,crobinso/libvirt,jardasgit/libvirt,andreabolognani/libvirt,eskultety/libvirt,crobinso/libvirt,crobinso/libvirt,jardasgit/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,libvirt/libvirt,olafhering/libvirt,nertpinx/libvirt,andreabolognani/libvirt,jardasgit/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,jfehlig/libvirt,eskultety/libvirt,crobinso/libvirt,eskultety/libvirt,zippy2/libvirt,zippy2/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,eskultety/libvirt,libvirt/libvirt,libvirt/libvirt