-Fix xCATsn mkrpm script to allow build system to build other architectures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
bd3929a522
commit
97110bca2b
@ -33,6 +33,10 @@ else
|
||||
tar --exclude .svn -czf /usr/src/$pkg/SOURCES/license.tar.gz LICENSE.html
|
||||
cp xcat.conf /usr/src/$pkg/SOURCES
|
||||
rm -f /usr/src/$pkg/SRPMS/xCATsn-$VER*rpm /usr/src/$pkg/RPMS/*/xCATsn-$VER*rpm
|
||||
rpmbuild -ba xCATsn.spec
|
||||
if [ ! -z "$1" ]; then
|
||||
rpmbuild -ba xCAT.spec --target $1
|
||||
else
|
||||
rpmbuild -ba xCAT.spec
|
||||
fi
|
||||
cd -
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user