Bug 979661 - Review Request: perl-Net-Random - A module gets random data from online sources
Summary: Review Request: perl-Net-Random - A module gets random data from online sources
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-29 08:03 UTC by Christopher Meng
Modified: 2013-07-15 01:09 UTC (History)
3 users (show)

Fixed In Version: perl-Net-Random-2.22-2.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-07-15 01:01:29 UTC
Type: ---
panemade: fedora-review+
gwync: fedora-cvs+

Attachments (Terms of Use)

Description Christopher Meng 2013-06-29 08:03:11 UTC
Spec URL: http://cicku.me/perl-Net-Random.spec
SRPM URL: http://cicku.me/perl-Net-Random-2.22-1.fc20.src.rpm
Description: This module can get random data from online sources such as websites.
Fedora Account System Username: cicku

Comment 1 Parag AN(पराग) 2013-07-03 05:23:18 UTC

+ mock build is successful for f20

+ rpmlint output on rpms gave
2 packages and 0 specfiles checked; 0 errors, 0 warnings.

+ Source verified with upstream as (sha256sum)
srpm tarball     : bb8c499a3a663aa0495e8892ebd10ddc3549be8e742976014d7fb885eb278ff7
upstream tarball : bb8c499a3a663aa0495e8892ebd10ddc3549be8e742976014d7fb885eb278ff7

+ License "GPLv2+ or Artistic" is valid and included in source files.

+ rest follows packaging guidelines

+ make test is successful with output
All tests successful.
Files=5, Tests=69, 271 wallclock secs ( 0.04 usr  0.00 sys +  2.19 cusr  0.29 csys =  2.52 CPU)

+ This package perl-Net-Random-2.22-1.fc20
Provides: perl(Net::Random) = 2.22 perl-Net-Random = 2.22-1.fc20

Requires: perl(Data::Dumper) perl(JSON) perl(LWP::UserAgent) perl(Sys::Hostname) perl(strict) perl(vars)

1) Though all the tests that run are successful, I see one test got skipped due to missing
BuildRequires: perl(Test::Pod::Coverage)

add this to spec file

2) Remove explicitly listed Requires: from spec file as rpm should find those dependencies while installing this package. Only when rpm fails to find we need to list it explicitly.
Requires:       perl(Encode::Locale) >= 1.01
Requires:       perl(JSON)
Requires:       perl(LWP::UserAgent)
Requires:       perl(Test::MockObject) >= 1.07
Requires:       perl(Test::More) >= 0.64

3) Also, don't add hard versioned requirement in BuildRequires or Requires. so your BuildRequires should be
BuildRequires:  perl(Encode::Locale)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(JSON)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(Test::MockObject)
BuildRequires:  perl(Test::More)

Comment 2 Christopher Meng 2013-07-03 06:28:47 UTC
NEW SOEC URL: http://cicku.me/perl-Net-Random.spec
NEW SRPM URL: http://cicku.me/perl-Net-Random-2.22-2.fc20.src.rpm

Comment 3 Parag AN(पराग) 2013-07-03 07:02:56 UTC
Looks good now.


Comment 4 Christopher Meng 2013-07-03 09:43:45 UTC
New Package SCM Request
Package Name: perl-Net-Random
Short Description: A module gets random data from online sources
Owners: cicku
Branches: f18 f19

Comment 5 Gwyn Ciesla 2013-07-03 12:56:55 UTC
Git done (by process-git-requests).

Comment 6 Fedora Update System 2013-07-05 13:07:06 UTC
perl-Net-Random-2.22-2.fc19 has been submitted as an update for Fedora 19.

Comment 7 Fedora Update System 2013-07-05 13:07:54 UTC
perl-Net-Random-2.22-2.fc18 has been submitted as an update for Fedora 18.

Comment 8 Fedora Update System 2013-07-06 00:53:18 UTC
perl-Net-Random-2.22-2.fc19 has been pushed to the Fedora 19 testing repository.

Comment 9 Fedora Update System 2013-07-15 01:01:29 UTC
perl-Net-Random-2.22-2.fc19 has been pushed to the Fedora 19 stable repository.

Comment 10 Fedora Update System 2013-07-15 01:09:30 UTC
perl-Net-Random-2.22-2.fc18 has been pushed to the Fedora 18 stable repository.

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