Mailinglist Archive: opensuse-packaging (205 mails)

< Previous Next >
Re: [opensuse-packaging] Request for perl help
On Mon, September 26, 2011 11:49 pm, Greg Freemyer wrote:
On Mon, Sep 26, 2011 at 4:29 PM, Joop Boonen <joop.boonen@xxxxxxxxxx>
wrote:
Hi Greg,

As you can see this perl module (2.0.15) is quite old because of this
probably doesn't support per 5.12 any more.
http://search.cpan.org/~pmqs/IO-Compress-Bzip2-2.015/
I think it's better to use a more resent version.
http://search.cpan.org/~pmqs/IO-Compress-2.037/
Contains IO:Compress:Bzip2
http://search.cpan.org/~pmqs/IO-Compress-2.037/lib/IO/Compress/Bzip2.pm

I see that this package already exists: perl-IO-Compress in
devel:languages:perl

Regards,

Joop.


Joop,

Thanks but this looking a little more complex.

perl-IO-Compress won't install because it requires perl-Compress-Raw-Zlib

perl-Compress-Raw-Zlib won't install because it is obsoleted by
perl-5.12.3-11.16.1.x86_64

Assuming that means what it says I'm testing this specfile change to
perl-IO-Compress


I would use (if it works, I didn't test it). The reason is because perl
5.12 wouldn't work for example openSuSE 11.3.:
%if perl < 5.12 in stead of %if 0%{suse_version} < 1140
============
# Compress::Raw::Zlib is now a core perl function
%if 0%{suse_version} < 1140
BuildRequires: perl(Compress::Raw::Zlib) >= %{version}
Requires: perl(Compress::Raw::Zlib) >= %{version}
%endif
============



Can you (or anyone else) confirm that the above is accurate.

Thanks
Greg
--

Regards,

Joop.





--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups