[Fedora-packaging] Upstream version strings with a hyphen

Toshio Kuratomi a.badger at gmail.com
Sat Jul 10 05:44:29 UTC 2010


On Sat, Jul 10, 2010 at 10:29:40AM +0530, Siddhesh Poyarekar wrote:
> Hi,
> 
> I'm sorry if this has been asked earlier but I could not find anything
> relevant through searches on the wiki and on Google, which is why I'm
> asking my query here.
> 
> Gource upstream has released a new version as
> gource-0.27-beta1-20100710. This is not accepted by rpmbuild for
> obvious reasons. Is there a standard way to accomodate such
> situations? I was otherwise thinking of defining a %{upstream_version}
> as 0.27-beta-20100710 and the version for the package as
> 0.27.beta.20100710.
> 
This particular release falls under the prerelease version guidelines.  If
you want to include all of the information in the NVR you need to do this:

Version: 0.27
Release: 0.1.beta1.20100710

https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Pre-Release_packages

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/packaging/attachments/20100710/10bfbf43/attachment.bin 


More information about the packaging mailing list