mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user