On Thu, Mar 09, 2006 at 11:51:53AM -0500, Joshua Jensen alleged: > On Wed, Mar 08, 2006 at 10:51:41PM -0800, Garrick Staples wrote: > > > > I just grabbed the python-elementtree-1.2.6-4.src.rpm from FC3/FC4 and > > it built fine on RHEL3 i386/x86_64/ia64. > > Are you talking about FC3/FC4 official repos? There isn't a > python-elementtree srpm for FC3, and the one from FC4 gives me the exact > same x86_64 rpmbuild error that *all* the DAG srpms do: > > $ rpmbuild --rebuild python-elementtree-1.2.6-4.src.rpm 2>&1 | tail > + /bin/mkdir -p /var/tmp/python-elementtree-1.2.6-4-root/usr/share/doc/python-elementtree-1.2.6 > + cp -pr docs samples README README-cElementTree CHANGES CHANGES-cElementTree benchmark.py /var/tmp/python-elementtree-1.2.6-4-root/usr/share/doc/python-elementtree-1.2.6 > + exit 0 > > RPM build errors: > File not found: /var/tmp/python-elementtree-1.2.6-4-root/usr/lib64/python2.2/site-packages/elementtree > File not found by glob: /var/tmp/python-elementtree-1.2.6-4-root/usr/lib64/python2.2/site-packages/elementtree/*.py > File not found by glob: /var/tmp/python-elementtree-1.2.6-4-root/usr/lib64/python2.2/site-packages/elementtree/*.pyc > File not found by glob: /var/tmp/python-elementtree-1.2.6-4-root/usr/lib64/python2.2/site-packages/elementtree/*.pyo > 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 @@ -16,7 +16,6 @@ Source2: cElementTree-system-expat-setup.py BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: expat-devel, python-devel -Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]") %description The Element type is a simple but flexible container object, designed @@ -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 pushd %{_upstream_cnvr} %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT popd -- 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.dulug.duke.edu/pipermail/yum/attachments/20060309/ded09682/attachment.bin