[torqueusers] spec file bugs

Garrick Staples garrick at usc.edu
Thu Dec 10 12:28:00 MST 2009


On Thu, Dec 10, 2009 at 11:08:04AM -0800, Garrick Staples alleged:
> On Wed, Dec 09, 2009 at 05:28:52PM -0800, Jim Kusznir alleged:
> > I think the problem came from:
> > 
> > # LANL wanted to build torque RPMS for both x86_64 and i686
> > # architectures on the same build x86_64 build host.
> > # allow cross compile based on rpmbuild --target option
> > #   e.g. rpmbuild --target i686 -bb <SPECfile>
> > %ifarch %{ix86} ppc
> > %define optflags -m32
> > %else
> > %define optflags -m64
> > %endif
> 
> That's annoying. The second case should be checking for x86_64.

I just took this whole patch out of trunk and 2.4-fixes.

It breaks Itanium.

It overwrites optflags, removing the distro-supplied defaults.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20091210/d899e920/attachment.bin 


More information about the torqueusers mailing list