diff --git a/bacula.spec b/bacula.spec index 5ba501c..51cfdf3 100644 --- a/bacula.spec +++ b/bacula.spec @@ -153,7 +153,7 @@ Requires(preun): systemd Requires(postun): systemd %endif -%if 0%{?rhel} = 5 || 0%{?rhel} = 6 +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service