spec: Rename %{init_scripts} -> %{with_init_script}

The convention used throughout the file is to name variables after
the configure option they refer to.
This commit is contained in:
Andrea Bolognani 2016-05-03 10:43:23 +02:00
parent 11aba77a99
commit 8fee0bb741

View 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