Re: [RFR] Handling of %doc files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



enrico.scholz@xxxxxxxxxxxxxxxxxxxxxxxxx (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

Attachment: pgpcPDfuUSx2C.pgp
Description: PGP signature

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux