On Sat, 2014-03-01 at 15:39 +0100, Reindl Harald wrote:
Am 01.03.2014 15:36, schrieb Praveen Kumar:
> Recently Dan filled bug[0] against html5lib[1] module about new
> upstream release but upstream put major version 0.999 which is lower
> that it's beta version 1.0b3.
>
> Now If I update spec file according to upstream release version should
> yum able to identify that 0.999 > 1.0b3? or should I go ahead and make
> change as Dan suggested to use version 1.0b3-0.999?
>
> [0]
https://bugzilla.redhat.com/show_bug.cgi?id=1070082
> [1]
https://pypi.python.org/pypi/html5lib
that's why Epoch exists
I agree that the best thing to do is update the epoch, but only because
the original versioning wasn't done according to package guidelines.
If you read
https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Pre-Release_pac..., you'll
note that the version for upstream's 1.0b3 should have been 1.0, and the release
should have been something like 0.1.b3. If that had been followed, you could easily have
made upstream's 0.999 keep version 1.0, and set the release to 0.2.999 or something
like that.
However, given that these guidelines weren't followed, I think bumping
epoch, changing the version to 0.999 and the release to 1 is probably
your best bet.
Jonathan