On Nov 1, 2008, at 6:18 PM, Hugo van der Kooij wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Is it possible to name conditional requirements in a spec file?

That is: I would like to specify that something does require clamav 0.94
or above when someone wants to use clamav. But the user should not be
required to install clamav.

But in case the user has clamav 0.93 or older it should considere the
requirement failed.


You are looking for Suggests: or Supplements: (as implemented in SuSE).

Unfortunately, there's no consensus on how to add to *.rpm, and
there's Yet Another implementation pending that was missed in rpm.org rpm-4.6.0 but
may occur in rpm-4.8.0. Not gonna hold my breath ...

FWIW, rpm-4.4.3 and later has had Suggests: for years, noone uses.

73 de Jeff
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to