Making an rpm that works on both FC4 and FC5

Axel Liljencrantz liljencrantz at gmail.com
Mon Mar 13 21:21:25 UTC 2006


Hi.

Is it possible to specify that a package should require either
libX11-devel or xorg-devel? There was no mention of  this in the
Maximum RPM book that I could find, and the only condifionals %ifarch
and %ifos are not fine grained enough to differ between os releases
either. It would be convenient to do so, since it would allow one to
use the same spec file for both FC5 and FC4 on packages that require X
to compile.

Thanks

--
Axel




More information about the fedora-extras-list mailing list