[bacula] Fix rhel checks

Simone Caronni slaanesh at fedoraproject.org
Wed Oct 17 07:19:54 UTC 2012


commit 156c8fd88489cc3464d25f71f66ea259d8f12dd4
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Wed Oct 17 09:19:48 2012 +0200

    Fix rhel checks

 bacula.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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


More information about the scm-commits mailing list