Red Hat Bugzilla – Bug 69662
Symlinks made in %post, should be in %install
Last modified: 2008-05-01 11:38:03 EDT
The nvi-* package contains a %post scripts that creates symlinks (using the
$RPM_BUILD_ROOT shell variable (!), which evaluates to the empty string - I hope
- during binary package installation). Instead of this, the symlinks should be
created in the %install part of the rpm so that they belong - administratively -
to the package.
$RPM_BUILD_ROOTs in %preun, %post are removed
putting them in %install is impossible because it creates
2 packages, with-canna and no-canna.