On Tue, 22 May 2007, Bill Nottingham wrote: > Chip Coldwell (coldwell@xxxxxxxxxx) said: > > On Tue, 22 May 2007, Bill Nottingham wrote: > > > > > Chip Coldwell (coldwell@xxxxxxxxxx) said: > > > > So ... the new package in its %post scriptlet could remove the old > > > > symlink in /usr/bin (emacs -> emacs-22.0.95) and run alternatives to > > > > install a new one, but removal of the old package happens afterwards > > > > and always removes the symlink. > > > > > > %triggerpostun -- emacs < whatever the old one ? > > > > That would cause the old package %postun scriptlet to run, right? > > No. > > %triggerpostun -- emacs <some version specifier> > > means that it should run whenever emacs that matches that version specifier > is removed. Actually, Charles R. Anderson posted a patch to that bugzilla (239745) that fixes the problem using a %ghost file. I'm leaning toward that solution (for later F-7 updates and F-8). Chip -- Charles M. "Chip" Coldwell Senior Software Engineer Red Hat, Inc 978-392-2426 -- Fedora-maintainers mailing list Fedora-maintainers@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers -- Fedora-maintainers-readonly mailing list Fedora-maintainers-readonly@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly