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:
parent
18b6372c63
commit
ae943f7e00
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue