[ac] rpm 4.4.9

Elan Ruusamäe glen at delfi.ee
Sun Jan 20 15:55:19 CET 2008


On Sunday 13 January 2008 02:02:04 Elan Ruusamäe wrote:
> hi
>
> i've prepared rpm 4.4.9 and poldek for ac
> any objections why not push it to ac-updates?

okay. discovered some incompatible change which would be quite annoying to 
have, now rpm invokes triggers on same package name differently. if 
previously you had trigger on same name but different versions, rpm just 
invoked the last one, now it invokes only the first one and number of times 
the trigger is present:

Upgrading...
   1:lighttpd-mod_staticfile########################################### [ 13%]
   2:lighttpd-mod_dirlisting########################################### [ 25%]
   3:lighttpd               ########################################### [ 38%]
   4:lighttpd-mod_indexfile ########################################### [ 50%]
spawn-fcgi program is now available separately from spawn-fcgi package.
spawn-fcgi program is now available separately from spawn-fcgi package.
   5:lighttpd-mod_access    ########################################### [ 63%]

lighttpd.spec:
---
%triggerpostun -- %{name} <= 1.3.6-2
%banner %{name} -e <<EOF
spawn-fcgi program is now available separately from spawn-fcgi package.
EOF

%triggerpostun -- %{name} < 1.4.18-10.1
if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
    cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
    mv -f /etc/lighttpd/conf.d/{50_mod_extforward.conf.rpmsave,91_mod_extforward.conf}
fi
---

the same problem was seen on mysql.spec.
i wonder why nobody complained or noticed this on th, as 4.4.9 has been out for a while and in th?


-- 
glen


More information about the pld-devel-en mailing list