From 11fa903ea1303942fbcdc16e9bdcd8e0c388fea9 Mon Sep 17 00:00:00 2001 From: snoweay Date: Tue, 22 Nov 2022 11:44:18 +0000 Subject: [PATCH] spec: Change bin file mode to 755 Because build command shoud be used by normal users. Signed-off-by: snoweay (cherry picked from commit e3aad5ef3ae305f4931bb339a0c9f275d9349d86) --- syscare.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/syscare.spec b/syscare.spec index 8de800b..841807b 100644 --- a/syscare.spec +++ b/syscare.spec @@ -18,7 +18,7 @@ Requires: kpatch-runtime %description SysCare is a system-level hot-fix software that provides single-machine-level and cluster-level security patches and system error hot-fixes for the operating system. -The host can fix the system problem without rebooting. +The host can fix the system problem without rebooting. %package build Summary: Tools for build syscare patch. @@ -41,16 +41,15 @@ make %files %defattr(-,root,root,-) -%dir /usr/libexec/%{name} -%attr(750,root,root) /usr/bin/syscare +%attr(755,root,root) /usr/bin/syscare +%attr(755,root,root) /usr/libexec/%{name}/upatch-tool %files build %defattr(-,root,root,-) %dir /usr/libexec/%{name} -%attr(750,root,root) /usr/libexec/%{name}/upatch-diff -%attr(750,root,root) /usr/libexec/%{name}/upatch-build -%attr(750,root,root) /usr/libexec/%{name}/upatch-tool -%attr(750,root,root) /usr/libexec/%{name}/syscare-build +%attr(755,root,root) /usr/libexec/%{name}/upatch-diff +%attr(755,root,root) /usr/libexec/%{name}/upatch-build +%attr(755,root,root) /usr/libexec/%{name}/syscare-build %changelog * Mon Nov 21 2022 snoweay - 0.1.1-1