From 7a56ac05778e9660caca0b6bf346e8058ab89b03 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Thu, 5 Oct 2023 12:23:07 +0300 Subject: [PATCH] Added MSVSphere support --- SOURCES/0001-Added-MSVSphere-support.patch | 25 ++++++++++++++++++++++ SPECS/ansible-core.spec | 7 +++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-Added-MSVSphere-support.patch diff --git a/SOURCES/0001-Added-MSVSphere-support.patch b/SOURCES/0001-Added-MSVSphere-support.patch new file mode 100644 index 0000000..b2068f8 --- /dev/null +++ b/SOURCES/0001-Added-MSVSphere-support.patch @@ -0,0 +1,25 @@ +From 8d48431230f5fb03ee8b35386fdb967609267a6e Mon Sep 17 00:00:00 2001 +From: tigro +Date: Mon, 14 Aug 2023 17:40:06 +0300 +Subject: [PATCH] Added MSVSphere support + +--- + lib/ansible/module_utils/facts/system/distribution.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/ansible/module_utils/facts/system/distribution.py b/lib/ansible/module_utils/facts/system/distribution.py +index dcb6e5a..bab748b 100644 +--- a/lib/ansible/module_utils/facts/system/distribution.py ++++ b/lib/ansible/module_utils/facts/system/distribution.py +@@ -513,7 +513,7 @@ class Distribution(object): + 'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS', + 'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba', + 'EulerOS', 'openEuler', 'AlmaLinux', 'Rocky', 'TencentOS', +- 'EuroLinux', 'Kylin Linux Advanced Server'], ++ 'EuroLinux', 'Kylin Linux Advanced Server', 'MSVSphere'], + 'Debian': ['Debian', 'Ubuntu', 'Raspbian', 'Neon', 'KDE neon', + 'Linux Mint', 'SteamOS', 'Devuan', 'Kali', 'Cumulus Linux', + 'Pop!_OS', 'Parrot', 'Pardus GNU/Linux', 'Uos', 'Deepin', 'OSMC'], +-- +2.41.0 + diff --git a/SPECS/ansible-core.spec b/SPECS/ansible-core.spec index 4b6da54..8c71171 100644 --- a/SPECS/ansible-core.spec +++ b/SPECS/ansible-core.spec @@ -28,7 +28,7 @@ Name: ansible-core Summary: SSH-based configuration management, deployment, and task execution system Epoch: 1 Version: 2.14.9 -Release: 1%{?dist} +Release: 1%{?dist}.inferit Group: Development/Libraries License: GPLv3+ @@ -41,6 +41,7 @@ Source3: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{jinja2 Source4: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{markupsafe_version}.tar.gz Patch0: remove-bundled-deps-from-requirements.patch +Patch2: 0001-Added-MSVSphere-support.patch URL: http://ansible.com @@ -189,6 +190,10 @@ strip --strip-unneeded %{vendor_path}/markupsafe/_speedups%{python3_ext_suffix} %changelog +* Thu Oct 05 2023 Sergey Cherevko - 1:2.14.9-1.inferit +- Added MSVSphere support (patch for version 9.2 from Arkady L. Shane has been applied) +- Rebuilt for MSVSphere 9.3 + * Wed Aug 16 2023 Dimitri Savineau - 1:2.14.9-1 - ansible-core 2.14.9 release (rhbz#2232432) - Use docs and examples from ansible-documentation project.