Re: [RFR] Handling of %doc files

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

 



Panu Matilainen wrote:
> Another idea: how about making rpm simply make anything marked as %doc
> non-executable? That'd stop example scripts from accidentally pulling in
> dependencies for good...

Unfortunately that doesn't resolve all the dependencies problems -
perl modules (non-executable .pm files) still pull new dependencies.

Example
==================================
Test.pm (file permissions 0644)
----------
package Test;
use Tk;
1;
----------

test.spec
-----------
...
%files
...
%doc Test.pm
...
-----------

Dependencies
----------
$ rpm -qpR ../RPMS/i386/test-0.1-1.i386.rpm
...
perl(Tk)
...
----------

jpo
-- 
José Pedro Oliveira
* mailto: jpo@xxxxxxxxxxxx * http://gsd.di.uminho.pt/jpo *
* gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *

Attachment: signature.asc
Description: OpenPGP digital 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