Bug 11383

Summary: brp-compress: incorrect man handling
Product: Sisyphus Reporter: viy <viy>
Component: rpmAssignee: placeholder <placeholder>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: at, glebfm, imz, ldv, placeholder, vt
Version: unstable   
Hardware: all   
OS: Linux   

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
и руками.