Messages in this thread Patch in this message | | | Subject | [PATCH] rpm release number | From | Nathan Fredrickson <> | Date | 04 Jul 2003 17:20:20 -0400 |
| |
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
- 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/
| |