[Fedora-packaging] [RFR] Handling of %doc files
Rex Dieter
rdieter at math.unl.edu
Wed Nov 16 12:47:33 UTC 2005
Enrico Scholz wrote:
>>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:
> 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'
Excellent work and suggestion. I agree with your proposed addition to
rpmlint.
-- Rex
More information about the packaging
mailing list