Packaging
First, we must create a .spec file to describe the package. The rpmdev-newspec command can provide one from the templates option to get you started. Update the contents according to your application information. This file will contain all the metadata about your software (including its source location, the license, and authors). The spec file also provides the build information required to assemble the package, as well as instructions for installation scripts, and more.
Once the metadata is complete, the package can be built using the rpmbuild command. It is normal that this will not succeed on the first attempt. Read the output and update the .spec file accordingly, then re-run the build command. The finished output will be your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access