From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] tools/mkrpm: allow custom rpm package name Date: Wed, 30 Jul 2014 17:34:28 +0200 Message-ID: <20140730153428.GA11138@aepfle.de> References: <1406542747-9732-1-git-send-email-olaf@aepfle.de> <53D8EE46.9040400@eu.citrix.com> <1406727739.10402.21.camel@kazak.uk.xensource.com> <20140730140626.GA17117@aepfle.de> <53D908FB.9030200@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <53D908FB.9030200@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Stefano Stabellini , Ian Jackson , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Jul 30, George Dunlap wrote: > So my recent "make src-tarball" patches I had two build targets: one where > it would make a tarball with a "release-like" name based on "make -C xen > version" (e.g., xen-4.4.1.tar.gz), and another where it would make a tarball > with a "developer-like" version based on "git describe". You might think > about adding an option like that to the rpm / deb make targets as well, so > you don't have to invent your own name / remember what changeset a > particular rpm is based on. Are you saying there should be a 'make distpkg GITREV='? For me the "name info" is in my wrapper script, which sets both --prefix=/some/xen/suffix during configure and the package name during make. The rpm release is just 'date +%s' to make 'rpm -F *.rpm' easier. The changeset info is most likely bogus due to repeated 'git rebase'. Olaf