Bug 426643 - Review Request: perl-Linux-Pid - Get the native PID and the PPID on Linux
Summary: Review Request: perl-Linux-Pid - Get the native PID and the PPID on Linux
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-23 16:10 UTC by Xavier Bachelot
Modified: 2008-01-13 17:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-13 17:48:23 UTC
Type: ---
Embargoed:
panemade: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Xavier Bachelot 2007-12-23 16:10:14 UTC
Spec URL: http://washington.kelkoo.net/fedora/SPECS/perl-Linux-Pid.spec
SRPM URL: http://washington.kelkoo.net/fedora/SRPMS/perl-Linux-Pid-0.04-1.fc8.src.rpm
Description: Linux::Pid gets the native PID and the PPID on Linux. It's useful with multithreaded programs. Linux's C library returns different values of the PID and the PPID from different threads. This module forces Perl to call the underlying C functions getpid() and getppid().

Comment 2 Parag AN(पराग) 2007-12-23 17:50:57 UTC
make test should execute all tests successfully
But here I see that
t/threaded....ok
        2/9 skipped: thread model is NPTL 2.7.90
All tests successful, 2 subtests skipped.

Comment 3 Xavier Bachelot 2007-12-23 18:13:23 UTC
I believe this is regular behavior. The tests are skipped, not failed.

Comment 4 Parag AN(पराग) 2007-12-24 05:10:30 UTC
I think only Author/Developer tests that are skipped are ok. But all tests
should be executed successfully.

Comment 5 Xavier Bachelot 2008-01-09 10:12:32 UTC
Not sure what you call 'Author/Developer tests'. Anyway, I'm asking some perl
devs here to take a look at the issue.

Comment 6 Ralf Corsepius 2008-01-12 05:52:46 UTC
This test is OK. 

It is checking the runtime environment for a specific pthread model and skips
some subtests if it doesn't find the pthread model this it wants to test the
behavior of.

What is not OK with this package's spec (MUSTFIX):
1.
%check ||:

We want to see breakdowns in testsuites => remove the ||:

2. the "BuildRequires:"
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)  
seems sufficient.

All others seem superfluous to me.



Comment 7 Parag AN(पराग) 2008-01-12 06:24:24 UTC
thanks Ralf.
Xavier, Can you please provide new updates SRPM that fix issues in above comment?

Comment 9 Parag AN(पराग) 2008-01-12 12:44:45 UTC
Review:
+ package builds in mock (rawhide i386).
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url
130c4d299f827abf1f2285fddf03fccb  Linux-Pid-0.04.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc file present.
+ no -devel subpackage
+ no .la files.
+ no translations are available
+ Does owns the directories it creates.
+ no scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ make test outputs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/basic.......ok
t/import......ok
t/threaded....ok
        2/9 skipped: thread model is NPTL 2.7.90
All tests successful, 2 subtests skipped.
Files=3, Tests=13,  0 wallclock secs ( 0.08 cusr +  0.03 csys =  0.11 CPU)

+ Package perl-Linux-Pid-0.04-3.fc9 =>
  Provides: Pid.so perl(Linux::Pid) = 0.04
    Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3)
perl(:MODULE_COMPAT_5.8.8) perl(XSLoader) perl(strict) perl(warnings) 


APPROVED.


Comment 10 Xavier Bachelot 2008-01-12 12:53:49 UTC
Thx Parag.

New Package CVS Request
=======================
Package Name: perl-Linux-Pid
Short Description: Get the native PID and the PPID on Linux
Owners: xavierb
Branches: F-8
InitialCC: 
Cvsextras Commits: yes

Comment 11 Kevin Fenzi 2008-01-12 20:34:40 UTC
cvs done.

Comment 12 Xavier Bachelot 2008-01-13 17:48:23 UTC
Imported and built for devel and F-8.


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