Handling a - in a version number

Paul F. Johnson paul at all-the-johnsons.co.uk
Mon Jan 23 13:24:15 UTC 2006


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?

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.

TTFN

Paul
-- 
"Logic, my dear Zoe, is merely the ability to be wrong with authority" -
Dr Who




More information about the fedora-extras-list mailing list