How To Install Rpmbuild On Ubuntu
How To Install Rpmbuild On Ubuntu >>> https://shurll.com/2t9PBL
The -b indicates that you want to build the rpm, while the -Bis used to tell rpmbuild to build an RPM binary. The commandabove is going to create a file named bello-0.0.0.tar.bz2 inside the directory you specified for the_topdir. The -baR argument tells rpmbuild to use a realarchitecture as opposed to a virtual one, and to build the binary for an x86_64 system.Finally, the --define '_topdir ${sysupgrade_topdir}/ && _builddir ${sysupgrade_topdir}/rpm/build' argumentdefines the ``topdir'' and ``builddir'' for this SPEC file. This is going totake advantage of the environment variables set by the rpmbuild file:
Name: bello
Version: 0.0.0
Release: 1
Packager: Aahz
License: Public Domain
Group: System Environment/Puppet
Size: 1.3 k
Copyright: Aahz
URL: http://puppetlabs.com/
Note the two binaries that are created. The first one is the one webuilt in the SPEC file. The second one is created in the ``rpmbuild''directory under the ``rpm/build'' directory. This is the one that is beinginstalled. 827ec27edc