-Fix 2.1 spec file for xCAT-server

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-06-06 21:40:18 +00:00
parent 636aeffd18
commit 3cb8374522

View File

@ -27,7 +27,7 @@ Provides: xCAT-server = %{version}
xCAT-server provides the core server and configuration management components of xCAT. This package should be installed on your management server
%prep -n xCAT-server
%setup -q
%setup -q -n xCAT-server
%build
%install
rm -rf $RPM_BUILD_ROOT
@ -54,6 +54,7 @@ cp -hpR share/xcat/netboot/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/netboot/
%endif
%ifos linux
pwd
cp -d sbin/* $RPM_BUILD_ROOT/%{prefix}/sbin
chmod 755 $RPM_BUILD_ROOT/%{prefix}/sbin/*
cp -d bin/* $RPM_BUILD_ROOT/%{prefix}/bin