[perl-JSON-RPC/f16] Apply changes in Rawhide branch to the F16 branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 4cadd72b1e1fa3bad80ea207fab6820f2d97685f
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Mon Nov 7 23:28:39 2011 +0100

    Apply changes in Rawhide branch to the F16 branch

 perl-JSON-RPC.spec |   31 +++++++++++++++++++++++--------
 1 files changed, 23 insertions(+), 8 deletions(-)
---
diff --git a/perl-JSON-RPC.spec b/perl-JSON-RPC.spec
index eb0b0a4..80ce9bc 100644
--- a/perl-JSON-RPC.spec
+++ b/perl-JSON-RPC.spec
@@ -1,12 +1,11 @@
 Name:           perl-JSON-RPC
 Version:        0.96
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Perl implementation of JSON-RPC 1.1 protocol
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/JSON-RPC/
 Source0:        http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-RPC-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(CGI) >= 2.92
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -26,6 +25,16 @@ 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.
 
+
+%package server
+Summary: The server part of JSON::RPC
+
+%description server
+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. This is a server-side implementation.
+
 %prep
 %setup -q -n JSON-RPC-%{version}
 
@@ -38,7 +47,6 @@ make %{?_smp_mflags}
 
 %install
 rm ex/MyApp.pm
-rm -rf $RPM_BUILD_ROOT
 
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
@@ -50,16 +58,23 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes ex README
-%{perl_vendorlib}/*
+%{perl_vendorlib}/JSON/RPC.pm
+%{perl_vendorlib}/JSON/RPC/Client.pm
+%{perl_vendorlib}/JSON/RPC/Procedure.pm
+%{perl_vendorlib}/JSONRPC.pm
 %{_mandir}/man3/*
 
+%files server
+%{perl_vendorlib}/JSON/RPC/Server
+%{perl_vendorlib}/JSON/RPC/Server.pm
+
 %changelog
+* Thu Oct 27 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.96-10
+- Split out the server part in its own sub-package
+- Tidy up the spec file
+
 * Tue Jul 19 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.96-9
 - Perl mass rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux