Commit 8605031
marcel
Fix rpmtar target to use RELEASE variable instead of parsing spec file
The rpmtar target was extracting the version by grepping the spec file:
grep "^%define version" pkg/rpm/sems.spec | awk '{print $3}'
After the spec file was changed to use %(cat VERSION) RPM macro syntax,
the grep/awk extracted the literal string "%(cat" instead of the actual
version, causing the tarball to be named "sems-%(cat.tar.gz".
Fix by using the existing RELEASE variable from Makefile.defs, which
already correctly reads and processes the VERSION file.1 parent 4b863c7 commit 8605031
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments