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

Andrea Bolognani posted 1 patch 3 years, 6 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20201008143538.179161-1-abologna@redhat.com
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt PATCH] spec: Rework comment to avoid macro expansion
Posted by Andrea Bolognani 3 years, 6 months ago
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@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