Mailinglist Archive: opensuse-packaging (242 mails)

< Previous Next >
Re: [opensuse-packaging] "Supplements: packageand" documentation?
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Sun, 12 Dec 2010 22:39:12 +0100
  • Message-id: <AANLkTinqbbCgLwynaFQDrpcy6Lg5Pc5iPdibG+paPuAz@xxxxxxxxxxxxxx>
2010/12/11 Cristian Morales Vega <cmorve69@xxxxxxxx>:
2010/12/10 Stephan Kulow <coolo@xxxxxxx>:
Am Freitag, 10. Dezember 2010 schrieb Cristian Morales Vega:
The xine package contains a

"Supplements:    packageand(libpulse0:libxine1)"

All I could find was
http://lists.opensuse.org/zypp-commit/2007-04/msg00133.html

I have been trying to look in the code. But it's big, somehow it
parses packageand(x:y) dependencies without a single packageand string
in the code (but a test case generator), the old SVN repo is not

...because the parsing code is in libsatsolver. So, the list of
special dependencies is:

- "Conflicts: otherproviders(<package>)"
No idea what it is supposed to do...

- "Provides: locale([<package>:]<lang1>[;<langN>...])"
ZYpp recommends the installation if any of the languages specified is
a system language (probably looks at /var/lib/zypp/RequestedLocales).
Optionally a package can be specified, then the supplements will have
as additional condition that the package is installed.

- "Provides: <package>:<file>"
To split a package. No idea about what paper <file> has here... could
it be any string and it would work anyway?

- "Supplements: modalias(<module_alias>)"
To specify the package provides a driver for an specific hardware.

- "Supplements: packageand(<packageA>:<packageB>)"
Self-explanatory.

- "Supplements: filesystem(<string>)"
Not sure what it is supposed to do. But I suppose "string" is a file
path and ZYpp will recommend to install the package if the file
exists, even if it's not in the RPM database. Even less sure about
what's the user case for this feature.


Who wants to fill the holes? Any correction?
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups