Bug 811239

Summary: Review Request: perl-Data-Dumper - Stringify perl data structures, suitable for printing and eval
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: Package ReviewAssignee: Petr Šabata <psabata>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: andrea.veri, notting, package-review, paul, psabata
Target Milestone: ---Flags: psabata: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: perl-Data-Dumper-2.131-1.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 13:57:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Pisar 2012-04-10 14:06:08 UTC
Spec URL: http://ppisar.fedorapeople.org/perl-Data-Dumper/perl-Data-Dumper.spec
SRPM URL: http://ppisar.fedorapeople.org/perl-Data-Dumper/perl-Data-Dumper-2.131-1.fc18.src.rpm
Description:
Given a list of scalars or reference variables, writes out their contents
in perl syntax. The references can also be objects. The content of each
variable is output in a single Perl statement. Handles self-referential
structures correctly.

-----
This package can go under review after sub-packaging perl-Data-Dumper in perl SPEC file.

Comment 1 Petr Pisar 2012-04-10 15:25:11 UTC
The Data::Dumper module has been sub-packaged in perl-5.14.2-213.fc18.

Comment 2 Petr Šabata 2012-04-12 13:06:50 UTC
Package Review
==============

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated


==== Generic ====
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[x]: MUST %build honors applicable compiler flags or justifies otherwise.
[!]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Buildroot is not present
     Note: Unless packager wants to package for EPEL5 this is fine
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean would be needed if support for EPEL is required
[x]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: Note: defattr macros not found. They would be needed for EPEL5
[-]: MUST Macros in Summary, %description expandable at SRPM build time.
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
[-]: MUST Large documentation files are in a -doc subpackage, if required.
[-]: MUST If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %doc.
[x]: MUST License field in the package spec file matches the actual license.
[x]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[!]: MUST Requires correct, justified where necessary.
[x]: MUST Rpmlint output is silent.
[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
/home/contyk/src/review/811239/Data-Dumper-2.131.tar.gz :
  MD5SUM this package     : 653ac6576e6916446419ae4ba786073f
  MD5SUM upstream package : 653ac6576e6916446419ae4ba786073f
[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: MUST Package contains a SysV-style init script if in need of one.
[x]: MUST File names are valid UTF-8.
[x]: MUST Useful -debuginfo package or justification otherwise.
[x]: SHOULD Reviewer should test that the package builds in mock.
[-]: SHOULD If the source package does not include license text(s) as a
     separate file from upstream, the packager SHOULD query upstream to
     include it.
[x]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[!]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[x]: SHOULD Package functions as described.
[x]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[x]: SHOULD SourceX is a working URL.
[-]: SHOULD Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[x]: SHOULD %check is present and all tests pass.
[x]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[-]: SHOULD Spec use %global instead of %define.

Issues:
FIX: Both BuildRequire and Require Scalar::Util


Generated by fedora-review 0.2.0git
External plugins:

Comment 3 Petr Pisar 2012-04-13 12:22:40 UTC
You're right. Updated package is at the same place.

Comment 4 Petr Šabata 2012-04-13 12:36:44 UTC
diff --git a/perl-Data-Dumper.spec b/perl-Data-Dumper.spec
index fdd8d14..70febf5 100644
--- a/perl-Data-Dumper.spec
+++ b/perl-Data-Dumper.spec
@@ -10,12 +10,14 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(XSLoader)
 # Tests only:
 BuildRequires:  perl(Test::More) >= 0.60
 # Optional tests:
 BuildRequires:  perl(Encode)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
+Requires:       perl(Scalar::Util)
 Requires:       perl(XSLoader)
 
 %{?perl_default_filter}

Comment 5 Petr Pisar 2012-04-13 13:11:59 UTC
New Package SCM Request
=======================
Package Name: perl-Data-Dumper 
Short Description: Stringify perl data structures, suitable for printing and eval
Owners: ppisar mmaslano psabata
Branches: 
InitialCC: perl-sig

Comment 6 Gwyn Ciesla 2012-04-13 13:26:51 UTC
Git done (by process-git-requests).

Comment 7 Petr Pisar 2012-04-13 13:57:22 UTC
Thank you for the review and the repository.

Comment 8 Andrea Veri 2013-05-10 09:50:33 UTC
Package Change Request
======================
Package Name: perl-Data-Dumper
New Branches: el6
Owners: averi psabata
InitialCC: perl-sig

Comment 9 Gwyn Ciesla 2013-05-10 10:58:44 UTC
Git done (by process-git-requests).

Comment 10 Paul Howarth 2013-05-10 11:01:23 UTC
This module is bundled with the EL-6 perl package and *cannot* be in EPEL-6!

# yum install 'perl(Data::Dumper)'
Loaded plugins: rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package 4:perl-5.10.1-131.el6_4.x86_64 already installed and latest version
Nothing to do