|
|
|
@ -26,10 +26,10 @@
|
|
|
|
|
# collection_version has to be increased by every rebuild
|
|
|
|
|
# otherwise, it cannot be uploaded to Automation Hub and Galaxy
|
|
|
|
|
# due to version conflict
|
|
|
|
|
%define collection_version 1.2.1
|
|
|
|
|
%define collection_version 1.2.3
|
|
|
|
|
|
|
|
|
|
%global mainid e2a233f5a0cb68363798bf014b16552cca681bd0
|
|
|
|
|
%global commit_id_sap_install f0deb287aaa0fb7d992b95a04b14e263b6690c23
|
|
|
|
|
%global commit_id_sap_install 60f5f40497d54c46b0bd3f79ef1fef4ada148119
|
|
|
|
|
%global rolename1 sap_general_preconfigure
|
|
|
|
|
%global rolename2 sap_hana_preconfigure
|
|
|
|
|
%global rolename3 sap_netweaver_preconfigure
|
|
|
|
@ -53,12 +53,12 @@
|
|
|
|
|
|
|
|
|
|
Name: %{package_name}
|
|
|
|
|
Summary: System Roles to configure RHEL for running SAP NetWeaver- or SAP HANA-based products
|
|
|
|
|
Version: 3.4.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Url: https://github.com/berndfinger/community.sap_install
|
|
|
|
|
Version: 3.5.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
|
Url: https://github.com/sap-linuxlab/community.sap_install
|
|
|
|
|
Source0: https://github.com/linux-system-roles/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
|
|
|
|
|
Source1: https://github.com/berndfinger/%{github_repo_sap_install}/archive/%{commit_id_sap_install}/%{github_repo_sap_install}-%{commit_id_sap_install}.tar.gz
|
|
|
|
|
Source1: https://github.com/sap-linuxlab/%{github_repo_sap_install}/archive/%{commit_id_sap_install}/%{github_repo_sap_install}-%{commit_id_sap_install}.tar.gz
|
|
|
|
|
# files/README.md, files/roles/sap_swpm/README.md from https://gitlab.cee.redhat.com/sap-linuxlab/prepare-redhat.sap_install
|
|
|
|
|
Source2: prepare-redhat.sap_install-main.tar.bz2
|
|
|
|
|
Patch1: community.sap_install-shebang.patch
|
|
|
|
@ -135,13 +135,16 @@ sed -i -e "s|^namespace: .*|namespace: %{collection_namespace}|" galaxy.yml
|
|
|
|
|
sed -i -e "s|^version: .*|version: %{collection_version}|" galaxy.yml
|
|
|
|
|
|
|
|
|
|
# update README.md and roles/sap_swpm/README.md
|
|
|
|
|
cp prepare-redhat.sap_install-main/README.md %{github_repo_sap_install}-%{commit_id_sap_install}/
|
|
|
|
|
cp prepare-redhat.sap_install-main/files/README.md %{github_repo_sap_install}-%{commit_id_sap_install}/
|
|
|
|
|
cp prepare-redhat.sap_install-main/files/roles/sap_swpm/README.md %{github_repo_sap_install}-%{commit_id_sap_install}/roles/sap_swpm/README.md
|
|
|
|
|
|
|
|
|
|
# remove roles/sap_swpm/requirements.yml
|
|
|
|
|
rm -f %{github_repo_sap_install}-%{commit_id_sap_install}/roles/sap_swpm/requirements.yml
|
|
|
|
|
|
|
|
|
|
pushd %{github_repo_sap_install}-%{commit_id_sap_install}/
|
|
|
|
|
# workaround for md2html error
|
|
|
|
|
sed -i -e "s|for POWER ||g" roles/sap_hana_preconfigure/README.md
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch -P1 -p1
|
|
|
|
|
|
|
|
|
|
# modify collection-requirements.yml, fedora.linux_system_roles -> redhat.rhel_system_roles
|
|
|
|
|
for r in %{rolenames} ; do
|
|
|
|
@ -200,6 +203,8 @@ LANG=en_US.utf-8 LC_ALL=en_US.utf-8 python3 lsr_role2collection.py --role "$role
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
cp -p galaxy.yml .collections/ansible_collections/%{collection_namespace}/%{collection_name}
|
|
|
|
|
# update README.md
|
|
|
|
|
cp %{github_repo_sap_install}-%{commit_id_sap_install}/README.md .collections/ansible_collections/%{collection_namespace}/%{collection_name}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles \
|
|
|
|
@ -256,81 +261,125 @@ popd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu May 04 2023 Than Ngo <than@redhat.com> - 3.5.0-2
|
|
|
|
|
- Related: #2185038, update README.md files
|
|
|
|
|
|
|
|
|
|
* Tue May 02 2023 Than Ngo <than@redhat.com> - 3.5.0-1
|
|
|
|
|
- update README, drop requirements-sap_swpm.yml
|
|
|
|
|
- migrate to SPDC license
|
|
|
|
|
- convert patch macro use to the most compatible syntax
|
|
|
|
|
- rebase sap roles to version 1.2.3
|
|
|
|
|
Resolves: #2185038
|
|
|
|
|
|
|
|
|
|
* Mon Jan 30 2023 Than Ngo <than@redhat.com> - 3.4.0-3
|
|
|
|
|
- Related: #2155876, rebase sap roles to version 1.2.1
|
|
|
|
|
- Related: #2155870, rebase sap roles to version 1.2.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Than Ngo <than@redhat.com> - 3.4.0-2
|
|
|
|
|
- Related: #2155876, compat-sap-c++-10 is not available for RHEL 8.2 and earlier on hardware platform s390x
|
|
|
|
|
- compat-sap-c++-10 is not available for RHEL 8.2 and earlier on hardware platform s390x
|
|
|
|
|
Related: #2155870
|
|
|
|
|
|
|
|
|
|
* Wed Jan 11 2023 Than Ngo <than@redhat.com> - 3.4.0-1
|
|
|
|
|
- Resolves: #2155876, rebase sap roles to version 1.2.0
|
|
|
|
|
* Tue Jan 10 2023 Than Ngo <than@redhat.com> - 3.4.0-1
|
|
|
|
|
- Resolves: #2155870, rebase to 1.2.0 upstream version
|
|
|
|
|
|
|
|
|
|
* Tue Nov 22 2022 Than Ngo <than@redhat.com> - 3.3.0-4
|
|
|
|
|
- Resolves: #2142957, drop deprecated paramater for Ansible 2.14
|
|
|
|
|
* Mon Nov 28 2022 Than Ngo <than@redhat.com> - 3.3.0-5
|
|
|
|
|
- Related: #2143280, add missing repo vars for rhel-9.x
|
|
|
|
|
|
|
|
|
|
* Fri Jul 15 2022 Than Ngo <than@redhat.com> - 3.3.0-3
|
|
|
|
|
- update galaxy.yml and README.md and url
|
|
|
|
|
Related: #2103633
|
|
|
|
|
* Fri Nov 25 2022 Than Ngo <than@redhat.com> - 3.3.0-4
|
|
|
|
|
- Resolves: #2143280, drop deprecated paramater for Ansible 2.14
|
|
|
|
|
|
|
|
|
|
* Thu Jul 14 2022 Than Ngo <than@redhat.com> - 3.3.0-3
|
|
|
|
|
- more fixes, update README.md
|
|
|
|
|
Related: #2101373
|
|
|
|
|
|
|
|
|
|
* Tue Jul 12 2022 Than Ngo <than@redhat.com> - 3.3.0-2
|
|
|
|
|
- make the role Ansible 2.13 compliant
|
|
|
|
|
- get rid of all the new ansible-lint 6.3.0 errors for preconfigure and sap_hana_install roles
|
|
|
|
|
Resolves: #2103633
|
|
|
|
|
Resolves: #2101373
|
|
|
|
|
|
|
|
|
|
* Mon Jul 04 2022 Than Ngo <than@redhat.com> - 3.3.0-1
|
|
|
|
|
- Resolves: #2103633, include roles for setting up a two-node SAP HANA pacemaker cluster
|
|
|
|
|
- Resolves: #2101373, include roles for setting up a two-node SAP HANA pacemaker cluster
|
|
|
|
|
|
|
|
|
|
* Thu Jun 09 2022 Than Ngo <than@redhat.com> - 3.2.0-3
|
|
|
|
|
- sap_hana_preconfigure: Add vars for RHEL 9.1 managed nodes
|
|
|
|
|
- sap_general_preconfigure: fix variable inclusion for RHEL minor releases
|
|
|
|
|
Related: #2063050
|
|
|
|
|
* Wed Jun 08 2022 Than Ngo <than@redhat.com> - 3.2.0-5
|
|
|
|
|
- increase release
|
|
|
|
|
Related: #2065407
|
|
|
|
|
|
|
|
|
|
* Wed Jun 08 2022 Than Ngo <than@redhat.com> - 3.2.0-2
|
|
|
|
|
- sap_general_preconfigure: do not attempt to enable HANA repos for s390x
|
|
|
|
|
* Wed Jun 08 2022 Than Ngo <than@redhat.com> - 3.2.0-4
|
|
|
|
|
- sap_hana_preconfigure: using wrong variable name
|
|
|
|
|
- sap_hana_preconfigure: Fix issue sap-linuxlab#154
|
|
|
|
|
Related: #2063050
|
|
|
|
|
- do not attempt to enable HANA repos for s390x
|
|
|
|
|
- sap_general_preconfigure: fix variable inclusion for RHEL minor releases
|
|
|
|
|
- sap_hana_preconfigure: Add vars for RHEL 9.1 managed nodes
|
|
|
|
|
- sap_hana_preconfigure: Fix issue #154
|
|
|
|
|
Related: #2065407
|
|
|
|
|
|
|
|
|
|
* Mon Mar 21 2022 Than Ngo <than@redhat.com> - 3.2.0-1
|
|
|
|
|
- Resolves: #2063050, rebase to new upstream org sap-linuxlab
|
|
|
|
|
* Sun Mar 13 2022 Than Ngo <than@redhat.com> - 3.2.0-3
|
|
|
|
|
- Resolves: #2065407, new rebase
|
|
|
|
|
|
|
|
|
|
* Fri Dec 03 2021 Than Ngo <than@redhat.com> - 3.1.1-10
|
|
|
|
|
- Related: #2016858, increase release to avoid update conflict
|
|
|
|
|
* Tue Feb 22 2022 Than Ngo <than@redhat.com> - 3.2.0-2
|
|
|
|
|
- Related: #2047282, new rebase, fixed collection basename
|
|
|
|
|
|
|
|
|
|
* Fri Dec 03 2021 Than Ngo <than@redhat.com> - 3.1.1-8
|
|
|
|
|
- Related: #2016858, rebase
|
|
|
|
|
* Mon Jan 31 2022 Than Ngo <than@redhat.com> - 3.2.0-1
|
|
|
|
|
- Resolves: #2047282, Rebase to new upstream org sap-linuxlab
|
|
|
|
|
|
|
|
|
|
* Tue Nov 16 2021 Than Ngo <than@redhat.com> - 3.1.1-7
|
|
|
|
|
- Resolves: #2016858, ansible-lint cleanup
|
|
|
|
|
* Fri Dec 03 2021 Than Ngo <than@redhat.com> - 3.1.1-15
|
|
|
|
|
- Related: #2021579, ansible-lint cleanup
|
|
|
|
|
|
|
|
|
|
* Wed Sep 08 2021 Than Ngo <than@redhat.com> - 3.1.1-6
|
|
|
|
|
- set min kernel version for RHEL 8.4 x86_64
|
|
|
|
|
* Tue Nov 16 2021 Than Ngo <than@redhat.com> - 3.1.1-14
|
|
|
|
|
- Resolves: #2021579, ansible-lint cleanup
|
|
|
|
|
|
|
|
|
|
* Fri Oct 15 2021 Than Ngo <than@redhat.com> - 3.1.1-13
|
|
|
|
|
- Fix the version of the collection tar file
|
|
|
|
|
|
|
|
|
|
* Fri Oct 15 2021 Than Ngo <than@redhat.com> - 3.1.1-12
|
|
|
|
|
- Resolves: #2003630, Pepare the roles for ansible-core 2.11: Only use ansible.core modules
|
|
|
|
|
|
|
|
|
|
* Wed Sep 01 2021 Than Ngo <than@redhat.com> - 3.1.1-11
|
|
|
|
|
- fix yum group install errors on RHEL 7
|
|
|
|
|
- use grubby for setting tsx=on
|
|
|
|
|
- add tsx=on to the kernel command line unconditionally
|
|
|
|
|
- set min kernel version for RHEL 8.4 x86_64
|
|
|
|
|
|
|
|
|
|
* Wed Sep 01 2021 Than Ngo <than@redhat.com> - 3.1.1-5
|
|
|
|
|
- Related: #1928398, fix yum group install errors on RHEL 7
|
|
|
|
|
* Fri Aug 20 2021 Than Ngo <than@redhat.com> - 3.1.1-10
|
|
|
|
|
- Related: #1977195, fix #149, #177, #193, #194
|
|
|
|
|
|
|
|
|
|
* Fri Aug 20 2021 Than Ngo <than@redhat.com> - 3.1.1-4
|
|
|
|
|
- Related: #1928398, fix #149, #177, #193, #194
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.1-9
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Mon Jul 12 2021 Than Ngo <than@redhat.com> - 3.1.1-3
|
|
|
|
|
- add missing __sap_preconfigure_envgroups for RHEL 7.x
|
|
|
|
|
- add __sap_hana_preconfigure_req_repos variables for RHEL 8.5 and later
|
|
|
|
|
Related: #1928398
|
|
|
|
|
* Fri Jul 16 2021 Than Ngo <than@redhat.com> - 3.1.1-8
|
|
|
|
|
- Related: #1977195, add missing vars/RedHat_9.yml in sap-netweaver-preconfigure
|
|
|
|
|
|
|
|
|
|
* Thu Jul 01 2021 Than Ngo <than@redhat.com> - 3.1.1-2
|
|
|
|
|
- Related: #1928398, add missing changelogs
|
|
|
|
|
* Tue Jul 13 2021 Than Ngo <than@redhat.com> - 3.1.1-7
|
|
|
|
|
- Related: #1977195, add missing __sap_preconfigure_envgroups for RHEL 7.x and
|
|
|
|
|
missing __sap_hana_preconfigure_req_repos variables for RHEL 8.5 and later
|
|
|
|
|
|
|
|
|
|
* Tue Jun 29 2021 Than Ngo <than@redhat.com> - 3.1.1-1
|
|
|
|
|
- Resolves: #1928398, rebase to 3.1.1 for Ansible Collections
|
|
|
|
|
* Tue Jun 29 2021 Than Ngo <than@redhat.com> - 3.1.1-6
|
|
|
|
|
- Resolves: #1977195, make RHEL system roles for SAP RHEL9 compatible
|
|
|
|
|
|
|
|
|
|
* Fri Mar 05 2021 Than Ngo <than@redhat.com> - 3.0.1-4
|
|
|
|
|
- fixed issue #130 in sap-preconfigure
|
|
|
|
|
- fixed typos in README.md in sap_hana_preconfigure
|
|
|
|
|
- added detailed explanations for sap_hana_preconfigure_kernel_parameters_ppc64le in README.md
|
|
|
|
|
- fixed issue #170 in sap_hana_preconfigure
|
|
|
|
|
Related: #1891642
|
|
|
|
|
* Mon Jun 28 2021 Than Ngo <than@redhat.com> - 3.1.1-5
|
|
|
|
|
- updated tarball, galaxy.yml, README.md
|
|
|
|
|
|
|
|
|
|
* Mon Jun 07 2021 Than Ngo <than@redhat.com> - 3.1.1-4
|
|
|
|
|
- update README.md
|
|
|
|
|
- Adding the -collection-artifact subpackage, enabled using
|
|
|
|
|
"--with collection_artifact". It is used for importing to
|
|
|
|
|
ansible galaxy/automation hub.
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Than Ngo <than@redhat.com> - 3.1.1-3
|
|
|
|
|
- convert roles to FQCN in the README files
|
|
|
|
|
|
|
|
|
|
* Thu May 20 2021 Than Ngo <than@redhat.com> - 3.1.1-2
|
|
|
|
|
- rename dashes by underscores and drop sap-
|
|
|
|
|
|
|
|
|
|
* Tue May 18 2021 Than Ngo <than@redhat.com> - 3.1.1-1
|
|
|
|
|
- rebase
|
|
|
|
|
|
|
|
|
|
* Wed Apr 14 2021 Than Ngo <than@redhat.com> - 3.1.0-3
|
|
|
|
|
- bz#1928398, rebuilt against new python-ruamel-yaml-0.15.100 for conversion problem
|
|
|
|
|
|
|
|
|
|
* Mon Mar 22 2021 Than Ngo <than@redhat.com> - 3.1.0-2
|
|
|
|
|
- rebase
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Than Ngo <than@redhat.com> - 3.1.0-1
|
|
|
|
|
- added support Transfer SAP roles into collection format
|
|
|
|
|
|
|
|
|
|
* Wed Feb 24 2021 Than Ngo <than@redhat.com> - 3.0.1-3
|
|
|
|
|
- Related: #1891642, fixed issue #125 in sap-preconfigure and #163 and #164 in sap-hana-preconfigure
|
|
|
|
@ -348,6 +397,9 @@ Related: #2063050
|
|
|
|
|
- Resolves: #1891638, bug fixes
|
|
|
|
|
- Resolves: #1891642, new features
|
|
|
|
|
|
|
|
|
|
* Tue Jan 12 2021 Than Ngo <than@redhat.com> - 2.0.0-8
|
|
|
|
|
- RHEL 9.0.0 Alpha build
|
|
|
|
|
|
|
|
|
|
* Mon Sep 21 2020 Than Ngo <than@redhat.com> - 2.0.0-7
|
|
|
|
|
- Related: #1867027, fix #119
|
|
|
|
|
|
|
|
|
|