From 281ba96cdda1289c49878b08914162e28061ae54 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sun, 11 Oct 2015 16:12:47 +0000 Subject: [PATCH] - build again on SLE-11-SP4 by ignoring some dependencies that are not available in the official OBS repository: python-paramiko, python-Jinja2, python-PyYAML, python-pycrypto OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=52 --- ansible.changes | 7 +++++++ ansible.spec | 8 +++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ansible.changes b/ansible.changes index fa174ad..044ef0f 100644 --- a/ansible.changes +++ b/ansible.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Oct 11 16:11:02 UTC 2015 - lars@linux-schulserver.de + +- build again on SLE-11-SP4 by ignoring some dependencies that are + not available in the official OBS repository: python-paramiko, + python-Jinja2, python-PyYAML, python-pycrypto + ------------------------------------------------------------------- Sat Oct 10 12:10:59 UTC 2015 - lars@linux-schulserver.de diff --git a/ansible.spec b/ansible.spec index 4fc5b7f..78147eb 100644 --- a/ansible.spec +++ b/ansible.spec @@ -28,17 +28,19 @@ Url: http://ansible.com/ Source: https://pypi.python.org/packages/source/a/ansible/ansible-%{version}.tar.gz Source99: ansible-rpmlintrc %if 0%{?suse_version} -BuildRequires: python-devel +%if 0%{?suse_version} >= 01130 BuildRequires: python-paramiko Requires: python-paramiko BuildRequires: python-Jinja2 Requires: python-Jinja2 BuildRequires: python-PyYAML Requires: python-PyYAML -BuildRequires: python-setuptools -Requires: python-setuptools BuildRequires: python-pycrypto >= 2.6 Requires: python-pycrypto >= 2.6 +%endif +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python-setuptools Recommends: python-dopy Recommends: python-pywinrm Recommends: sshpass