diff --git a/SOURCES/rhel-system-roles-sap-0.7.2-rhel-7.9.patch b/SOURCES/rhel-system-roles-sap-0.7.2-rhel-7.9.patch new file mode 100644 index 0000000..5954579 --- /dev/null +++ b/SOURCES/rhel-system-roles-sap-0.7.2-rhel-7.9.patch @@ -0,0 +1,15 @@ +diff -up rhel-system-roles-sap-0.7.2/sap-hana-preconfigure/vars/RedHat_7.yml.me rhel-system-roles-sap-0.7.2/sap-hana-preconfigure/vars/RedHat_7.yml +--- rhel-system-roles-sap-0.7.2/sap-hana-preconfigure/vars/RedHat_7.yml.me 2020-03-12 11:41:14.837603117 +0100 ++++ rhel-system-roles-sap-0.7.2/sap-hana-preconfigure/vars/RedHat_7.yml 2020-03-12 11:44:53.965590603 +0100 +@@ -75,6 +75,11 @@ sap_hana_preconfigure_min_packages_7.7: + sap_hana_preconfigure_min_packages_7.8: + - [ 'kernel' , '3.10.0-1101.el7' ] + ++## Double check with SAP ++sap_hana_preconfigure_min_packages_7.9: ++ - [ 'kernel' , '3.10.0-1127.5.el7' ] ++ ++ + sap_hana_preconfigure_min_pkgs: "{{ lookup('vars','sap_hana_preconfigure_min_packages_' + ansible_distribution_version|string ) }}" + + sap_hana_preconfigure_packages: diff --git a/SPECS/rhel-system-roles-sap.spec b/SPECS/rhel-system-roles-sap.spec index 408d8ce..3a482f4 100644 --- a/SPECS/rhel-system-roles-sap.spec +++ b/SPECS/rhel-system-roles-sap.spec @@ -1,10 +1,10 @@ -# avoiding version conflict, set version 0.7.1 for rhel7 +# avoiding version conflict, set version 0.7.2 for rhel7 %define upstream_vesion 2019-09-30_18-11-12 Name: rhel-system-roles-sap Summary: System Role prepares a RHEL system for running SAP software for SAP HANA Version: 0.7.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv3+ Url: https://github.com/berndfinger Source0: https://than.fedorapeople.org/rhel/%{name}-%{upstream_vesion}.tar.gz @@ -22,6 +22,9 @@ Patch2: sap-preconfig-b10e9f539263e1a2fd9222d6c52c55c7cb337130.patch # set LC_ALL=C Patch3: sap-hana-preconfigure-38a18c2890aa80c4562d002cc557945bdf9c5e7e.patch +# set sap_hana_preconfigure_min_packages_7.9 for rhel-7.9 +Patch4: rhel-system-roles-sap-0.7.2-rhel-7.9.patch + BuildArch: noarch Requires: uuidd @@ -39,6 +42,7 @@ popd pushd sap-hana-preconfigure %patch3 -p1 popd +%patch4 -p1 %build @@ -68,6 +72,9 @@ cp -p sap-netweaver-preconfigure/{README.md,LICENSE} $RPM_BUILD_ROOT%{_pkgdocdir %{_datadir}/ansible/roles/* %changelog +* Thu Mar 12 2020 Than Ngo - 0.7.2-6 +- add missing sap_hana_preconfigure_min_packages_7.9 + * Wed Oct 16 2019 Than Ngo - 0.7.2-5 - always use ansible_hostname + ansible_domain instead of ansible_fqdn - use {{ ansible_hostname }}.{{ ansible_domain }} instead of {{ ansible_fqdn }}