PATCH: fix make rpm versioning

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 18 2003 - 09:26:44 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test1/Makefile linux-2.6.0-test1-ac2/Makefile
--- linux-2.6.0-test1/Makefile 2003-07-14 14:11:55.000000000 +0100
+++ linux-2.6.0-test1-ac2/Makefile 2003-07-14 14:55:04.000000000 +0100
@@ -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
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:34 EST