8
0
forked from pool/perl-JSON-RPC
Stephan Kulow
2014-09-15 15:46:47 +00:00
committed by Git OBS Bridge
parent 829137d959
commit 2aa89b14f1
4 changed files with 22 additions and 31 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b564005ab9b74309e10fca7fc14cf133d3b5c38a8a9f63d8f4d50eef45033290
size 37495

3
JSON-RPC-1.04.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf2b7f77ff56c5d08596d3fbfcd04c92edc53ed16930b52ae2b8e16f2092c85e
size 35739

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 15 15:44:36 UTC 2014 - coolo@suse.com
- updated to 1.04
- Work with notifications, which are procedures without an id
(Kirill Bogdanov)
-------------------------------------------------------------------
Mon Jun 17 11:54:43 UTC 2013 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-JSON-RPC
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
Name: perl-JSON-RPC
Version: 1.03
Version: 1.04
Release: 0
%define cpan_name JSON-RPC
Summary: JSON RPC 2.0 Server Implementation
@@ -29,35 +29,20 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(Class::Accessor::Lite)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(JSON)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Module::Build) >= 0.38
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)
@@ -70,7 +55,7 @@ Recommends: perl(JSON::XS)
%{perl_requires}
%description
JSON::RPC is a set of modules that implment JSON RPC 2.0 protocol.
JSON::RPC is a set of modules that implement 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
@@ -80,19 +65,18 @@ JSON::RPC is a set of modules that implment JSON RPC 2.0 protocol.
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes cpanfile LICENSE Makefile README.md
%changelog