- 2.1. Building a Software Collection Locally
- 2.2. Software Collection Macros
- 2.3. Converting a Conventional Spec File
- 2.4. Using a Software Collection in Your Application
- 2.5. Installing a Software Collection
- 2.6. Listing Installed Software Collections
- 2.7. Software Collection Initscript Support
- 2.8. Software Collection Library Support
- 2.9. Software Collection .pc Files Support
- 2.10. Software Collection manpath Support
- 2.11. Software Collection cronjob Support
- 2.12. Software Collection logrotate Support
- 2.13. Software Collection Lock File Support
- 2.14. Software Collection Configuration Files Support
- 2.15. Software Collection Kernel Module Support
- 2.16. Software Collection SELinux Support
This chapter introduces you to packaging Software Collections.
To build a Software Collection on your system, run the following command:
rpmbuild -ba package.spec --define 'scl name'
The difference between the command shown above and the standard command to build conventional packages (
rpmbuild -bb package.spec) is that you have to append the --define option to the rpmbuild command when building a Software Collection.
The
--define option defines the scl macro, which uses the Software Collection configured in the Software Collection spec file.