(Jul 11 2005 18:25) Brunello Ivan wrote:
> I did not explain well.
> If a perl package contains several modules, I just wanted to check
> against one included module, not the whole package.
> 
> Try to install my contrib tsl-2.2 perl-time-modules, and issue:
> 
> rpm -qi --provides perl-time-modules
> 
(...)
> Time-modules = 2003.1126
> perl(Time::CTime) = 99.06
> perl(Time::DaysInMonth) = 99.1117
> perl(Time::JulianDay) = 2003.1125
> perl(Time::ParseDate) = 2003.1126
> perl(Time::Timezone) = 2003.0211
> perl-time-modules = 2003.1126-1ib
> 
> If I just want to Require Time::ParseDate, is there a way of doing
> this, or is "best policy" to include the whole package?

It is possible, as ajith mentions.

Much more interesting is: Why do you want perl-time-modules to only
provide Time::ParseDate? I guess the name of the package suggest that
the package not only provides 1 module, so letting the package provide
all it actually provides is a good thing.

Some other packages might require Time::Timezone which is provided in
this package as well.



kind regards


c

-- 
Christian H. Toldnes
Trustix Developer
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to