From 41f19b80193e3511a350414e5952562afb432adf Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Mon, 30 Nov 2020 19:26:57 -0500 Subject: [PATCH] Remove exec perms from /etc/rpm/macros.zzz-epel-override-cmake When building, rpm warns and removes the unnecessary exec perms: *** WARNING: ./etc/rpm/macros.zzz-epel-override-cmake is executable but has empty or no shebang, removing executable bit Update the install command to avoid the warning. --- epel-rpm-macros.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epel-rpm-macros.spec b/epel-rpm-macros.spec index 3861867..d20e366 100644 --- a/epel-rpm-macros.spec +++ b/epel-rpm-macros.spec @@ -70,7 +70,7 @@ install -Dpm 755 %{SOURCE22} \ %{buildroot}%{_rpmconfigdir}/cmake-build install -Dpm 755 %{SOURCE23} \ %{buildroot}%{_rpmconfigdir}/cmake-install -install -Dpm 755 %{SOURCE24} \ +install -Dpm 644 %{SOURCE24} \ %{buildroot}/etc/rpm/macros.zzz-epel-override-cmake @@ -87,6 +87,7 @@ install -Dpm 755 %{SOURCE24} \ %changelog * Sat May 01 2021 Todd Zullinger - 8-20 - Backport %%gpgverify API simplification +- Remove exec perms from /etc/rpm/macros.zzz-epel-override-cmake * Tue Dec 22 2020 Miro HronĨok - 8-19 - Define %%python_disable_dependency_generator