[Fedora-packaging] [RFR] Handling of %doc files
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Wed Nov 16 12:14:07 UTC 2005
enrico.scholz at informatik.tu-chemnitz.de (Enrico Scholz) writes:
> Therefore, I suggest one of the following rules:
>
> (a) %doc files MUST not introduce new dependencies, or
ok, I wrote an 'rpmlint' check for this rule:
http://ensc.de/fedora/DocFilesCheck.py.txt
(it is '*.txt' because the provider does not seem to like '*.py')
Example output:
| $ rpmlint openvpn-2.0.5-1.fc4.i386.rpm
| E: openvpn %doc file '/usr/share/doc/openvpn-2.0.5/sample-scripts/auth-pam.pl' creates additional dependency '/usr/bin/perl'
| E: openvpn %doc file '/usr/share/doc/openvpn-2.0.5/sample-scripts/verify-cn' creates additional dependency '/usr/bin/perl'
Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20051116/2b106dd3/attachment.sig>
More information about the Fedora-packaging
mailing list