From c64c934540d0458d806b297ff4e8ebac4b1b33ec Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Fri, 18 Mar 2022 17:26:03 +0800 Subject: [PATCH] Remove require python-keyczar and modify require crypto to cryptography ansible removed keyczar after 2.3 and migrated to use cryptography instead of crypto. --- ansible.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ansible.spec b/ansible.spec index 73d21f5..2b0afc7 100644 --- a/ansible.spec +++ b/ansible.spec @@ -11,7 +11,7 @@ Name: ansible Summary: SSH-based configuration management, deployment, and task execution system Version: 2.9.27 -Release: 1 +Release: 2 License: Python-2.0 and MIT and GPL+ Url: http://ansible.com Source0: https://releases.ansible.com/ansible/%{name}-%{version}.tar.gz @@ -20,7 +20,7 @@ BuildArch: noarch Provides: ansible-fireball = %{version}-%{release} Obsoletes: ansible-fireball < 1.2.4 BuildRequires: python3-jinja2 python3-devel python3-packaging python3-pyyaml -Requires: python3-PyYAML python3-crypto python3-paramiko python3-keyczar +Requires: python3-PyYAML python3-cryptography python3-paramiko Requires: python3-setuptools python3-six sshpass python3-httplib2 Requires: python3-jmespath python3-jinja2 Recommends: %{name}-help = %{version}-%{release} @@ -31,7 +31,7 @@ Recommends: %{name}-help = %{version}-%{release} Provides: ansible-python3 = %{version}-%{release} Obsoletes: ansible-python3 < %{version}-%{release} BuildRequires: python3-devel python3-setuptools -BuildRequires: python3-PyYAML python3-paramiko python3-crypto python3-packaging +BuildRequires: python3-PyYAML python3-paramiko python3-cryptography python3-packaging BuildRequires: python3-pexpect python3-winrm BuildRequires: git-core %if %with_docs @@ -116,6 +116,9 @@ cp -pr docs/docsite/rst . %endif %changelog +* Fri Mar 18 2022 huangtianhua - 2.9.27-2 +- Remove require python-keyczar and modify require crypto to cryptography + * Tue Mar 01 2022 wangkai - 2.9.27-1 - Hostname module support openEuler -- Gitee