[Yum] Re: python-elementtree for RHEL3 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- Rex

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux