On Fri, 30 Jan 2004, Marten Lehmann wrote: > Hello, > > I'm trying to build a .rpm for the perl-module SOAP::Lite. This module > offers SOAP-interfaces for different protocols, like HTTP, SMTP, POP3 > etc. Even very rarely used protocols like Jabber and MQSeries are > offered. My problem is, that I don't need to use Jabber and I don't have > MQSeries. During the configuration, I can disable support for both > features. But when the rpm is build and I'm trying to install it, I get > > error: Failed dependencies: > perl(MIME::Lite) is needed by perl-SOAP-Lite-0.55-1 > perl(MQClient::MQSeries) is needed by perl-SOAP-Lite-0.55-1 > perl(MQSeries) is needed by perl-SOAP-Lite-0.55-1 > perl(MQSeries::Message) is needed by perl-SOAP-Lite-0.55-1 > perl(MQSeries::Queue) is needed by perl-SOAP-Lite-0.55-1 > perl(MQSeries::QueueManager) is needed by perl-SOAP-Lite-0.55-1 > perl(Net::Jabber) >= 1.0021 is needed by perl-SOAP-Lite-0.55-1 > > I didn't set any dependencis, rpmbuild seems to find it itself within > the %install-macro. How can I change this or how can I disable automatic > dependency checking? > It sure does and you don't want to change this. Your scripts do use these perl modules, and so they do depend on them. Its easy to grab the cpan modules you are depending on, and then run them against cpanflute2 (found in the RPM::Specfile cpan module), or there is another application that does the same thing (I forget its name, because I am only avid patcher of RPM::Specfile (-;). Cheers...james > Regards > Marten Lehmann > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list