Bug 672779

Summary: Review Request: perl-Module-Metadata - Gather package and POD information from perl module files
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: Package ReviewAssignee: Petr Pisar <ppisar>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, notting, ppisar
Target Milestone: ---Flags: ppisar: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: perl-Module-Metadata-1.000004-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-02 14:27:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 672839    
Bug Blocks: 672665    

Comment 1 Paul Howarth 2011-01-26 11:01:11 UTC
This package needs perl(version) >= 0.87, which isn't yet in Rawhide.

Comment 3 Petr Pisar 2011-02-03 11:01:05 UTC
Source tar ball is original. Ok.
Summary verified from lib/Module/Metadata.pm. Ok.
License verified from lib/Module/Metadata.pm. Ok.
No XS. BuildArch ok.
Description copied from %summary as upstream does not provide any. Ok.
Note: You can use the macro to avoid duplication in spec file.
Note: You can remove the BuildRoot code if you are not willing to support EPEL<=5 .

TODO: BuildRequire perl(File::Spec) (lib/Module/Metadata.pm:17) as the package can dual-live in the future (http://search.cpan.org/~smueller/PathTools/).
TODO: BuildRequire perl(IO::File) (lib/Module/Metadata.pm:18) as the package can dual-live in the future (http://search.cpan.org/~gbarr/IO/).
TODO: BuildRequire perl(File::Temp) (t/lib/MBTest.pm:7) as the package can dual-live in the future (http://search.cpan.org/~tjenness/File-Temp/).
TODO: BuildRequire perl(Exporter) (t/lib/MBTest.pm:66) as the package can dual-live in the future (http://search.cpan.org/~ferreira/Exporter/).
TODO: BuildRequire perl(Cwd) (t/lib/MBTest.pm:69) as the package can dual-live in the future (http://search.cpan.org/~smueller/PathTools/).
TODO: BuildRequire perl(File::Path) (t/lib/DistGen.pm:16) as the package can dual-live in the future (http://search.cpan.org/~dland/File-Path/)
TODO: BuildRequie perl(Data::Dumper) (t/lib/DistGen.pm:20) as the package can dual-live in the future (http://search.cpan.org/~smueller/Data-Dumper/)

perl(Module::Build) used at t/lib/DistGen.pm:528 is not loaded at test-time. Ok.

All tests pass. Ok.

$ rpmlint perl-Module-Metadata.spec ../SRPMS/perl-Module-Metadata-1.000004-1.fc15.src.rpm ../RPMS/noarch/perl-Module-Metadata-1.000004-1.fc15.noarch.rpm 
2 packages and 1 specfiles checked; 0 errors, 0 warnings.
rpmlint Ok.

$ rpm -q -lv -p ../RPMS/noarch/perl-Module-Metadata-1.000004-1.fc15.noarch.rpm
drwxr-xr-x    2 root    root                        0 Feb  3 11:27 /usr/share/doc/perl-Module-Metadata-1.000004
-rw-r--r--    1 root    root                      790 Feb  3 08:54 /usr/share/doc/perl-Module-Metadata-1.000004/Changes
-rw-r--r--    1 root    root                     3157 Feb  3 11:27 /usr/share/man/man3/Module::Metadata.3pm.gz
drwxr-xr-x    2 root    root                        0 Feb  3 11:27 /usr/share/perl5/Module
-rw-r--r--    1 root    root                    20759 Feb  3 08:53 /usr/share/perl5/Module/Metadata.pm
File layout and permissions Ok.

$ rpm -q --requires -p ../RPMS/noarch/perl-Module-Metadata-1.000004-1.fc15.noarch.rpm | sort | uniq -c
      1 perl(File::Find)  
      1 perl(File::Spec)  
      1 perl(IO::File)  
      1 perl(:MODULE_COMPAT_5.12.3)  
      1 perl(strict)  
      1 perl(vars)  
      1 perl(version) >= 0.87
      1 rpmlib(CompressedFileNames) <= 3.0.4-1
      1 rpmlib(FileDigests) <= 4.6.0-1
      1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      1 rpmlib(PayloadIsXz) <= 5.2-1
Binary requires Ok.

$ rpm -q --provides -p ../RPMS/noarch/perl-Module-Metadata-1.000004-1.fc15.noarch.rpm | sort | uniq -c
      1 perl(Module::Metadata) = 1.000004
      1 perl-Module-Metadata = 1.000004-1.fc15
Binary provides Ok.

$ resolvedeps-f15 perl-Module-Metadata-1.000004-1.fc15.noarch.rpm 
Binary dependencies resolvable. Ok.

Package builds in F15 (http://koji.fedoraproject.org/koji/taskinfo?taskID=2759587). Ok.

Otherwise package is in line with Fedora and perl packaging guide lines.


Resolution: Package APPROVED.

Comment 4 Marcela Mašláňová 2011-02-03 12:21:20 UTC
(In reply to comment #0)
> Spec URL:
> http://subversion.city-fan.org/repos/cfo-repo/perl-Module-Metadata/branches/fedora/perl-Module-Metadata.spec
> SRPM URL:
> http://www.city-fan.org/~paul/extras/perl-Module-Metadata/perl-Module-Metadata-1.000003-2.fc15.src.rpm
> 
> Description:
> Gather package and POD information from perl module files.

I've built perl-version-0.88 in rawhide.

Comment 5 Paul Howarth 2011-02-03 12:41:20 UTC
(In reply to comment #4)
> (In reply to comment #0)
> > Spec URL:
> > http://subversion.city-fan.org/repos/cfo-repo/perl-Module-Metadata/branches/fedora/perl-Module-Metadata.spec
> > SRPM URL:
> > http://www.city-fan.org/~paul/extras/perl-Module-Metadata/perl-Module-Metadata-1.000003-2.fc15.src.rpm
> > 
> > Description:
> > Gather package and POD information from perl module files.
> 
> I've built perl-version-0.88 in rawhide.

I see you've also had perl-version branched for f14; are you planning to update it to 0.88 there as well?

Comment 6 Paul Howarth 2011-02-03 16:03:30 UTC
I'll assume that f14 is going to have perl(version) >= 0.87 at some point.

Thanks for the review.

New Package SCM Request
=======================
Package Name: perl-Module-Metadata
Short Description: Gather package and POD information from perl module file
Owners: pghmcfc
Branches: f14
InitialCC: perl-sig

Comment 7 Kevin Fenzi 2011-02-03 21:18:46 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2011-02-21 09:36:41 UTC
perl-Module-Metadata-1.000004-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/perl-Module-Metadata-1.000004-2.fc14

Comment 9 Fedora Update System 2011-03-02 01:51:31 UTC
perl-Module-Metadata-1.000004-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.