2020-01-21 22:46:54 +00:00
|
|
|
Name: rhel-system-roles-sap
|
2020-07-28 09:21:39 +00:00
|
|
|
Summary: System Roles to configure RHEL for running SAP NetWeaver- or SAP HANA-based products
|
2021-03-30 17:44:13 +00:00
|
|
|
Version: 3.0.1
|
2020-07-28 09:21:39 +00:00
|
|
|
Release: 2%{?dist}
|
2020-01-21 22:46:54 +00:00
|
|
|
License: GPLv3+
|
|
|
|
Url: https://github.com/berndfinger
|
2021-03-30 17:44:13 +00:00
|
|
|
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
|
|
|
|
# patches 50-99 for sap-hana-preconfigure
|
|
|
|
# patches 100-149 for sap-netweaver-preconfigur
|
2020-01-21 22:46:54 +00:00
|
|
|
|
|
|
|
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
|
2020-07-28 09:21:39 +00:00
|
|
|
%setup -q -T -c -n %{name}-%{version} -a 0 -a 1 -a 2
|
2020-01-21 22:46:54 +00:00
|
|
|
|
2020-07-28 09:21:39 +00:00
|
|
|
# remove all SLES stuff
|
2021-03-30 17:44:13 +00:00
|
|
|
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
|
2020-07-28 09:21:39 +00:00
|
|
|
|
|
|
|
# remove all RHEL 6 stuff
|
2021-03-30 17:44:13 +00:00
|
|
|
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
|
2020-07-28 09:21:39 +00:00
|
|
|
|
2020-01-21 22:46:54 +00:00
|
|
|
%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
|
2021-03-30 17:44:13 +00:00
|
|
|
* 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
|
|
|
|
|
2020-07-28 09:21:39 +00:00
|
|
|
* 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
|
|
|
|
|
2020-01-21 22:46:54 +00:00
|
|
|
* 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.
|