Red Hat Bugzilla – Bug 134312
Current gettext preun scriplet has unexpanded rpm macro
Last modified: 2007-11-30 17:10:50 EST
Description of problem:
The current gettext rpm has an unexpanded rpm macro in its %preun
scriplet. This produces an error message upon upgrade, even if $1 != 0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upgrade gettext.
/var/tmp/rpm-tmp.316: line 2: fg: no job control
error: %post(gettext-0.14.1-9) scriptlet failed, exit status 1
This is the problem :
preuninstall scriptlet (using /bin/sh):
if [ "$1" = 0 ]; then
Same thing in the gettext-devel sub-package. After a quick look around
/usr/lib/rpm/ I still can't seem to find this macro anywhere... is
this just a copy/paste mistake from a Mandrake spec file or something?
Thanks for the report. Fixed on -10.