mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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-keyczar
|
||||
%else
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: python-devel
|
||||
%else
|
||||
BuildRequires: python2-devel
|
||||
%endif
|
||||
|
||||
Requires: PyYAML
|
||||
Requires: python-paramiko
|
||||
|
|
Loading…
Reference in a new issue