Wonderful Info About How To Build A Src Rpm
This is where the fun starts.
How to build a src rpm. The process is mostly automated, and you do not need to compile or apply all. This example uses the tree source code package: You also can extract the files from rpm with rpm2cpio.
Rpm enables you to: # path to top of build area %_topdir /home/you/src/rpm if you have never worked on rpms in this manner, you will need to create a few directories in which to work. Spec file to build the rpm.
2 answers sorted by: Rpmbuild command is part of rpm. 12 what i do, as the root user:
You simply give one or more.spec files or.src.rpm files to mach build: Build, buildroot, rpms, sources, specs and. There are usually specific steps to (re)build packages from src.rpm source packages.
But if the source you need already contains spec file to build the rpm, it's better downloading the source. In order to build a source rpm you need to use rpmbuild command. Rpmbuild is used to build both binary and source software packages.
The root of an rpm build environment tree is the rpmbuild directory, which contains 6 subdirectories: 1 answer sorted by: Or $ mach rebuild foo.src.rpm.
Install, reinstall, remove, upgrade and verify packages with standard package management tools, such as yum or packagekit. A package consists of an. Use a database of installed.
Software to build the package. This example uses the tree source code package: