public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bug in scripts/package/mkspec?
@ 2010-11-18 18:13 Patrick LeBoutillier
  2010-12-02 15:25 ` Michal Marek
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick LeBoutillier @ 2010-11-18 18:13 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I've been building RPMs for the Linux kernel for a while now and only
recently noticed that the RPM Release field is always set to 1.
After a bit of searching I found the offending line in
scripts/package/mkspec. Here is a patch that worked for me, but
perhaps this
could be fixed in better way by someone knowledgeable of the kernel
build process...:


--- ./mkspec.next       2010-11-18 13:08:56.000000000 -0500
+++ mkspec      2010-11-18 13:10:13.000000000 -0500
@@ -29,7 +29,7 @@
 echo "Version: $__KERNELRELEASE"
 # we need to determine the NEXT version number so that uname and
 # rpm -q will agree
-echo "Release: `. $srctree/scripts/mkversion`"
+echo "Release: `cd $srctree && ./scripts/mkversion`"
 echo "License: GPL"
 echo "Group: System Environment/Kernel"
 echo "Vendor: The Linux Community"


Note: Please cc: me on replies as I'm not subscribed to the list.


Thanks,

Patrick

-- 
=====================
Patrick LeBoutillier
Rosemère, Québec, Canada

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-06 15:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 18:13 [PATCH] Bug in scripts/package/mkspec? Patrick LeBoutillier
2010-12-02 15:25 ` Michal Marek
2010-12-02 21:15   ` Patrick LeBoutillier
2011-01-06 12:54     ` Michal Marek
2011-01-06 14:28       ` Patrick LeBoutillier
2011-01-06 15:53         ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox