CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

rpmbuild
11/08/2018 | 122
rpmbuild - Build RPM Package
[SYNOPSIS] rpmbuild OPTION SPEC-FILE/SRPM-FILE
option
-ba Build binary and source packages (after doing the %prep, %build, and %install stages)
-bb Build a binary package (after doing the %prep, %build, and %install stages)
-bs Build just the source package
-bp Executes the "%prep" stage from the spec file. Normally this involves unpacking the sources and applying any patches
-bc Do the "%build" stage from the spec file (after doing the %prep stage). This generally involves the equivalent of a "make"
-bi Do the "%install" stage from the spec file (after doing the %prep and %build stages)