提交 8fee0bb7 编写于 作者: A Andrea Bolognani

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

The convention used throughout the file is to name variables after
the configure option they refer to.
上级 11aba77a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册