diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2013-05-15 12:06:26 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-05-16 03:46:45 -0400 |
commit | f66ba560943ae21f5d1e505bad0a3591823b2b37 (patch) | |
tree | 14c03456b2c06ac34c114e3d19bc30ed66d7ece4 /scripts | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) |
package: Makefile: unbreak binrpm-pkg target
Commit 6501320311664e11ad5489fedb17ea1f817c2617 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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/package/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile index 84a406070f6f..a4f31c900fa6 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile | |||
@@ -63,7 +63,7 @@ binrpm-pkg: FORCE | |||
63 | mv -f $(objtree)/.tmp_version $(objtree)/.version | 63 | mv -f $(objtree)/.tmp_version $(objtree)/.version |
64 | 64 | ||
65 | $(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \ | 65 | $(RPM) $(RPMOPTS) --define "_builddir $(objtree)" --target \ |
66 | $(UTS_MACHINE) -bb $< | 66 | $(UTS_MACHINE) -bb $(objtree)/binkernel.spec |
67 | rm binkernel.spec | 67 | rm binkernel.spec |
68 | 68 | ||
69 | # Deb target | 69 | # Deb target |