On 03-Mar-2009, at 11:39, Greg_Swift@xxxxxxxxxxxxxxxxx wrote:
In Fedora there is a file /etc/rpm/macros.dist that comes with the fedora-release package. It defines (this is for fedora 8, increment accordingly):
Okay, so that's part of it. At least some OSes define this in /etc/rpm.My current concern is trying to port an RPM which references %rhel and %fedora to CentOS 5. The only RHEL boxes I've got at the moment to compare against are RHEL4, which apparently doesn't define %rhel.
The %if 0%?{rhel} ... basically translates so that if %rhel isn't definedyou still have a 0 to use in the equation.
Yeah, I know what the syntax means.. I was just using that as an example of the define I was hoping to find for other distributions.
Thanks Matt
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list