[libvirt] [PATCH 3/4] spec: Type --with-init-script correctly

Andrea Bolognani abologna at redhat.com
Tue May 3 09:35:38 UTC 2016


Mixing dashes and underscores in configure options apparently
works fine, but it's confusing and just plain ugly.
---
lol autoconf

 libvirt.spec.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 935ca89..4de78c0 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1475,9 +1475,9 @@ rm -rf .git
 %define with_packager_version --with-packager-version="%{release}"
 
 %if %{with_systemd}
-    %define init_scripts --with-init_script=systemd
+    %define init_scripts --with-init-script=systemd
 %else
-    %define init_scripts --with-init_script=redhat
+    %define init_scripts --with-init-script=redhat
 %endif
 
 %if %{with_selinux}
-- 
2.5.5




More information about the libvir-list mailing list