Mailinglist Archive: opensuse-packaging (267 mails)

< Previous Next >
Re: [opensuse-packaging] Another perl packaging question
On Wed, Dec 7, 2011 at 10:12 AM, Greg Freemyer <greg.freemyer@xxxxxxxxx> wrote:
On Wed, Dec 7, 2011 at 9:48 AM, Michael Schroeder <mls@xxxxxxx> wrote:
On Wed, Dec 07, 2011 at 03:44:34PM +0100, Vitezslav Cizek wrote:
* V Wednesday  7. December 2011, 15:33:52 [CET] Michael Schroeder napsal:
On Wed, Dec 07, 2011 at 08:54:14AM -0500, Greg Freemyer wrote:
I have a package that has a requires perl(IO::Compress) and it is
failing to install because of that.

I can't find a "IO::Compress" module on CPAN, so I don't think
the requires can be correct.

There's a IO::Compress module:
http://search.cpan.org/dist/IO-Compress/

we have it in OBS as perl-IO-Compress

perl-IO-Compress does *not* provide perl(IO::Compress), just
all the IO::Compress::XXX flavors. And it's nowadays part of
core perl.

M.


As a test I've updated my package in my home dir to not Require
IO::Compress, but instead to have Requires on all the flavors.

If that causes all of the component modules to be installed
individually, then there are missing Provides statements in perl
itself since it is supposed to have all the flavors built-in.

It may be tomorrow before I get a chance to test.

Greg

Actually with no perl-IO-Compress-* packages installed I just did a
test install and it worked with these Requires lines:

Requires: perl(IO::Compress::Base)
Requires: perl(IO::Compress::Bzip2) perl(IO::Compress::Deflate)
Requires: perl(IO::Compress::Gzip) perl(IO::Compress::RawDeflate)
perl(IO::Compress::Zip)

So the base perl module is indeed Providing all the above
automatically. (They are not all in the perl specfile explicitly).

Sorry to take up so much time with my confusion.

Thanks
Greg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >