![](https://seccdn.libravatar.org/avatar/25bbc96d9c53647354cb724e744b2222.jpg?s=120&d=mm&r=g)
On Wed, Dec 7, 2011 at 8:54 AM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
All,
I've been struggling to figure out a dependency issue with perl::IO::Compress. I have
I think I finally understand it, but I want to ask before I branch perl itself and do a SR!
In the D:L:P perl specfile it says: Provides: perl-Compress-Zlib perl-Compress-Raw-Zlib Obsoletes: perl-Compress-Zlib perl-Compress-Raw-Zlib Provides: perl-IO-Zlib perl-IO-Compress-Base perl-IO-Compress-Zlib Obsoletes: perl-IO-Zlib perl-IO-Compress-Base perl-IO-Compress-Zlib
Note that all the component pieces of perl-IO-Compress are shown as provided, but the overall package itself is not in the list.
That agrees with: http://perldoc.perl.org/index-modules-I.html.
I have a package that has a requires perl(IO::Compress) and it is failing to install because of that.
So my question is if the above list should have perl-IO-Compress added to it. Or should the requires statement in my package be changed to require all the component pieces of IO::Compress instead of just the overall package.
To me updating the provides list seems right.
Thanks Greg
Actually, only a couple of the component pieces are in the list. At a minimum all of these need to be added. (I just branched perl and have this in a home project. Building now.) Provides: perl(IO::Compress::Bzip2) perl(IO::Compress::Deflate) Obsoletes: perl(IO::Compress::Bzip2) perl(IO::Compress::Deflate) Provides: perl(IO::Compress::Gzip) perl(IO::Compress::RawDeflate) perl(IO::Compress::Zip) Obsoletes: perl(IO::Compress::Gzip) perl(IO::Compress::RawDeflate) perl(IO::Compress::Zip) The question becomes, should it also have perl(IO::Compress) in the list that need to be added to the perl specfile. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org