Handling a - in a version number

Paul Howarth paul at city-fan.org
Mon Jan 23 13:28:17 UTC 2006


Paul F. Johnson wrote:
> Hi,
> 
> I'm trying to get a spec file together for a package which includes a -
> in the package version (2.0-0.10). When I put that into a spec file,
> rpmbuild complains and exits. Is there a way to get around this?

You need to use something other than a "-", such as a "_"

> I have defined version as 2.0 and added a macro for 0.10 for the source
> code line, but obviously, when that gets untar'd, only the 2.0 is used.

What's the name of the tarball, and what's the name of the directory it 
extracts into?

Paul.




More information about the fedora-extras-list mailing list