2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Merge pull request #1571 from whowutwut/probefix

Remove the chmod calls in the xCAT-probe spec file
This commit is contained in:
Weihua Hu 2016-07-26 14:12:52 +08:00 committed by GitHub
commit 4a41ac4f83

View File

@ -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