[PATCH 2/6] kexec-tools: Use same source in rpm spec and Makefile.in
Ameya Palande
2ameya at gmail.com
Thu Mar 18 16:03:20 EDT 2010
Signed-off-by: Ameya Palande <ameya.palande at nokia.com>
---
Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index cb0faae..3532457 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -202,7 +202,7 @@ $(TARBALL.gz): $(TARBALL)
gzip -c < $^ > $@
RPMDIR=rpm
-rpm: $(TARBALL)
+rpm: $(TARBALL.gz)
$(MKDIR) -p $(RPMDIR)/RPM $(RPMDIR)/SRPM $(RPMDIR)/BUILD \
$(RPMDIR)/SPECS $(RPMDIR)/TMP $(RPMDIR)/SOURCES
unset MAKEFLAGS MAKELEVEL; \
@@ -213,7 +213,7 @@ rpm: $(TARBALL)
--define '_specdir $(RPMDIR)/SPECS' \
--define '_tmppath $(RPMDIR)/TMP' \
--define '_sourcedir $(RPMDIR)/SOURCES' \
- $(TARBALL)
+ $(TARBALL.gz)
$(SPEC): kexec-tools.spec.in Makefile
$(SED) -e 's,^Version: $$,Version: $(PACKAGE_VERSION),' $< > $@
--
1.6.3.3
More information about the kexec
mailing list