143 lines
5.6 KiB
RPMSpec
143 lines
5.6 KiB
RPMSpec
Name: rhel-system-roles-sap
|
|
Summary: System Roles to configure RHEL for running SAP NetWeaver- or SAP HANA-based products
|
|
Version: 3.0.1
|
|
Release: 4%{?dist}.alma
|
|
License: GPLv3+
|
|
Url: https://github.com/berndfinger
|
|
Source0: https://github.com/berndfinger/sap-preconfigure/releases/download/3.0.1/sap-preconfigure.tar.gz
|
|
Source1: https://github.com/berndfinger/sap-hana-preconfigure/releases/download/3.0.1/sap-hana-preconfigure.tar.gz
|
|
Source2: https://github.com/berndfinger/sap-netweaver-preconfigure/releases/download/3.0.1/sap-netweaver-preconfigure.tar.gz
|
|
# patches 0-49 for sap-preconfigure
|
|
Patch0: sap-preconfigure-6169bd8d447ce60012f7fd8a3d664a1bae2b3c0a.patch
|
|
Patch1: sap-preconfigure-2bc922671e92c12d3954c249c51d4281e12d1274.patch
|
|
# patches 50-99 for sap-hana-preconfigure
|
|
Patch50: sap-hana-preconfigure-7ffd72dcbb8cda6e9b12d9d9f23a20866b143d02.patch
|
|
Patch51: sap-hana-preconfigure-3714dbb80889e65fb7152456fe262ab1fcc5e3e5.patch
|
|
Patch52: sap-hana-preconfigure-29003efa866e8f691076023ccf2eede2032173d6.patch
|
|
Patch53: sap-hana-preconfigure-4d55594e2e1cba77a095f146b7498e00949f9678.patch
|
|
# patches 100-149 for sap-netweaver-preconfigur
|
|
|
|
BuildArch: noarch
|
|
Requires: uuidd
|
|
|
|
%description
|
|
Collection of Ansible roles which configures a RHEL system according
|
|
to applicable SAP notes so that any SAP software can be installed.
|
|
|
|
%prep
|
|
%setup -q -T -c -n %{name}-%{version} -a 0 -a 1 -a 2
|
|
pushd sap-preconfigure
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
popd
|
|
pushd sap-hana-preconfigure
|
|
%patch50 -p1
|
|
%patch51 -p1
|
|
%patch52 -p1
|
|
%patch53 -p1
|
|
popd
|
|
|
|
# remove all SLES stuff
|
|
rm -rf sap-hana-preconfigure/tasks/SLES
|
|
rm -rf sap-hana-preconfigure/tasks/SLES15
|
|
rm -rf sap-hana-preconfigure/tasks/sapnote/1275776 # SLES - sapconf, saptune, etc
|
|
rm -rf sap-hana-preconfigure/tasks/sapnote/1944799* # SLES - HANA install and config guidelines
|
|
rm -rf sap-hana-preconfigure/tasks/sapnote/2578899 # SLES 15 - installation
|
|
rm -rf sap-hana-preconfigure/tasks/sapnote/2684254 # SLES 15 - OS settings for HANA
|
|
rm -f sap-hana-preconfigure/vars/SLES_15.yml
|
|
|
|
# remove all RHEL 6 stuff
|
|
rm -f sap-hana-preconfigure/tasks/sapnote/2013638.yml # RHEL 6.5 - OS settings
|
|
rm -f sap-hana-preconfigure/tasks/sapnote/2136965.yml # RHEL 6.6 - OS settings
|
|
rm -f sap-hana-preconfigure/tasks/sapnote/2247020.yml # RHEL 6.7 - OS settings
|
|
rm -f sap-hana-preconfigure/vars/RedHat_6.5.yml
|
|
rm -f sap-hana-preconfigure/vars/RedHat_6.6.yml
|
|
rm -f sap-hana-preconfigure/vars/RedHat_6.7.yml
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles \
|
|
$RPM_BUILD_ROOT%{_pkgdocdir}/sap-hana-preconfigure \
|
|
$RPM_BUILD_ROOT%{_pkgdocdir}/sap-preconfigure \
|
|
$RPM_BUILD_ROOT%{_pkgdocdir}/sap-netweaver-preconfigure
|
|
|
|
# drop zero file
|
|
rm -f */.gitignore sap-hana-preconfigure/tasks/RedHat_6/recommendations.yml
|
|
|
|
cp -pR sap-hana-preconfigure sap-preconfigure sap-netweaver-preconfigure $RPM_BUILD_ROOT%{_datadir}/ansible/roles/
|
|
cp -p sap-hana-preconfigure/{README.md,LICENSE} $RPM_BUILD_ROOT%{_pkgdocdir}/sap-hana-preconfigure/
|
|
cp -p sap-preconfigure/{README.md,LICENSE} $RPM_BUILD_ROOT%{_pkgdocdir}/sap-preconfigure/
|
|
cp -p sap-netweaver-preconfigure/{README.md,LICENSE} $RPM_BUILD_ROOT%{_pkgdocdir}/sap-netweaver-preconfigure/
|
|
|
|
%files
|
|
%dir %{_pkgdocdir}
|
|
%dir %{_pkgdocdir}/sap-preconfigure
|
|
%dir %{_pkgdocdir}/sap-hana-preconfigure
|
|
%dir %{_pkgdocdir}/sap-netweaver-preconfigure
|
|
%dir %{_datadir}/ansible
|
|
%dir %{_datadir}/ansible/roles
|
|
%doc %{_pkgdocdir}/*/README.md
|
|
%license %{_pkgdocdir}/*/LICENSE
|
|
%{_datadir}/ansible/roles/*
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Thu Feb 18 2021 Than Ngo <than@redhat.com> - 3.0.1-2
|
|
- Related: #1891642, update sap-hana-preconfigure 3.0.1 and fixed Urls
|
|
|
|
* Thu Feb 18 2021 Than Ngo <than@redhat.com> - 3.0.1-1
|
|
- Related: #1891642, rebase to 3.0.1
|
|
|
|
* Mon Feb 15 2021 Than Ngo <than@redhat.com> - 3.0.0-2
|
|
- Related: #1891642, more fixes #145, #148, #149, #150 #147
|
|
|
|
* Thu Jan 28 2021 Than Ngo <than@redhat.com> - 3.0.0-1
|
|
- Resolves: #1891638, bug fixes
|
|
- Resolves: #1891642, new features
|
|
|
|
* Mon Sep 21 2020 Than Ngo <than@redhat.com> - 2.0.0-7
|
|
- Related: #1867027, fix #119
|
|
|
|
* Thu Aug 20 2020 Than Ngo <than@redhat.com> - 2.0.0-6
|
|
- Related: #1867027, fix #92
|
|
|
|
* Fri Aug 07 2020 Than Ngo <than@redhat.com> - 2.0.0-5
|
|
- Resolves: #1867027, more fixes for #89, #109, #110, #111, #112, #113, #114, #116
|
|
|
|
* Tue Jul 21 2020 Than Ngo <than@redhat.com> - 2.0.0-4
|
|
- Related: #1844190, more fixes for #84, #85, #86, #88, #98, #104, #105, #107
|
|
|
|
* Fri Jul 03 2020 Than Ngo <than@redhat.com> - 2.0.0-3
|
|
- Related: #1844190, drop 1944799.yml
|
|
|
|
* Mon Jun 29 2020 Than Ngo <than@redhat.com> - 2.0.0-2
|
|
- Related: #1844190, more fixes for #78, #79, #81, #82, #94-#97, #99, #101-#102
|
|
|
|
* Mon Jun 08 2020 Than Ngo <than@redhat.com> - 2.0.0-1
|
|
- Resolves: #1844190, rebase to 2.0.0
|
|
|
|
* Thu May 07 2020 Than Ngo <than@redhat.com> - 1.1.1-2
|
|
- Resolves: #1829495, fix summary
|
|
|
|
* Mon Oct 21 2019 Than Ngo <than@redhat.com> - 1.1.1-1
|
|
- rebase to 1.1.1
|
|
- always use ansible_hostname + ansible_domain instead of ansible_fqdn
|
|
- use {{ ansible_hostname }}.{{ ansible_domain }} instead of {{ ansible_fqdn }}
|
|
- added LC_ALL=C before commands for which the outputs are to be evaluated
|
|
|
|
* Thu Sep 12 2019 Than Ngo <than@redhat.com> - 1.1-1
|
|
- rebase to 1.1
|
|
|
|
* Fri Jun 28 2019 Than Ngo <than@redhat.com> - 1.0-1
|
|
- Initial release.
|