Bug 1395988 - Non-compliant package versioning
Summary: Non-compliant package versioning
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: krb5
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robbie Harwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-17 07:33 UTC by Adam Williamson
Modified: 2016-11-17 14:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-17 14:00:57 UTC
Type: Bug


Attachments (Terms of Use)

Description Adam Williamson 2016-11-17 07:33:16 UTC
I noticed current Rawhide krb5-libs package is versioned as follows:

krb5-libs-1.15-2.fc26.beta1.0.x86_64

this is not at all compliant with the versioning policy:

https://fedoraproject.org/wiki/Packaging:Versioning

It has some examples for pre-releases:

https://fedoraproject.org/wiki/Packaging:Versioning#Examples

basically, this should be something like:

krb5-libs-1.15-0.2.beta1.fc26

you'd bump the '2' digit each time you do a pre-release build, regardless of whether the 'beta1' changes or not. Then when the final 1.15 release comes out, you'd make it:

krb5-libs-1.15-1.fc26

Unfortunately you can't fix this now for the 1.15 series without using an epoch, but I figured it's worth reporting to avoid this happening in future.

Comment 1 Robbie Harwood 2016-11-17 14:00:57 UTC
Alright, as far as I can tell this is the way we've always done it.  I can't immediately figure out why that is, so I've put comments in the git tree and we'll see what (if anything) breaks for 1.16.


Note You need to log in before you can comment on or make changes to this bug.