fixed spec files so that the rpms can be built on Redhat and Fedora

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-08-04 14:25:15 +00:00
parent deda80a245
commit 4073a1f692
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ Provides: perl(xCAT) = %{version}
Provides perl xCAT libraries for core functionality. Required for all xCAT installations.
Includes xCAT::Table, xCAT::NodeRange, among others.
%prep -n perl-xCAT
%prep
%setup -q
%build
# This phase is done in (for RH): /usr/src/redhat/BUILD/perl-xCAT-2.0

View File

@ -22,7 +22,7 @@ Provides: xCAT-client = %{version}
%description
xCAT-client provides the fundamental xCAT commands (chtab, chnode, rpower, etc) helpful in administrating systems at scale, with particular attention paid to large HPC clusters.
%prep -n xCAT-client
%prep
%setup -q
%build
# This phase is done in (for RH): /usr/src/redhat/BUILD/xCAT-client-2.0
@ -152,6 +152,7 @@ ln -sf ../bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/lsdef
ln -sf ../bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/rmdef
ln -sf ../bin/xcatDBcmds $RPM_BUILD_ROOT/%{prefix}/bin/xcat2nim
ln -sf ../bin/xdsh $RPM_BUILD_ROOT/%{prefix}/bin/xdcp
ln -sf ../bin/xcatclientnnr $RPM_BUILD_ROOT/%{prefix}/sbin/mknb
%clean
# This step does not happen until *after* the %files packaging below

View File

@ -1 +0,0 @@
../bin/xcatclientnnr

View File

@ -27,7 +27,7 @@ Provides: xCAT-server = %{epoch}:%{version}
%description
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
%prep
%setup -q -n xCAT-server
%build
%install