2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-24 20:20:33 +00:00

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
This commit is contained in:
Victor Hu
2016-07-21 15:49:14 -04:00
parent aa840eb107
commit 9b98b93603

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