Skip to content

Commit

Permalink
package: Makefile: unbreak binrpm-pkg target
Browse files Browse the repository at this point in the history
Commit 6501320 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>
  • Loading branch information
Luiz Capitulino authored and Michal Marek committed May 16, 2013
1 parent f722406 commit f66ba56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/package/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f66ba56

Please sign in to comment.