[libvirt PATCH 0/1] Fix rpmbuild on CentOS Stream 8

Erik Skultety eskultet at redhat.com
Tue Sep 21 17:30:28 UTC 2021


When running rpmbuild on CentOS 8 results in the following error:

error: Too many levels of recursion in macro expansion. It is likely caused by
       recursive macro declaration.
error: Macro %libvirt_daemon_perform_restart failed to expand
error: line 1275: %global libvirt_daemon_perform_restart() \
       if test %libvirt_daemon_needs_restart %1 \
       then \
          /bin/systemctl try-restart %1.service >/dev/null 2>&1 || : \
       fi \
       %libvirt_daemon_finish_restart %1

Erik Skultety (1):
  libvirt.spec.in: Replace %global with %define

 libvirt.spec.in | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

-- 
2.31.1





More information about the libvir-list mailing list