Author calvin
Date 2004-09-10.12:10:39
SpamBayes Score
Marked as misclassified
Logged In: YES 

Finally I got around to investigate this a little more. What
essentially happens is this:
1) bdist_rpm generates a .spec file with the following
install command:
python install --root=$RPM_BUILD_ROOT
.. and the following files section

2) if the installed any man pages, then after
%install and before %files rpm runs brp-compress (usually
found in /usr/lib/rpm/brp-compress) which compresses all man
pages with gzip.

3) Now the man pages have a '.gz' suffix, but the
INSTALLED_FILES file lists them still without the suffix.
The %files section of the rpm .spec file will fail.

The solution in my case was to use a custom rpm-install
script configured with setup.cfg:
install_script =
The file is attached.

The solution is not very generic - brp-compress compresses a
lot more files than the detects. But at least
there should be a documentation somewhere about the
brp-compress pitfall.
Date User Action Args
2007-08-23 14:09:11adminlinkissue644744 messages
2007-08-23 14:09:11admincreate