How to build an rpm package for PBS Pro 14.1.0 (Locally and on OBS)
Building an rpm Package Locally on CentOs 7
...
4. mkdir BUILD BUILDROOT RPMS SOURCES SPECS SRPMS
Installing Dependencies
Below is the list of dependencies specified in the "pbspro.spec" file:
...
make dist generates .tar.gz (pbspro-14.0.1.<pbs_version>.tar.gz) file in the same directory.
6.move the pbspro-14.0.1.<pbs_version>.tar.gz file to ~/rpmbuild/SOURCES
...
This command will generate the rpm packages namely pbspro-client-14.0.1<pbs_version>-0.x86_64.rpm pbspro-debuginfo-14.0.1<pbs_version>-0.x86_64.rpm pbspro-execution-14.0.1<pbs_version>-0.x86_64.rpm
pbspro-server-14.0.1<pbs_version>-0.x86_64.rpm in ~/rpmbuild/RPMS dirctory.
Note: <pbs_version> specified at pbspro/src/pbspro.spec
...
Building and Testing an rpm Package Locally on CentOS7
...