From c4b3734f51324d409cfaa72f363e6c3d0290ad06767fb817fbf707251d5322e5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 15 Apr 2015 04:22:24 +0000 Subject: [PATCH] Accepting request 296598 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/296598 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Catalyst-Plugin-Compress?expand=0&rev=2 --- Catalyst-Plugin-Compress-0.005.tar.gz | 3 -- Catalyst-Plugin-Compress-0.006.tar.gz | 3 ++ perl-Catalyst-Plugin-Compress.changes | 6 ++++ perl-Catalyst-Plugin-Compress.spec | 47 ++++++++++++++++++++------- 4 files changed, 45 insertions(+), 14 deletions(-) delete mode 100644 Catalyst-Plugin-Compress-0.005.tar.gz create mode 100644 Catalyst-Plugin-Compress-0.006.tar.gz diff --git a/Catalyst-Plugin-Compress-0.005.tar.gz b/Catalyst-Plugin-Compress-0.005.tar.gz deleted file mode 100644 index 932efa9..0000000 --- a/Catalyst-Plugin-Compress-0.005.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aadf8b5047b18938971b0d3005978bdd6f22bf63922324d940be0d0a1578af20 -size 23368 diff --git a/Catalyst-Plugin-Compress-0.006.tar.gz b/Catalyst-Plugin-Compress-0.006.tar.gz new file mode 100644 index 0000000..6fd36eb --- /dev/null +++ b/Catalyst-Plugin-Compress-0.006.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4c0fd83580d757a901b15dd5cdfcbc6b3068a8b4bcd4dc75027840cb730dfd7 +size 28481 diff --git a/perl-Catalyst-Plugin-Compress.changes b/perl-Catalyst-Plugin-Compress.changes index e323d26..be87f40 100644 --- a/perl-Catalyst-Plugin-Compress.changes +++ b/perl-Catalyst-Plugin-Compress.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 14 19:16:34 UTC 2015 - coolo@suse.com + +- updated to 0.006 + see /usr/share/doc/packages/perl-Catalyst-Plugin-Compress/Changes + ------------------------------------------------------------------- Mon Apr 21 17:05:36 UTC 2014 - mardnh@gmx.de diff --git a/perl-Catalyst-Plugin-Compress.spec b/perl-Catalyst-Plugin-Compress.spec index cda0de6..9fb7ce1 100644 --- a/perl-Catalyst-Plugin-Compress.spec +++ b/perl-Catalyst-Plugin-Compress.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Catalyst-Plugin-Compress # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,30 +17,54 @@ Name: perl-Catalyst-Plugin-Compress -Version: 0.005 +Version: 0.006 Release: 0 %define cpan_name Catalyst-Plugin-Compress -Summary: Catalyst::Plugin::Compress Perl module -License: GPL-1.0+ or Artistic-1.0 +Summary: Compress response +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Catalyst-Plugin-Compress/ -Source: http://www.cpan.org/authors/id/X/XI/XINMING/%{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/J/JJ/JJNAPIORK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Catalyst::Runtime) >= 5.80001 +BuildRequires: perl(Compress::Zlib) +BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(MRO::Compat) -BuildRequires: perl(Test::Pod) >= 1.14 -BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -Requires: perl(Catalyst::Runtime) >= 5.80001 -Requires: perl(MRO::Compat) +Requires: perl(Catalyst::Runtime) >= 5.80001 Requires: perl(Compress::Zlib) +Requires: perl(MRO::Compat) +Recommends: perl(Compress::Bzip2) >= 2 %{perl_requires} %description -Catalyst::Plugin::Compress Perl module -This module combines Catalyst::Plugin::Deflate Catalyst::Plugin::Gzip Catalyst::Plugin::Zlib into one. +This module combines the Catalyst::Plugin::Deflate manpage the +Catalyst::Plugin::Gzip manpage the Catalyst::Plugin::Zlib manpage into one. + +It compress response to [gzip bzip2 zlib deflate] if client supports it. In +other works the client should send the Accept-Encoding HTTP header with a +supported compression like 'gzip'. + +*NOTE*: If you are using an older version of the Catalyst manpage that +requires the Unicode plugin and if you want to use this module with the +Catalyst::Plugin::Unicode manpage, You *MUST* load this plugin *AFTER* the +Catalyst::Plugin::Unicode manpage. + + use Catalyst qw/ + Unicode + Compress + /; + +If you don't, You'll get error which is like: + +[error] Caught exception in engine "Wide character in subroutine entry at +/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line xxx." + +If you upgrade to any version of the Catalyst manpage 5.90080+ the unicode +support has been integrated into core code and this plugin is designed to +work with that. %prep %setup -q -n %{cpan_name}-%{version} @@ -59,5 +83,6 @@ This module combines Catalyst::Plugin::Deflate Catalyst::Plugin::Gzip Catalyst:: %files -f %{name}.files %defattr(-,root,root,755) +%doc Changes %changelog