Bug 134312 - Current gettext preun scriplet has unexpanded rpm macro
Summary: Current gettext preun scriplet has unexpanded rpm macro
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Leon Ho
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
 
Reported: 2004-10-01 10:49 UTC by Matthias Saou
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-01 17:43:21 UTC


Attachments (Terms of Use)

Description Matthias Saou 2004-10-01 10:49:32 UTC
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):
gettext-0.14.1-9

How reproducible:
Anways.

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
fi
exit 0

Comment 1 Matthias Saou 2004-10-01 14:39:30 UTC
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 17:43:21 UTC
Thanks for the report. Fixed on -10.


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