Bug 734802

Summary: RFE: Handle '~' in version/release to lower priority in rpmVersionCompare()
Product: [Fedora] Fedora Reporter: Hannes Frederic Sowa <hannes>
Component: rpmAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 825087 (view as bug list) Environment:
Last Closed: 2012-05-07 09:45:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 825087    

Description Hannes Frederic Sowa 2011-08-31 14:14:09 UTC
This seems like a nice to have feature, so I wanted to forward it from rpm.org's trac (currently read-only):

From <http://rpm.org/ticket/56>:
,---
It would be nice when a special handling of '~' would be introduced to mark "negative" version tokens. E.g. so that

| foo-1.0~beta < foo-1.0

holds. This would simplify complicated rulesets which deal with such naming schemes by abusing %release for it. 
`---

Comment 1 Fedora Admin XMLRPC Client 2012-04-13 23:07:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2012-04-13 23:10:40 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Panu Matilainen 2012-05-07 09:45:57 UTC
Support for tilde in version/release got added in rpm-4.10.0-beta1, currently in rawhide. It cannot be (yet) used in Fedora packages though, as the build infrastructure runs on older rpm versions which dont know about it and cannot install packages with tilde in version/release.