mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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:
parent
11aba77a99
commit
8fee0bb741
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user