[CentOS] rpm building and hyphens in Version tags

Tue Jun 8 03:27:20 UTC 2010
JohnS <jses27 at gmail.com>

On Mon, 2010-06-07 at 21:47 -0400, R P Herrold wrote:
> On Tue, 8 Jun 2010, Joseph L. Casale wrote:
> 
> >> ehh?
> >>
> >> 	Names must not include whitespace and may include a hyphen '-'
> >> 	(unlike version and release tags).
> >>
> >> That is, version and release are UNLIKE name.  name MAY have a
> >> hyphen.  by inference (and as you have seen), version and
> >> release may not.
> 
> > How would you handle this case? As per my last email , I used a
> > -n in the %setup to cd into the right dir but I am left with improperly
> > named and versioned rpms as they don't actually match the source!
> 
> A %{dist} tag, or the variations, have a long and muddy 
> history, not even interesting to the participants of those 
> wars.  My only advice is:
>  	Don't fight city hall here
> 
> -- Russ herrold
---
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