From bwalton at artsci.utoronto.ca  Tue Apr 17 17:16:08 2007
From: bwalton at artsci.utoronto.ca (Ben Walton)
Date: Tue, 17 Apr 2007 11:16:08 -0400
Subject: [Rd] rhel5 rpm spec mods
In-Reply-To: <4624DDE5.8000601@cimr.cam.ac.uk>
References: <20070417141531.GA21970@cquest.utoronto.ca>
	<4624DDE5.8000601@cimr.cam.ac.uk>
Message-ID: <20070417151604.GD21970@cquest.utoronto.ca>

The only changes I've made (taken from the fc6.src.rpm) are in the
initial detection of which linux/rpm-based distro it's being built on.
This allows detection of gcc version, pdfviewer, etc.  These changes are
all similar to what happens in the fc line of detection, but weren't
being done for rhel.

Without modification, rpmbuild was looking for XFree86-devel and gcc-g77
which aren't valid packages in rhel5 (haven't looked at 4 as rpms were
already built for that).

I am aware of fedora extras but haven't gotten to the point of using
them in rhel (we do in our fc installs).  Personally, I'd prefer to stay
away from the fc rpm trees when possible as (being a devel distro)
versions can change wildly and bugs are more likely to crop up in
packaging, etc (we've been bitten in the past).  I'm moving away from fc
for production machines for this reason.  I prefer fewer surprises in
production machines when possible.

I'll discuss the required(1) changes with Martyn and submit them if he's
agreeable.

Thanks
-Ben

(1) assuming that they are required and I'm not missing the obvious.
-- 
Ben Walton
Systems Programmer
Office of Planning & IT
Faculty of Arts & Science
University of Toronto
Cell: 416.407.5610

GPG Key Id: 8E89F6D2; Keyserver: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.

Please Note: This e-mail is intended only for the use of the individual or
entity to which it is addressed.  It may contain information that is
privileged, confidential and exempt from disclosure under applicable law.
Any dissemination, disclosure, printing, publishing or use of this email
or the information contained herein without written authorization of the
sender is strictly prohibited.  If you have received this e-mail in
error, please notify the sender immediately and delete. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-devel/attachments/20070417/012f14ff/attachment.bin 


[Rd] rhel5 rpm spec mods
Ben Walton