SPECS (AC-branch): glibc.spec - workaround to be able upgrade

Elan Ruusamäe glen at delfi.ee
Fri Dec 17 19:46:19 CET 2004


On Friday 17 December 2004 18:19, Andrzej Krzysztofowicz wrote:
> Elan =?iso-8859-2?q?Ruusam=E4e?= wrote:
> > this is to resolve such issue:
> >
> > http://glen.alkohol.ee/pld/glibc-fc.txt
>
> But you get uninstalable glibc probably.
> As /bin/sh is rather not available at glibc install.
this is ran in %pre, not in %post, so everything is available :)


> > > +%pre
> > > +# make it safe to upgrade from RH / FC
> > > +if [ -d /lib/i686 ]; then
> > > + mv -fv /lib/i686 /lib/i686.rpmsave
> > > +fi
> > > +if [ -d /lib/tls ]; then
> > > + mv -fv /lib/tls /lib/tls.rpmsave
> > > +fi

-- 
glen




More information about the pld-devel-en mailing list