* [PATCH] rpm release number
@ 2003-07-04 21:20 Nathan Fredrickson
0 siblings, 0 replies; only message in thread
From: Nathan Fredrickson @ 2003-07-04 21:20 UTC (permalink / raw)
To: linux-kernel
Hi all,
I needed this patch to the Makefile to get the RPM release number to
correctly increment on successive builds.
--- linux-2.5.74/Makefile 2003-07-04 16:58:51.034025712 -0400
+++ linux/Makefile 2003-07-04 16:41:39.012916768 -0400
@@ -781,7 +781,8 @@
tar -cvz $(RCS_TAR_IGNORE) -f $(KERNELPATH).tar.gz
$(KERNELPATH)/. ; \
rm $(KERNELPATH) ; \
cd $(TOPDIR) ; \
- $(CONFIG_SHELL) $(srctree)/scripts/mkversion > .version ; \
+ $(CONFIG_SHELL) $(srctree)/scripts/mkversion > .tmp_version ; \
+ mv -f .tmp_version .version; \
$(RPM) -ta $(TOPDIR)/../$(KERNELPATH).tar.gz ; \
rm $(TOPDIR)/../$(KERNELPATH).tar.gz
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-04 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-04 21:20 [PATCH] rpm release number Nathan Fredrickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).