Correct the generation of the spec file with a serial number.
This commit is contained in:
parent
f29b128afd
commit
9399421303
1 changed files with 3 additions and 1 deletions
|
@ -171,7 +171,9 @@ dist: spotless perlreq
|
|||
tar: dist
|
||||
tar cvjf ../nasm-`cat version`-`date +%Y%m%d`.tar.bz2 ../`./nasm-dir`
|
||||
|
||||
spec: nasm.spec
|
||||
|
||||
nasm.spec: nasm.spec.in version
|
||||
sed -e s/@@VERSION@@/`cat $(srcdir)/version`/g \
|
||||
-e s/@@ID@@/`$(PERL) $(srcdir)/version.pl < $(srcdir)/version`/g \
|
||||
-e s/@@ID@@/`$(PERL) $(srcdir)/version.pl id < $(srcdir)/version`/g \
|
||||
< nasm.spec.in > nasm.spec
|
||||
|
|
Loading…
Reference in a new issue