]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Rename %{init_scripts} -> %{with_init_script}
authorAndrea Bolognani <abologna@redhat.com>
Tue, 3 May 2016 08:43:23 +0000 (10:43 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 3 May 2016 14:10:43 +0000 (16:10 +0200)
The convention used throughout the file is to name variables after
the configure option they refer to.

libvirt.spec.in

index 4de78c0bc0235318d9f5467bb4090462f5def7a7..f441c51eb52bebe21a36595eb12ba117a24e8d7e 100644 (file)
@@ -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 with_init_script --with-init-script=systemd
 %else
-    %define init_scripts --with-init-script=redhat
+    %define with_init_script --with-init-script=redhat
 %endif
 
 %if %{with_selinux}
@@ -1553,7 +1553,7 @@ rm -f po/stamp-po
            %{?with_loader_nvram} \
            %{?enable_werror} \
            --enable-expensive-tests \
-           %{init_scripts}
+           %{with_init_script}
 make %{?_smp_mflags}
 gzip -9 ChangeLog