[CentOS] rpm building and hyphens in Version tags

Tue Jun 8 07:31:44 UTC 2010
James Hogarth <james.hogarth at gmail.com>

Given that the rpm NVREA bears no relation to the name of the source tarball
(indeed nothing is required in SOURCES to build an rpm) how about just
removing the -pre4 from the archive name when saving it in SOURCES? You can
still put pre4 in the release tag of the tarball. As for the setup macro
tell it not to change into the directory and find the right directory name
via ls... or don't use setup at all and cp tar etc yourself.

James

Sent from Android mobile

On Jun 8, 2010 4:26 AM, "JohnS" <jses27 at gmail.com> wrote:


On Mon, 2010-06-07 at 21:47 -0400, R P Herrold wrote:
> On Tue, 8 Jun 2010, Joseph L. Casale wrote:...
---
Russ, so how would you do it?  There seems to very little info on the
subject and the things you do find on it are very thesarus like.  It
seems in the past I have had to look in the rpm API to find certain
things out.  One can get very confused quickly.

John


_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100608/419481d0/attachment-0005.html>