Accepting request 501809 from home:elimat:branches:systemsmanagement

- update to 2.3.1.0 (final)
- clean-up of spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/501809
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=86
This commit is contained in:
Michael Ströder 2017-06-07 20:41:17 +00:00 committed by Git OBS Bridge
parent a5d4b85a67
commit 3f7c7f18a2
4 changed files with 32 additions and 32 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5054b7eaeab4eb0a03a69c173cfd55aac256f1ec430cc8d9976b80a252ac544b
size 4146189

3
ansible-2.3.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd4b8f53720fcd0c351156b840fdd15ecfbec22c951b5406ec503de49d40b9f5
size 4263357

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 07 20:51:30 UTC 2017 - matthias.eliasson@gmail.com
- update to 2.3.1.0 (final)
- clean up of spec file with spec-cleaner
-------------------------------------------------------------------
Wed May 10 22:35:24 UTC 2017 - lars@linux-schulserver.de

View File

@ -18,38 +18,40 @@
#
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 || 0%{?rhel} == 5
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Name: ansible
Version: 2.3.0.1
Version: 2.3.1.0
Release: 0
%define realversion 2.3.1.0-0.1.rc1
Summary: Radically simple IT automation
License: GPL-3.0
Group: Development/Languages/Python
Url: http://ansible.com/
Source: https://releases.ansible.com/ansible/ansible-%{realversion}.tar.gz
Source: https://releases.ansible.com/ansible/ansible-%{version}.tar.gz
Source99: ansible-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
%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-pycrypto >= 2.6
Requires: python-pycrypto >= 2.6
%endif
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-setuptools
Recommends: python-dnspython
Recommends: python-dopy
Recommends: python-pywinrm
Recommends: sshpass
Recommends: python-dnspython
%if 0%{?suse_version} >= 01130
BuildRequires: python-Jinja2
BuildRequires: python-PyYAML
BuildRequires: python-paramiko
BuildRequires: python-pycrypto >= 2.6
Requires: python-Jinja2
Requires: python-PyYAML
Requires: python-paramiko
Requires: python-pycrypto >= 2.6
%endif
%endif
# RHEL == 6
%if 0%{?rhel} == 6
Requires: python-crypto2.6
@ -66,15 +68,7 @@ Requires: python-paramiko
Requires: python-setuptools
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 || 0%{?rhel} == 5
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
%description
Ansible is a radically simple IT automation system. It handles
configuration-management, application deployment, cloud provisioning, ad-hoc
task-execution, and multinode orchestration - including trivializing things
@ -89,9 +83,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
mkdir -p %{buildroot}/etc/ansible/
cp examples/hosts %{buildroot}/etc/ansible/
cp examples/ansible.cfg %{buildroot}/etc/ansible/
mkdir -p %{buildroot}%{_sysconfdir}/ansible/
cp examples/hosts %{buildroot}%{_sysconfdir}/ansible/
cp examples/ansible.cfg %{buildroot}%{_sysconfdir}/ansible/
mkdir -p %{buildroot}/%{_mandir}/man1/
cp -v docs/man/man1/*.1 %{buildroot}/%{_mandir}/man1/
mkdir -p %{buildroot}/%{_datadir}/ansible