[Distutils] bdist_rpm and compressed man pages

Bastian Kleineidam calvin@cs.uni-sb.de
Sun Nov 19 18:55:01 2000


Hello,

I have a man page in my data files specified.
It seems that the compression of man pages confuses the bdist_rpm command.
When I am executing python setup.py bdist_rpm the man page is copied and
then compressed with the brp-compress script:
[...]
creating /var/tmp/LinkChecker-buildroot/usr/man
creating /var/tmp/LinkChecker-buildroot/usr/man/man1
copying linkchecker.1 -> /var/tmp/LinkChecker-buildroot/usr/man/man1
writing list of installed files to 'INSTALLED_FILES'
[...]
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: LinkChecker-1.2.8-1
File not found: /var/tmp/LinkChecker-buildroot/usr/man/man1/linkchecker.1
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.69025
[...]
Provides: linkchecker
error: command 'rpm' failed with exit status 1

Does anyone know how to fix this?


Greetings from Bastian