[Fedora-packaging] Upgrade path for Beta releases

Mario Blättermann mario.blaettermann at gmail.com
Sun Nov 24 17:52:47 UTC 2013


Hi all,

currently I'm working on Kbarcode, which is under review:
https://bugzilla.redhat.com/show_bug.cgi?id=1001799
The current version is 3.0.0b3. No problem so far, but the next one will 
probably be the final 3.0.0. This way I don't get a proper upgrade path. Just 
tested with a dummy package versioned as 3.0.0b2 which I tried to update with 
3.0.0:

# rpm -Uvh mario-3.0.0-1.fc19.noarch.rpm
Preparing...                          
################################# [100%]
        package mario-3.0.0b3-1.fc19.noarch (which is newer than 
mario-3.0.0-1.fc19.noarch) is already installed

What to do in this case? I would add

Obsoletes: %{name} = 3.0.0b3

Is this OK or have to do some other fixes? Maybe I could change the package 
version of the current beta release to 2.9.99?

Best Regards,
Mario


More information about the packaging mailing list