fix dependency rules

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=8
This commit is contained in:
Lars Vogdt 2013-04-18 08:57:34 +00:00 committed by Git OBS Bridge
parent 3334dc3cfa
commit 9fbd8ba61c

View File

@ -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
#