3.3. Setting up RPM packaging workspace
This section describes how to set up a directory layout that is the RPM packaging workspace by using the rpmdev-setuptree
utility.
Conditions préalables
You installed the
rpmdevtools
package, which provides several utilities for packaging RPMs:dnf install rpmdevtools
# dnf install rpmdevtools
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Procédure
Run the
rpmdev-setuptree
utility:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
The created directories serve the following purposes:
Annuaire | Objectif |
BUILD |
When packages are built, various |
RPMS |
Binary RPMs are created here, in subdirectories for different architectures, for example in subdirectories |
SOURCES |
Here, the packager puts compressed source code archives and patches. The |
SPECS | The packager puts SPEC files here. |
SRPMS |
When |