build.sh 272 B

12345678910
  1. #!/bin/bash
  2. cd /src/pbspro
  3. ./autogen.sh
  4. ./configure --prefix=/opt/pbs
  5. make dist
  6. mkdir /root/rpmbuild /root/rpmbuild/SOURCES /root/rpmbuild/SPECS
  7. cp pbspro-*.tar.gz /root/rpmbuild/SOURCES
  8. cp pbspro.spec /root/rpmbuild/SPECS
  9. cd /root/rpmbuild/SPECS
  10. rpmbuild -ba pbspro.spec