Accepting request 831014 from home:stroeder:branches:systemsmanagement

- update to version 2.9.13 with many bug fixes, most notably:
  * A security issue was addressed in the "dnf" module, which previously
    did not check GPG signatures of packages.
  * A bug in the "cron" module was fixed. In some cases prior to this
    fix, the module would inadvertently remove cron entries.
- removed obsolete fix-cron-regression-71207.patch

OBS-URL: https://build.opensuse.org/request/show/831014
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=197
This commit is contained in:
Michael Ströder 2020-09-01 10:09:58 +00:00 committed by Git OBS Bridge
parent b65b6494ef
commit 5d37ee9a23
7 changed files with 15 additions and 18 deletions

View File

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

View File

@ -1 +0,0 @@
7e95ddf719190b068fafc7d7c7877c218054cc5da4f6d9d794faf7bc66dab774 ansible-2.9.12.tar.gz

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

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

View File

@ -0,0 +1 @@
3ab21588992fbfe9de3173aefd63da1267dc12892a60f5cfdc055fe19c549644 ansible-2.9.13.tar.gz

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Sep 1 08:44:17 UTC 2020 - Michael Ströder <michael@stroeder.com>
- update to version 2.9.13 with many bug fixes, most notably:
* A security issue was addressed in the "dnf" module, which previously
did not check GPG signatures of packages.
* A bug in the "cron" module was fixed. In some cases prior to this
fix, the module would inadvertently remove cron entries.
- removed obsolete fix-cron-regression-71207.patch
-------------------------------------------------------------------
Wed Aug 12 12:44:52 UTC 2020 - Michael Ströder <michael@stroeder.com>

View File

@ -220,7 +220,7 @@ Recommends: %{python}-six
Recommends: sshpass
%endif
Name: ansible
Version: 2.9.12
Version: 2.9.13
Release: 0
Summary: SSH-based configuration management, deployment, and task execution system
License: GPL-3.0-or-later
@ -229,7 +229,6 @@ URL: https://ansible.com/
Source: https://releases.ansible.com/ansible/ansible-%{version}.tar.gz
Source1: https://releases.ansible.com/ansible/ansible-%{version}.tar.gz.sha
Source99: ansible-rpmlintrc
Patch1: fix-cron-regression-71207.patch
BuildArch: noarch
# extented documentation
%if 0%{?with_docs}
@ -289,7 +288,6 @@ automatically.
%prep
%setup -q -n ansible-%{version}
%patch1 -p1
for file in .git_keep .travis.yml ; do
find . -name "$file" -delete

View File

@ -1,11 +0,0 @@
diff -ur ansible-2.9.12.orig/lib/ansible/modules/system/cron.py ansible-2.9.12/lib/ansible/modules/system/cron.py
--- ansible-2.9.12.orig/lib/ansible/modules/system/cron.py 2020-08-11 05:22:08.000000000 +0200
+++ ansible-2.9.12/lib/ansible/modules/system/cron.py 2020-08-12 14:42:34.519669206 +0200
@@ -258,6 +258,7 @@
try:
f = open(self.b_cron_file, 'rb')
self.n_existing = to_native(f.read(), errors='surrogate_or_strict')
+ self.lines = self.n_existing.splitlines()
f.close()
except IOError:
# cron file does not exist