Product SiteDocumentation Site

Build Sections

After providing information about the package, you need to define the build stages, as described in Chapter 9, Working with Spec Files and Chapter 11, Controlling the Build with rpmbuild.

Build preparation

The build preparation section sets the stage for the build. Usually this section has a %setup command. For example:
%setup -q