diff --git a/xCAT-server/xCAT-server.spec b/xCAT-server/xCAT-server.spec index 20b37118d..658f7554b 100644 --- a/xCAT-server/xCAT-server.spec +++ b/xCAT-server/xCAT-server.spec @@ -121,7 +121,6 @@ chmod 644 $RPM_BUILD_ROOT/opt/xcat/xdsh/Context/* set +x cp -r lib/xcat/monitoring/* $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_monitoring chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_monitoring/* -set -x chmod 755 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_monitoring/samples chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_monitoring/samples/* @@ -133,6 +132,7 @@ chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema/* chmod 755 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema/samples chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT_schema/samples/* +set -x cp lib/xcat/shfunctions $RPM_BUILD_ROOT/%{prefix}/lib diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index 847eff1fa..9ec1fe776 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -94,7 +94,9 @@ tar -xf postscripts.tar rm postscripts.tar %endif +set +x chmod 755 $RPM_BUILD_ROOT/install/postscripts/* +set -x rm LICENSE.html mkdir -p postscripts/hostkeys