Product SiteDocumentation Site

22.3. 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.

22.3.1. Build preparation

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