Building on RHEL7 or Centos7

Building RPMs The Spec File. We'll begin with discussion of the spec file. Spec files are required to build a package. … Building RPM packages with rpmbuild - Packagecloud Blog Jun 29, 2015 RPM package building guide

Jun 29, 2015

The Spec File. We'll begin with discussion of the spec file. Spec files are required to build a package. …

Obsoletes—This lists packages that are obsoleted by this package. This is a more specific version of the Conflicts field. BuildRoot—This option instructs RPM to place files in a temporary directory during the install step. This is very useful when building packages for a distribution.

Building open source RPM packages on IBM AIX – Build Smart Jun 15, 2017 Building a Package from a Source RPM · VMware Photon OS 3 ``` rpm -i /tmp/sed-4.2.2-2.ph1.src.rpm ``` The above command unpacks the source RPM and places its `.spec` file in your `~/rpmbuild/SPECS` directory. In the next step, the `rpmbuild` tool uses the `.spec` file to build the RPM. Build the RPM, run the following commands with your unprivileged user account. How to Build an RPM