Bug 1087988 - Review Request: perl-Search-Elasticsearch - Official client for Elasticsearch
Summary: Review Request: perl-Search-Elasticsearch - Official client for Elasticsearch
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Dick
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-15 18:56 UTC by Emmanuel Seyman
Modified: 2014-04-27 15:05 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-27 15:05:30 UTC
Type: ---
Embargoed:
ddick: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Emmanuel Seyman 2014-04-15 18:56:28 UTC
Spec URL: http://people.parinux.org/~seyman/fedora/perl-Search-Elasticsearch/perl-Search-Elasticsearch.spec
SRPM URL: http://people.parinux.org/~seyman/fedora/perl-Search-Elasticsearch/perl-Search-Elasticsearch-1.10-1.fc20.src.rpm
Description:
Search::Elasticsearch is the official Perl client for Elasticsearch,
supported by elasticsearch.com. Elasticsearch itself is a flexible and
powerful open source, distributed real-time search and analytics engine for
the cloud. You can read more about it on elasticsearch.org.

Fedora Account System Username: eseyman

Comment 1 David Dick 2014-04-17 11:02:26 UTC
FIX: 

License: ASL 2.0 is the correct value according to https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#SoftwareLicenses

BR: perl(strict) # t/lib/MockCxn.pm at line 3 (used in t/40_Transport/30_perform_request.t)
BR: perl(warnings) # t/lib/MockCxn.pm at line 4 (used in t/40_Transport/30_perform_request.t)
BR: perl(lib) # t/30_Logger/60_trace_error.t at line 4
BR: perl(IO::Socket) # lib/Search/Elasticsearch/TestServer.pm at line 7
BR: perl(POSIX) # lib/Search/Elasticsearch/TestServer.pm at line 5
BR: perl(IO::Select) # lib/Search/Elasticsearch/Role/CxnPool.pm at line 6
BR: perl(overload) # lib/Search/Elasticsearch/Error.pm at line 28


Req: perl(MIME::Base64) # lib/Search/Elasticsearch/Role/Cxn/HTTP.pm at line 62
Req: perl(IO::Uncompress::Inflate) # lib/Search/Elasticsearch/Role/Cxn/HTTP.pm at line 132
Req: perl(IO::Socket::SSL) # lib/Search/Elasticsearch/Cxn/HTTPTiny.pm at line 62


BR: perl(JSON::XS) and
BR: perl(URI::Escape::XS)

are specified in the META.* files, but does not seem to be referenced at all.  If you want to include it, you should probably include a Run Time Require as well

TODO:

find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

can be removed

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

can be changed to 

make pure_install DESTDIR=$RPM_BUILD_ROOT

Comment 2 David Dick 2014-04-17 11:03:46 UTC
Petr, can you confirm my recommendation for License?

Comment 3 David Dick 2014-04-17 11:04:44 UTC
koji build is located at http://koji.fedoraproject.org/koji/taskinfo?taskID=6748557

Comment 4 Emmanuel Seyman 2014-04-20 15:11:34 UTC
(In reply to David Dick from comment #2)
> Petr, can you confirm my recommendation for License?

It is indead.

Spec URL: http://people.parinux.org/~seyman/fedora/perl-Search-Elasticsearch/perl-Search-Elasticsearch.spec
SRPM URL: http://people.parinux.org/~seyman/fedora/perl-Search-Elasticsearch/perl-Search-Elasticsearch-1.10-2.fc20.src.rpm

Comment 5 David Dick 2014-04-22 08:24:18 UTC
You've got a duplicate 

Requires:       perl(IO::Uncompress::Inflate)

line and you've missed

BR: perl(POSIX) # lib/Search/Elasticsearch/TestServer.pm at line 5
BR: perl(IO::Select) # lib/Search/Elasticsearch/Role/CxnPool.pm at line 6

As noted in the review above, you should probably put 

Requires:  perl(URI::Escape::XS)
Requires:  perl(JSON::XS)

in as well, as the rpm auto depends code does not detect them.

However, package APPROVED.

Comment 6 Emmanuel Seyman 2014-04-23 09:17:13 UTC
Done.

Spec URL: http://people.parinux.org/~seyman/fedora/perl-Search-Elasticsearch/perl-Search-Elasticsearch.spec
SRPM URL: http://people.parinux.org/~seyman/fedora/perl-Search-Elasticsearch/perl-Search-Elasticsearch-1.10-3.fc20.src.rpm

New Package SCM Request
=======================
Package Name: perl-Search-Elasticsearch
Short Description: Official client for Elasticsearch
Owners: eseyman
Branches: 
InitialCC: perl-sig

Comment 7 Gwyn Ciesla 2014-04-24 12:50:29 UTC
Git done (by process-git-requests).

Comment 8 Emmanuel Seyman 2014-04-27 15:05:30 UTC
Submitted to rawhide. Thank you, David and Jon.


Note You need to log in before you can comment on or make changes to this bug.