Description of problem:
During the update of tetex-font-kerkis, the %post scriptlet apears to fail and
the procedure does not remove the old entry from the rpm database.
The %post procedure is an invocation of updmap-sys, which checks the existing
map file updmap.cfg and if kerkis.map is not present (or disabled), the script
adds it (or enables it).
If no changes are necessary (i.e. the map is already present and enabled), the
script exits with a status of 1, stating that no changes are needed. Its
execution was essentially a noop. However, rpm receives the exit status of 1
and considers it as a failure notice, aborting any further action.
To remedy this, we just need to invoke updmap-sys only when installing and not
when updating the package. Patch attached.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 115739 [details]
patch to enable updmap-sys only when installing (not updating)
applied in tetex-font-kerkis-2.0-6.fc4