[libvirt] [PATCH] rpm spec: don't assume %{fedora} exists as a macro
Daniel P. Berrangé
berrange at redhat.com
Mon Jan 21 14:06:37 UTC 2019
Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
Pushed under the "fix the previous build breaker fix" rule :-( Sorry.
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 567721f424..823f0753ae 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -110,7 +110,7 @@
%endif
# Ceph dropping support for 32-bit hosts
-%if 0%{fedora} >= 30
+%if 0%{?fedora} >= 30
%ifarch %{arm} %{ix86}
%define with_storage_rbd 0
%endif
--
2.20.1
More information about the libvir-list
mailing list