diff --git a/xCAT-client/xCAT-client.spec b/xCAT-client/xCAT-client.spec index b458cb30b..35734b59d 100644 --- a/xCAT-client/xCAT-client.spec +++ b/xCAT-client/xCAT-client.spec @@ -48,7 +48,6 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{prefix}/bin mkdir -p $RPM_BUILD_ROOT/%{prefix}/sbin mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/scripts -mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/rvid mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/man/man1 mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/man/man3 mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/man/man5 @@ -59,8 +58,12 @@ mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/man3 mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/man5 mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/man8 +%ifos linux +mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/xcat/rvid cp share/xcat/rvid/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/rvid/ chmod 755 $RPM_BUILD_ROOT/%{prefix}/share/xcat/rvid/* +%endif + cp bin/* $RPM_BUILD_ROOT/%{prefix}/bin chmod 755 $RPM_BUILD_ROOT/%{prefix}/bin/* cp sbin/* $RPM_BUILD_ROOT/%{prefix}/sbin