[Yum] Re: python-elementtree for RHEL3 ?

Garrick Staples garrick at usc.edu
Thu Mar 9 23:04:36 UTC 2006


On Thu, Mar 09, 2006 at 03:53:59PM -0600, Rex Dieter alleged:
> Garrick Staples wrote:
> 
> >Ah, you are correct.  I forgot I had slightly patched mine.
> >
> >--- python-elementtree.spec-orig        2006-03-09 12:41:05.000000000 -0800
> >+++ python-elementtree.spec     2006-03-09 12:41:38.000000000 -0800
> ...
> >@@ -48,6 +47,9 @@
> > %install
> > rm -rf $RPM_BUILD_ROOT
> > %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
> >+%ifarch x86_64
> >+mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/%_libdir
> >+%endif
> 
> A safer mod that works on all (64bit) platforms, not just x86_64:
> 
> %if "%{_libdir}" != "/usr/lib"
> mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT%{_libdir}
> %endif

Good call.  I'll make that change to my own spec file.

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20060309/f655f894/attachment-0001.pgp 


More information about the Yum mailing list