Commit a30c562
build: Fix RPM spec file macro recursion error
- Add conditional default version definition to prevent circular macro reference
- The Version tag was set to %{version} which created infinite recursion
- Now uses %{!?version:%define version 5.1.0} to provide a default
- This allows rpmbuild to override with --define "version X.Y.Z" from CI
- Tested with rpm --define "version 5.1.1.dev1" -q --specfile
Co-authored-by: alvarolopez <[email protected]>1 parent 735b8d2 commit a30c562
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments