requires can be based on OS

"satish madrage" <[email protected]> Mon, 31 Mar 2008 13:19:36 +0530
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
hi all,

can anybody give me pointers regarding "execution of Requires field in
spec file based on Operating System"
for ex:
if redhat i requires x and y rpm else i require x y z rpm's in same spec file

thanks in advance
satya