mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nathan Fredrickson <8nrf@qlink.queensu.ca>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] rpm release number
Date: 04 Jul 2003 17:20:20 -0400	[thread overview]
Message-ID: <1057353620.5390.20.camel@rocky> (raw)

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
  



                 reply	other threads:[~2003-07-04 21:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1057353620.5390.20.camel@rocky \
    --to=8nrf@qlink.queensu.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®