...
...
Building an rpm Package Locally
...
Prerequisites
1. Source code or src.rpm
...
4. mkdir BUILD BUILDROOT RPMS SOURCES SPECS SRPMS
Installing Dependencies
Below is the list of dependencies specified in the "pbspro.spec" file:
...
We can install the dependencies specified in the "pbspro.spec" file using the command below:
yum-builder pbspro.spec
or
yum install gcc autoconf automake hwloc-devel libX11-devel libXt-devel libedit-devel libical-devel ncurses-devel perl postgresql-devel python-devel tcl-devel tk-devel swig expat-devel openssl-devel
Note: If there is any error in installing any dependency, we can try installing dependencies individually using the command below:
yum install "dependency name"
example : yum install postgresql
...
1. How to build an rpm package for PBS Pro 14.1.0 (Source cloned from github)
...
Note: <pbs_version> specified at pbspro/src/pbspro.spec
...
2. How to build an rpm package for pbspro-<pbs_version>.src.rpm (Downloaded from http://download.opensuse.org/repositories/home:/pbsproci/)
...