On Wed, 17 Dec 2014 23:22:45 +0100 (CET) Jan Engelhardt <jengelh@inai.de> wrote:
On Wednesday 2014-12-17 23:01, Stanislav Baiduzhyi wrote:
But that will only protect from installing incompatible versions of devel and lib packages, but not from installing both of them.
[...]If I will have forked lib and devel installed, and there is update for lib and devel in main repository, update will replace both of them.
`zypper up` won't do such replacements that would incur a vendor switch.
Just give the special case repository a higher priority. that should help in the zypper dup case too. but it means all packages coming from this repository will be preferred.
To “survive” past `zypper dup`, you can make a metapackage which is basically empty (you will need a dummy file in it), and otherwise has Require: lines, such as "mylib(myfeature)", the latter of which is what is to be added to your library subpackage.
(Example of all this is jeng-user-packages in http://jftp.inai.de/openSUSE_13.2 for example.)
Soon you wont need meta packages anymore. zypper dup finally learned an useful mode with extra repositories. see: https://bugzilla.suse.com/show_bug.cgi?id=893807 Though one question remains, why is your change only useful for a special community and not the rest of openSUSE? what problem are you trying to solve? with kind regards darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org