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(a)di.uminho.pt *
http://gsd.di.uminho.pt/jpo *
* gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *