Hide Forgot
SPEC: http://v3.sk/~lkundrak/SPECS/perl-WWW-Splunk.spec SRPM: http://v3.sk/~lkundrak/SRPMS/perl-WWW-Splunk-2.04-1.el6.src.rpm Description: WWW::Splunk is a client for Splunk log search engine. It consists of a utility with command-line interface, sc, and a supporting library. It lets you query the archived logs or conduct a real-time search.
Basically OK, but these items: 1. Please remove these Requires: Requires: perl(Date::Manip) Requires: perl(HTTP::Request::Common) Requires: perl(LWP::UserAgent) Requires: perl(Test::More) Requires: perl(Text::CSV) Requires: perl(XML::LibXML) Modern rpm tracks run-time perl-module requirements automatically, which reduces the packager's work-load and helps avoiding packaging mistakes. e.g. The R: perl(Test::More) above is incorrect. It's not a run-time requirement, but only a testsuite's requirement. 2. Consider to remove the rpm anachronisms from your spec (rm -rf RPM_BUILD_ROOT, BuildRoot, defattr(), %clean ...). I understand, your target distro is epel6, but even there most of them are not needed anymore (AFAICT, they are still needed on epel5).
Thank you for your review. I prefer to keep the obsolete constructs in package as I like the same package to be buildable for el5 as well, unless you object it very strongly. Here's the updated package: SPEC: http://v3.sk/~lkundrak/SPECS/perl-WWW-Splunk.spec SRPM: http://v3.sk/~lkundrak/SRPMS/perl-WWW-Splunk-2.04-2.el6.src.rpm
Something weird: man sc on rawhide gives: ... The code is hosted on GitHub <http://github.com/lkundrak/perl-WWW-Splunk>. Bug fixes and feature enhancements are always welcome. POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 214: Unterminated B<...> sequence ... Apparently pod2man encounters an error and encodes this into generated man-page From /usr/share/man/man1/sc.1: ... .SH "POD ERRORS" .IX Header "POD ERRORS" Hey! \fBThe above document had some coding errors, which are explained below:\fR .IP "Around line 214:" 4 .IX Item "Around line 214:" Unterminated B<...> sequence ...
Thank you for noticing this! An updated version is on its way to CPAN. SPEC: http://v3.sk/~lkundrak/SPECS/perl-WWW-Splunk.spec SRPM: http://v3.sk/~lkundrak/SRPMS/perl-WWW-Splunk-2.05-1.el6.src.rpm
APPROVED Clean package - Nothing much to say about
Thank you Ralf! New Package SCM Request ======================= Package Name: perl-WWW-Splunk Short Description: Client library for Splunk log search engine Owners: lkundrak Branches: f18 f19 f20 el6 el6
Git done (by process-git-requests).
Imported and built. Thanks Jon and Ralf!