Hello community,

here is the log from the commit of package perl-JSON-RPC for openSUSE:Factory 
checked in at 2013-06-21 13:31:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-JSON-RPC (Old)
 and      /work/SRC/openSUSE:Factory/.perl-JSON-RPC.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-JSON-RPC"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-JSON-RPC/perl-JSON-RPC.changes      
2011-11-21 12:41:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-JSON-RPC.new/perl-JSON-RPC.changes 
2013-06-21 13:36:55.000000000 +0200
@@ -1,0 +2,14 @@
+Mon Jun 17 11:54:43 UTC 2013 - co...@suse.com
+
+- updated to 1.03
+   - Allow die \%hash from handlers (ka2u)
+   - Fix the finalization of the response (0xAF)
+   - Use require instead of Class::Load. Subclass in your app if you need
+     that kind of ability, but it seems unlikely that we'd need anything
+     more than eval require here.
+   - JSON::RPC::Dispatcher already existed on CPAN. s/Dispatcher/Dispatch/g
+   - New maintainer, completely new code for PSGI apps and JSON RPC 2.0
+   - If you are using old JSON::RPC code (up to 0.96), DO NOT EXPECT
+     YOUR CODE TO WORK. THIS VERSION IS BACKWARDS INCOMPATIBLE
+
+-------------------------------------------------------------------

Old:
----
  JSON-RPC-0.96.tar.gz

New:
----
  JSON-RPC-1.03.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-JSON-RPC.spec ++++++
--- /var/tmp/diff_new_pack.q4Bdot/_old  2013-06-21 13:36:55.000000000 +0200
+++ /var/tmp/diff_new_pack.q4Bdot/_new  2013-06-21 13:36:55.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-JSON-RPC
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,62 +15,69 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-%bcond_with pod
 
 Name:           perl-JSON-RPC
+Version:        1.03
+Release:        0
 %define cpan_name JSON-RPC
-Summary:        Perl implementation of JSON-RPC 1.1 protocol
-Version:        0.96
-Release:        2
-License:        GPL-1.0+ or Artistic-1.0
+Summary:        JSON RPC 2.0 Server Implementation
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/JSON-RPC/
-#Source:         
http://www.cpan.org/modules/by-module/JSON/JSON-RPC-%{version}.tar.gz
-Source:         %{cpan_name}-%{version}.tar.gz
+Source:         
http://www.cpan.org/authors/id/D/DM/DMAKI/%{cpan_name}-%{version}.tar.gz
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
-%if %{with pod}
-BuildRequires:  perl(Test::Pod) >= 1.00
-%endif
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(CGI) >= 2.92
-BuildRequires:  perl(JSON) >= 2
-BuildRequires:  perl(LWP::UserAgent) >= 2.001
-## coming with LWP::UserAgent
-#BuildRequires:  perl(HTTP::Request)
-#BuildRequires:  perl(HTTP::Response)
-#
-Requires:       perl(CGI) >= 2.92
-Requires:       perl(JSON) >= 2
-Requires:       perl(LWP::UserAgent) >= 2.001
-## coming with LWP::UserAgent
-#Requires:       perl(HTTP::Request)
-#Requires:       perl(HTTP::Response)
+BuildRequires:  perl(Class::Accessor::Lite)
+BuildRequires:  perl(HTTP::Request)
+BuildRequires:  perl(HTTP::Response)
+BuildRequires:  perl(JSON)
+BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(Plack)
+BuildRequires:  perl(Plack::Request)
+BuildRequires:  perl(Plack::Test)
+BuildRequires:  perl(Router::Simple)
+BuildRequires:  perl(parent)
+#BuildRequires: perl(Apache2::Const)
+#BuildRequires: perl(Apache2::RequestIO)
+#BuildRequires: perl(Apache2::RequestRec)
+#BuildRequires: perl(Apache2::RequestUtil)
+#BuildRequires: perl(APR::Table)
+#BuildRequires: perl(JSON::RPC)
+#BuildRequires: perl(JSON::RPC::Constants)
+#BuildRequires: perl(JSON::RPC::Legacy::Client)
+#BuildRequires: perl(JSON::RPC::Legacy::Procedure)
+#BuildRequires: perl(JSON::RPC::Legacy::ReturnObject)
+#BuildRequires: perl(JSON::RPC::Legacy::Server)
+#BuildRequires: perl(JSON::RPC::Parser)
+#BuildRequires: perl(JSON::RPC::Procedure)
+#BuildRequires: perl(LWP::Simple)
+#BuildRequires: perl(Module::Build)
+#BuildRequires: perl(Module::Install::Base)
+#BuildRequires: perl(Parse::CPAN::Meta)
+#BuildRequires: perl(Try::Tiny)
+#BuildRequires: perl(YAML::Tiny)
+Requires:       perl(Class::Accessor::Lite)
+Requires:       perl(HTTP::Request)
+Requires:       perl(HTTP::Response)
+Requires:       perl(JSON)
+Requires:       perl(LWP::UserAgent)
+Requires:       perl(Plack)
+Requires:       perl(Router::Simple)
+Requires:       perl(parent)
+Recommends:     perl(JSON::XS)
+%{perl_requires}
 
 %description
-JSON-RPC is a stateless and light-weight remote procedure call (RPC)
-protocol for inter-networking applications over HTTP. It uses JSON as the
-data format for of all facets of a remote procedure call, including all
-application data carried in parameters.
-
-The old modules - JSONRPC::Transport::HTTP and Apache::JSONRPC are deprecated.
-Please try to use JSON::RPC::Server and JSON::RPC::Client which support both
-JSON-RPC protocol version 1.1 and 1.0.
-
-Authors:
---------
-    Makamaka Hannyaharamitu, <makamaka[at]cpan.org>
+JSON::RPC is a set of modules that implment JSON RPC 2.0 protocol.
+
+    If you are using old JSON::RPC code (up to 0.96), DO NOT EXPECT
+    YOUR CODE TO WORK WITH THIS VERSION. THIS VERSION IS 
+    ****BACKWARDS INCOMPATIBLE****
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-### rpmlint:
-# wrong-file-end-of-line-encoding
-%{__perl} -pi -e 's|\r\n|\n|' ex/jsonrpc.conf
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -81,18 +88,11 @@
 
 %install
 %perl_make_install
-# do not perl_process_packlist (noarch)
-# remove .packlist file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
-# remove perllocal.pod file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
+%perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc Changes ex README
+%defattr(-,root,root,755)
+%doc Changes README
 
 %changelog

++++++ JSON-RPC-0.96.tar.gz -> JSON-RPC-1.03.tar.gz ++++++
++++ 8550 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to