Fix for RPM build on opensuse

Opensuse (tested on 12.3) doesn't have package 'python2-devel', just
python-devel. This patch sort this and allow build RPM successfully
on OpenSuse 12.3.
This commit is contained in:
Marcin Praczko 2013-11-21 00:02:48 +00:00
parent 18b6372c63
commit ae943f7e00

View file

@ -26,7 +26,11 @@ Requires: python26-paramiko
Requires: python26-jinja2 Requires: python26-jinja2
Requires: python26-keyczar Requires: python26-keyczar
%else %else
%if 0%{?suse_version}
BuildRequires: python-devel
%else
BuildRequires: python2-devel BuildRequires: python2-devel
%endif
Requires: PyYAML Requires: PyYAML
Requires: python-paramiko Requires: python-paramiko