From 9b98b93603408b16d37e5f412b2a89425062e59a Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Thu, 21 Jul 2016 15:49:14 -0400 Subject: [PATCH] Remove the chmod in the building of the xCAT-probe RPM, should instead make sure the permissions for the files are set correctly in the git repo. Using a wildcard in the spec file to create the filelist --- xCAT-probe/xCAT-probe.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xCAT-probe/xCAT-probe.spec b/xCAT-probe/xCAT-probe.spec index 146b08c7a..74d986043 100644 --- a/xCAT-probe/xCAT-probe.spec +++ b/xCAT-probe/xCAT-probe.spec @@ -37,14 +37,8 @@ mkdir -p $RPM_BUILD_ROOT/%{prefix}/bin mkdir -p $RPM_BUILD_ROOT/%{prefix}/probe/ cp xcatprobe $RPM_BUILD_ROOT/%{prefix}/bin -chmod 755 $RPM_BUILD_ROOT/%{prefix}/bin/* - cp -r subcmds $RPM_BUILD_ROOT/%{prefix}/probe/ -chmod 755 $RPM_BUILD_ROOT/%{prefix}/probe/subcmds/* - cp -r lib $RPM_BUILD_ROOT/%{prefix}/probe/ -chmod -R 644 $RPM_BUILD_ROOT/%{prefix}/probe/lib/perl/ -chmod -R 644 $RPM_BUILD_ROOT/%{prefix}/probe/lib/perl/xCAT/ %clean # This step does not happen until *after* the %files packaging below