Bug 117141 - All files in info directory are compressed implicitly
Summary: All files in info directory are compressed implicitly
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build   
(Show other bugs)
Version: 9
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-02-29 09:29 UTC by Torsten Bronger
Modified: 2007-04-18 17:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-29 22:45:08 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Torsten Bronger 2004-02-29 09:29:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040207 Firefox/0.8

Description of problem:
All files in the /usr/share/info directory (or %{_infodir}/) are
compressed with gzip by rpmbuild.  This is bad behaviour since there
are images (PNGs) too in this directory, and they mustn't be compressed.

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

How reproducible:

Steps to Reproduce:
1. My spec files say e.g.
2. Call rpmbuild
3. rpmbuild simply doesn't files these files since they now have the
extension ".gz".

Actual Results:  All files in info/ are compressed.

Expected Results:  Only files in info/ with a typical info filename
extension should be compressed, or alternatively, all files with a
typical image file extension sould be excluded from the compression

Comment 1 Jeff Johnson 2004-02-29 22:45:08 UTC
%{_infodir} is used for inof(1) files, where compression
is expected and useful.

No idea why *.png files are there.

Reconfigure rpm to not compress if you want, %__os_install_post
appends a set of build policy scripts (see /usr/lib/rpm/brp-*),
to end of %install, and one of those scripts is implementing
the policy "Everything in /usr/share/info/should be compressed."

Comment 2 Torsten Bronger 2004-02-29 23:07:06 UTC
Latest releases of makeinfo allow the inclusion of PNG files in Info
documentation.  They are stored in the same directory as the info
files, so perhaps the default behaviour (in brp-compress as far as I
can see) should be modified.

But be that as it may, thank you very much for the explanation.

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