From 9fbd8ba61c5c57ee36576a410dbe9335c16d542e Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 18 Apr 2013 08:57:34 +0000 Subject: [PATCH] fix dependency rules OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=8 --- ansible.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible.spec b/ansible.spec index 4ad6119..978090a 100644 --- a/ansible.spec +++ b/ansible.spec @@ -46,7 +46,7 @@ BuildArch: noarch # # RHEL # -%if 0%{?rhel} <= 5 || 0%{?rhel_version} <= 505 +%if ( 0%{?rhel} && 0%{?rhel} <= 5 ) || ( 0%{?rhel_version} && 0%{?rhel_version} <= 505 ) #BuildRequires: python26-devel BuildRequires: python2-devel Requires: python26-PyYAML @@ -85,7 +85,7 @@ Requires: %{name} = %{version} # # RHEL # -%if 0%{?rhel} <= 5 || 0%{?rhel_version} <= 505 +%if ( 0%{?rhel} && 0%{?rhel} <= 5 ) || ( 0%{?rhel_version} && 0%{?rhel_version} <= 505 ) Requires: python26-keyczar Requires: python26-zmq #