Check /etc/redhat-release or the version of redhat-release
--------------------------
Sent from my BlackBerry Wireless Handheld
-----Original Message-----
From: rpm-list-bounces@xxxxxxxxxx
To: rpm-list@xxxxxxxxxx
Sent: Wed Jun 07 18:57:10 2006
Subject: Determining RHEL3 or RHEL4 in a .spec file
Hi,
it is posible to determine the version of RHEL in a rpm .spec file?
I have to build an rpm and do different things if I'm n RHEL3, 4 or
Fedora Core.
Many thanks
Oliver
--
Oliver Schulze L.
<oliver@xxxxxxxxxxxxx>
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list