]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
package: Makefile: unbreak binrpm-pkg target
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 15 May 2013 16:06:26 +0000 (12:06 -0400)
committerMichal Marek <mmarek@suse.cz>
Thu, 16 May 2013 07:46:45 +0000 (09:46 +0200)
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>
scripts/package/Makefile

index 84a406070f6f2b3f7ca48998bdce1a7d1ad7c3b4..a4f31c900fa6a44ab75d1a4f3916d2bb1075c448 100644 (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