- fix typo

Related: RHEL-16895
This commit is contained in:
Than Ngo 2024-01-25 20:07:21 +01:00
parent 45c5658483
commit 20c4f3e892

View File

@ -45,7 +45,7 @@
Name: %{package_name}
Summary: System Roles to configure RHEL for running SAP NetWeaver- or SAP HANA-based products
Version: 3.6.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL-3.0-or-later
Url: https://github.com/redhat-sap/community.sap_install
Source0: https://github.com/linux-system-roles/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
@ -161,7 +161,7 @@ find . -type f -size 0 -delete
find . -type l -delete
# fix python and bash shebangs
find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!/usr/bin/env python3=' {} +
find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!/usr/bin/python3=' {} +
find -type f \( -iname "*.sh" \) -exec sed -i '1s=^#! */bin/bash=#!/usr/bin/bash=' {} +
%build
@ -262,6 +262,10 @@ popd
%endif
%changelog
* Thu Jan 25 2024 Than Ngo <than@redhat.com> - 3.6.0-3
- fix typo
Related: RHEL-16895
* Thu Jan 25 2024 Than Ngo <than@redhat.com> - 3.6.0-2
- add tests and tools
- fix bash and python shebangs