spec: Type --with-init-script correctly

Mixing dashes and underscores in configure options apparently
works fine, but it's confusing and just plain ugly.
This commit is contained in:
Andrea Bolognani 2016-05-03 10:40:35 +02:00
parent 801a0a57ba
commit 11aba77a99

View File

@ -1475,9 +1475,9 @@ rm -rf .git
%define with_packager_version --with-packager-version="%{release}" %define with_packager_version --with-packager-version="%{release}"
%if %{with_systemd} %if %{with_systemd}
%define init_scripts --with-init_script=systemd %define init_scripts --with-init-script=systemd
%else %else
%define init_scripts --with-init_script=redhat %define init_scripts --with-init-script=redhat
%endif %endif
%if %{with_selinux} %if %{with_selinux}