[users] Conditional requirements?

Andreas Rogge a.rogge at solvention.de
Wed Nov 12 23:13:11 CET 2008


I guess what you're trying to achieve can be done with the folliwing
package conflict:

Conflicts: clamav <= 0.93

Regards,
Andreas

Am Samstag, den 01.11.2008, 23:18 +0100 schrieb Hugo van der Kooij:
> -----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.
> 
> Hugo.
> 
> PS: I hope I explained the question in matter that makes sense to you.
> 
> - --
> hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
> 
> 	A: Yes.
> 	>Q: Are you sure?
> 	>>A: Because it reverses the logical flow of conversation.
> 	>>>Q: Why is top posting frowned upon?
> 
> Bored? Click on http://spamornot.org/ and rate those images.
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iD8DBQFJDNXMBvzDRVjxmYERAlHlAKCRzV1RBzHSEgQ1dH1y08sQ4coNewCgnA2I
> 5isDMuKmfe9nuAQ8TgXZHjo=
> =/f18
> -----END PGP SIGNATURE-----
> _______________________________________________
> users mailing list
> users at lists.rpmforge.net
> http://lists.rpmforge.net/mailman/listinfo/users
-- 
Solvention
Egermannstr. 6-8
53359 Rheinbach

Tel: +49 2226 158179-0
Fax: +49 2226 158179-9

http://www.solvention.de
mailto:info at solvention.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3219 bytes
Desc: not available
URL: <http://lists.repoforge.org/pipermail/users/attachments/20081112/313fa262/attachment-0004.bin>


More information about the users mailing list