On Thursday 03 February 2011 15:18:02 Jeff Johnson wrote: > The procedure isn't hard, its essentially this 1 command (snipped from > tests/Makefile.am) ... > @__DB_DUMP@ olddb/Packages \ > > | sed \ > > -e 's/^type=hash$$/type=btree/' \ > -e '/^h_nelem=/d' \ > -e 's/^ \(..\)\(..\)\(..\)\(..\)$$/ \4\3\2\1/' \ > > | @__DB_LOAD@ newdb/Packages; \ > > [...] > > That process (with hardening) is being accomplished in Mandriva and IDMS > by adding to rpm.spec > > %posttrans > /usr/lib/rpm/dbconvert.sh
The procedure is clear, thanks, I'll try this when it's time for another rpm upgrade (i.e. when other current higher priority distribution tasks are completed). Silvan -- mambaSoft di Calarco Silvan Web: http://www.mambasoft.it mambaSoft Store @ http://www.mambastore.it openmamba GNU/Linux development @ http://www.openmamba.org ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org