-
Notifications
You must be signed in to change notification settings - Fork 24
Build Process
Florian Festi edited this page May 14, 2020
·
2 revisions
- Unpack srpm/tar (optional)
-
Parse spec - see also build/parse*.c
- If buildarch detected parse spec multiple times - once for each arch with
_target_cpu
macro set - Build will iterate over all the spec variants and build multiple versions
- If buildarch detected parse spec multiple times - once for each arch with
- Check static build requires
- Execute build scripts (see doScript()
- %prep
- %generate_buildrequires if present
- re-check build requires - stop build on errors
- %build
- %install
- %check - if present
- Process files
- Turn %files lines into actual files (evaluate globs)
- Read from -f param
- Run file classifiers
- Generate automatic dependencies
- Check packaged files against install root
- Turn %files lines into actual files (evaluate globs)
- Create packages
- %clean
- Clean up