Package EVR problems in Fedora 2008-06-10

Paul Howarth paul at city-fan.org
Wed Jun 11 15:13:25 UTC 2008


Richard W.M. Jones wrote:
> On Tue, Jun 10, 2008 at 12:24:36PM -0400, buildsys at fedoraproject.org wrote:
>> ocaml-deriving: 
>>   F8-updates > F9-updates (0:0.1.1a-4.fc8 > 0:0.1.1a-3.fc9)
>>
>> ocaml-gsl: 
>>   F8-updates > F9-updates (0:0.6.0-4.fc8 > 0:0.6.0-3.fc9)
>>
>> ocaml-json-static: 
>>   F8-updates > F9-updates (0:0.9.6-4.fc8 > 0:0.9.6-3.fc9)
> [etc etc]
> 
> Is this wrong?
> 
> I'm afraid to say that a lot of packages I have do this.  The reason
> is that I develop and build packages on Rawhide, then backport them to
> F-8.  However when backporting to F-8 I have to bump the release
> number up, typically because I have to add an ExcludeArch: ppc64[*]
> for F-8, but may be because of other packing twiddling too.
> 
> I wasn't aware that there had to be a strict increase in package
> numbering between branches.  (In fact, I wasn't aware that Fedora even
> allowed updating between Fedora releases).

When you do this backporting, add a release bump after the %{?dist} 
instead of before it, e.g.:

ocaml-json-static-0.9.6-3.fc9
ocaml-json-static-0.9.6-3.fc8.1

This maintains the upgrade paths as intended.

Paul.




More information about the devel mailing list