[opensuse-factory] How to deal with Package absorbed in other Package
Hi everybody, Let me explain my title: I maintain the packages for the saltstack project. One of the packages salt-cloud has been deprecated by upstream. They moved the code into the main package salt. So instead of having: salt-cloud: - binary salt-cloud - url: https://build.opensuse.org/package/show/devel%3Alanguages%3Apython/salt-clou... salt: - binary salt-master - binary salt-minion - binary salt-syndic - binary salt-ssh - url: https://build.opensuse.org/package/show/devel%3Alanguages%3Apython/salt It will become: salt: - binary salt-master - binary salt-minion - binary salt-syndic - binary salt-ssh - binary salt-cloud Now my question is how can keep the upgrade path for the users of salt-cloud in opensuse/suse, With kind regards, Niels Abspoel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le 11/11/2013 18:29, Niels Abspoel a écrit :
Hi everybody,
Let me explain my title: I maintain the packages for the saltstack project. One of the packages salt-cloud has been deprecated by upstream. They moved the code into the main package salt.
So instead of having: salt-cloud: - binary salt-cloud - url: https://build.opensuse.org/package/show/devel%3Alanguages%3Apython/salt-clou...
salt: - binary salt-master - binary salt-minion - binary salt-syndic - binary salt-ssh - url: https://build.opensuse.org/package/show/devel%3Alanguages%3Apython/salt
It will become: salt: - binary salt-master - binary salt-minion - binary salt-syndic - binary salt-ssh - binary salt-cloud
Now my question is how can keep the upgrade path for the users of salt-cloud in opensuse/suse,
With kind regards, Niels Abspoel Just add Provides: salt-cloud = %{version} Obsoletes: salt-cloud < %{version} tags in main package.
Regards. Benjamin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 2013-11-11 18:38, denisart benjamin2 wrote:
Now my question is how can keep the upgrade path for the users of salt-cloud in opensuse/suse,
With kind regards, Niels Abspoel
Just add Provides: salt-cloud = %{version} Obsoletes: salt-cloud < %{version} tags in main package.
There is even a wiki page for that. http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2013-11-11 at 18:29 +0100, Niels Abspoel wrote:
Hi everybody,
Let me explain my title: I maintain the packages for the saltstack project. One of the packages salt-cloud has been deprecated by upstream. They moved the code into the main package salt.
So instead of having: salt-cloud: - binary salt-cloud - url: https://build.opensuse.org/package/show/devel%3Alanguages%3Apython/salt-clou...
salt: - binary salt-master - binary salt-minion - binary salt-syndic - binary salt-ssh - url: https://build.opensuse.org/package/show/devel%3Alanguages%3Apython/salt
It will become: salt: - binary salt-master - binary salt-minion - binary salt-syndic - binary salt-ssh - binary salt-cloud
Now my question is how can keep the upgrade path for the users of salt-cloud in opensuse/suse,
The right answer? 'It depends'. Mainly on the version of 'old' salt-cloud package and new salt package (and thus resulting new salt-cloud package). If salt-cloud (new version) has a higher version than the old package, there is nothing you have to worry about: rpm does only match package updates on their 'binary' package name.. the source of it does not matter at all (in OBS, though, you should ensure to remove / wipe the binaries of the old package, to avoid conflicts). If the new salt-cloud package has a lower version, then the whole thing becomes tricky... let's hope this is not the case. Dominique -- Dimstar / Dominique Leuenberger <dimstar@opensuse.org> -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
denisart benjamin2
-
Dimstar / Dominique Leuenberger
-
Jan Engelhardt
-
Niels Abspoel