[torquedev] [Bug 66] merge debian and ubuntu build changes into TORQUE

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Wed Jun 30 16:36:31 MDT 2010


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=66

--- Comment #2 from Michael Jennings <mej at lbl.gov> 2010-06-30 16:36:31 MDT ---
Created an attachment (id=36)
 --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=36)
Sample torque spec file

(In reply to comment #1)
> The torque.spec changes are being rejected. We feel that source builds should
> be n /usr/local by default.

I don't see the patch attached to this bug, but assuming it modifies
torque.spec to install in FHS-compliant paths (e.g., /usr), this is absolutely
the correct thing to do.  RPM's should NEVER install to /usr/local.  For source
builds (./configure && make install), you're absolutely right, but building an
RPM isn't a source build.  You're integrating with the system-level package
manager.

So again, I haven't seen the patch, but having the spec file use %configure or
./configure --prefix=%{_prefix} is the correct way to create RPM's.

For reference, I'm including my torque spec file which packages correctly
according to established best practices.  RPM's built with this spec will
properly go into /usr, but manual source builds will still use /usr/local.

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list