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 92252 - gawk does not install with --excludedocs
gawk does not install with --excludedocs
Product: Red Hat Linux
Classification: Retired
Component: gawk (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2003-06-04 02:29 EDT by Tim Potter
Modified: 2007-04-18 12:54 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-04 06:32:04 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 Tim Potter 2003-06-04 02:29:23 EDT
Description of problem:

gawk does not install with --excludedocs

Version-Release number of selected component (if applicable):

gawk-3.1.1-9.i386.rpm and gawk-3.1.1-4.i386.rpm

Steps to Reproduce:
1. rpm -i --excludedocs gawk-3.1.1-9.i386.rpm
Actual results:

install-info: No such file or directory for /usr/info/gawk.info.gz
error: execution of %post scriptlet from gawk-3.1.1-9 failed, exit status 1

Expected results:

Installs correctly with no errors.
Comment 1 Tim Potter 2003-06-04 02:30:59 EDT
Here's a patch:

--- SPECS/gawk.spec.orig        2003-06-04 16:19:47.000000000 +1000
+++ SPECS/gawk.spec     2003-06-04 16:21:41.000000000 +1000
@@ -52,7 +52,8 @@
-/sbin/install-info %{_infodir}/gawk.info.gz %{_infodir}/dir
+[ -f %{_infodir}/gawk.info.gz ] && \
+       /sbin/install-info %{_infodir}/gawk.info.gz %{_infodir}/dir || :
 if [ $1 = 0 ]; then
Comment 2 Florian La Roche 2003-06-04 06:32:04 EDT
Fixed in our internal cvs tree, but I will not immediately build a new rpm
with this.

thanks for the bug-report,

Florian La Roche

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