Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 134312 - Current gettext preun scriplet has unexpanded rpm macro
Current gettext preun scriplet has unexpanded rpm macro
Product: Fedora
Classification: Fedora
Component: gettext (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Leon Ho
: EasyFix
Depends On:
Blocks: FC3Target
  Show dependency treegraph
Reported: 2004-10-01 06:49 EDT by Matthias Saou
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-01 13:43:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthias Saou 2004-10-01 06:49:32 EDT
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):

How reproducible:

Steps to Reproduce:
1. Upgrade gettext.
Actual results:
/var/tmp/rpm-tmp.316: line 2: fg: no job control
error: %post(gettext-0.14.1-9) scriptlet failed, exit status 1

Expected results:
No output.

Additional info:
This is the problem :
preuninstall scriptlet (using /bin/sh):
if [ "$1" = 0 ]; then
    %_remove_install_info /usr/share/info/gettext.info.gz
exit 0
Comment 1 Matthias Saou 2004-10-01 10:39:30 EDT
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?
Comment 2 Leon Ho 2004-10-01 13:43:21 EDT
Thanks for the report. Fixed on -10.

Note You need to log in before you can comment on or make changes to this bug.