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:
Luiz Capitulino 2013-05-15 12:06:26 -04:00 committed by Michal Marek
parent f722406faa
commit f66ba56094

View File

@ -63,7 +63,7 @@ binrpm-pkg: FORCE
mv -f $(objtree)/.tmp_version $(objtree)/.version
$(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \
$(UTS_MACHINE) -bb $<
$(UTS_MACHINE) -bb $(objtree)/binkernel.spec
rm binkernel.spec
# Deb target