[libvirt PATCH] spec: Rework comment to avoid macro expansion

Andrea Bolognani abologna at redhat.com
Thu Oct 8 14:35:38 UTC 2020


Without this, rpmbuild fails with

  warning: Macro expanded in comment on line 402: %firewalld_reload macro
  error: line 402: Unknown tag: test -f /usr/bin/firewall-cmd && firewall-cmd --reload --quiet || :

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
Pushed as trivial.

 libvirt.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index c0d84c0e75..29f34f673a 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -399,7 +399,7 @@ BuildRequires: rpcgen
 
 BuildRequires: libtirpc-devel
 
-# Needed for the %firewalld_reload macro
+# Needed for the firewalld_reload macro
 %if %{with_firewalld_zone}
 BuildRequires: firewalld-filesystem
 %endif
-- 
2.26.2




More information about the libvir-list mailing list