Mailinglist Archive: opensuse-buildservice (46 mails)

< Previous Next >
[opensuse-buildservice] Dependency resolution for rpm packages with same name
Hello,

Is it possible to have two packages with same name and different versions in
single rpm repository of OBS project?

Currently I have:
- package pkg-old with subpackage libdep-1-1.1.rpm providing libdep.so.1
- package pkg-new with subpackage libdep-2-1.1.rpm providing libdep.so.2

Non-suffixed libdep.so is not provided at all.

When I try to use libdep for different apps, applications using libdep.so.1 are
fine, but for ones requiring libdep.so.2 OBS reports 'nothing provides
libdep.so.2', though I can see this tag in 'Provides' list for package in
web-interface.

Moreover that: when I try to add synthetic rpm tag using 'Provides:', this tag
is generated successfully, but does not help to resolve the situation.

As far as I understand, the repository is sorted in alphanumeric order and only
first libdep-1-1.1.rpm is processed when dependency tree is constructed.

The RPM itself is capable of distinguishing these packages, so it's just OBS
internal thing. Is this a bug or planned behavior?

Thank you,
Slava Barinov.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups