Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1.    Go to pbspro directory which you have cloned (git clone https://github.com/PBSPro/pbspro)
2.    Run the autogen.sh script to generate the configure script and Makefile.in files
                ./autogen.sh
                (generates configure script and Makefile.in templates)
3.    Run ./configure
4.    Generate the source tar that will use to build the rpm
                make dist
                make dist generates .tar.gz (pbspro-<pbs_version>.tar.gz) file in the same directory.
5.    Move the pbspro-<pbs_version>.tar.gz file to ~/rpmbuild/SOURCES
6.    Move pbspro/src/pbspro.spec file to  ~/rpmbuild/SPECS
7.    Change directory to ~/rpmbuild/SPECS
8.    Run the below command
                  rpmbuild -ba pbspro.spec         (This command will generate the below rpm packages in ~/rpmbuild/RPMS dirctory)

...

rpmbuild -ba pbspro.spec               (This command generates the below rpm packages in ~/rpmbuild/RPMS dirctory)

...