package: Makefile: unbreak binrpm-pkg target
Commit 6501320311
dropped the rpm spec as a
prerequisite for the binrpm-pkg target but forgot to update $< usage,
which causes the rule to break.
This commit fixes that by replacing $< with the spec name.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
f722406faa
commit
f66ba56094
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ binrpm-pkg: FORCE
|
||||||
mv -f $(objtree)/.tmp_version $(objtree)/.version
|
mv -f $(objtree)/.tmp_version $(objtree)/.version
|
||||||
|
|
||||||
$(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \
|
$(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \
|
||||||
$(UTS_MACHINE) -bb $<
|
$(UTS_MACHINE) -bb $(objtree)/binkernel.spec
|
||||||
rm binkernel.spec
|
rm binkernel.spec
|
||||||
|
|
||||||
# Deb target
|
# Deb target
|
||||||
|
|
Loading…
Reference in a new issue