Bug 11383 - brp-compress: incorrect man handling
Summary: brp-compress: incorrect man handling
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 13:02 MSD by viy
Modified: 2007-12-14 11:25 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viy 2007-04-06 13:02:25 MSD
brp-compress uncompresses man files by extension,
but then tries to compress them using 'file' utility for man detection.
in java-1.6.0-sun most of the man pages are not recognized by 'file':
$ file jdk1.6.0/man/man1/appletviewer.1 
jdk1.6.0/man/man1/appletviewer.1: ASCII English text, with very long lines
As a result, those files will not be compressed.

It is suggested either to use 'ASCII English text, with very long lines'
as an additional man page type or to use compression by extension.
Comment 1 viy 2007-04-06 16:30:55 MSD
sun proprietary... не уверен, есть ли у меня права на модиффикацию..
я уже зафиксил, 
%set_compress_method none
и руками.