Bug 463010 (cpan-upload) - Review Request: cpan-upload - Automate the uploading of files to the CPAN (PAUSE)
Summary: Review Request: cpan-upload - Automate the uploading of files to the CPAN (PA...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: cpan-upload
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: manuel wolfshant
QA Contact: Fedora Extras Quality Assurance
URL: ftp://ftp.cpan.org/pub/CPAN/authors/i...
Whiteboard:
Depends On: perl-AppConfig-Std
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-20 17:57 UTC by Chris Weyl
Modified: 2008-09-22 21:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-22 21:15:45 UTC
Type: ---
Embargoed:
manuel.wolfshant: fedora-review+
huzaifas: fedora-cvs+


Attachments (Terms of Use)

Description Chris Weyl 2008-09-20 17:57:34 UTC
SRPM URL: http://fedora.biggerontheinside.net/review/cpan-upload-2.2-1.fc9.src.rpm
SPEC URL: http://fedora.biggerontheinside.net/review/cpan-upload.spec

Description:
cpan-upload is a script which automates the process of uploading a file to
CPAN using PAUSE, the Perl Authors Upload Server.  For example, to upload a
recent version of the Net::Dict module I ran:

    % cpan-upload -verbose Net-Dict-1.07.tar.gz

If everything went OK, you’ll get two mail messages from the PAUSE monitor:
one to acknowledge the upload, and one to let you know if your upload made
it through to CPAN.

Comment 1 manuel wolfshant 2008-09-21 00:27:37 UTC
Package Review
==============

Key:
 - = N/A
 x = Check
 ! = Problem
 ? = Not evaluated

=== REQUIRED ITEMS ===
 [x] Package is named according to the Package Naming Guidelines.
 [x] Spec file name must match the base package %{name}, in the format %{name}.spec.
 [x] Package meets the Packaging Guidelines including the Perl specific items
 [x] Package successfully compiles and builds into binary rpms on at least one supported architecture.
     Tested on: devel/x86_64
 [x] Rpmlint output:
source RPM: empty
binary RPM:empty
 [x] Package is not relocatable.
 [x] Buildroot is correct (%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n))
 [x] Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines.
 [x] License field in the package spec file matches the actual license.

     License type: GPL+ or Artistic (same as perl)
 [x] 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] Spec file is legible and written in American English.
 [!] Sources used to build the package matches the upstream source, as provided in the spec URL.
     The URL and Source0 fields are incorrect. sha1sum matches however the file downloaded from http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/scripts/cpan-upload-2.2.tar.gz
        1a44896b8ed4af6fecf3fc0e10b129822b288945  cpan-upload-2.2.tar.gz
 [x] Package is not known to require ExcludeArch
 [x] All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines.
 [-] The spec file handles locales properly.
 [-] ldconfig called in %post and %postun if required.
 [x] Package must own all directories that it creates.
 [x] Package requires other packages for directories it uses.
 [x] Package does not contain duplicates in %files.
 [x] Permissions on files are set properly.
 [x] Package has a %clean section, which contains rm -rf %{buildroot}
 [x] Package consistently uses macros.
 [x] Package contains code, or permissable content.
 [-] Large documentation files are in a -doc subpackage, if required.
 [x] Package uses nothing in %doc for runtime.
 [-] Header files in -devel subpackage, if present.
 [-] Static libraries in -devel subpackage, if present.
 [-] Package requires pkgconfig, if .pc files are present.
 [-] Development .so files in -devel subpackage, if present.
 [-] Fully versioned dependency in subpackages, if present.
 [x] Package does not contain any libtool archives (.la).
 [-] Package contains a properly installed %{name}.desktop file if it is a GUI application.
 [?] Package does not own files or directories owned by other packages.
 [?] Package functions as described.
 [-] Scriptlets must be sane, if used.
 [-] The placement of pkgconfig(.pc) files is correct.
 [-] File based requires are sane.

=== SUGGESTED ITEMS ===
 [x] Latest version is packaged.
 [x] Package does not include license text files separate from upstream.
 [-] Description and summary sections in the package spec file contains translations for supported Non-English languages, if available.
 [x] Reviewer should test that the package builds in mock.
     Tested on: devel/x86_64
 [x] Package should compile and build into binary rpms on all supported architectures.

==========
  ISSUES
==========
The URL and Source0 are not correct, I see nothing at all below ftp://ftp.cpan.org.
However http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/scripts/cpan-upload-2.2.tar.gz worked fine for me as Source0 (and more important, matched the checksum of the file from your src.rpm), with http://search.cpan.org/src/NEILB/cpan-upload-2.2/ as URL. I'll trust you to fix those before uploading to CVS

Package is APPROVED.

Comment 2 Chris Weyl 2008-09-21 01:22:52 UTC
(In reply to comment #1)
> The URL and Source0 are not correct, I see nothing at all below
> ftp://ftp.cpan.org.
> However
> http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/scripts/cpan-upload-2.2.tar.gz
> worked fine for me as Source0 (and more important, matched the checksum of the
> file from your src.rpm), with http://search.cpan.org/src/NEILB/cpan-upload-2.2/
> as URL. I'll trust you to fix those before uploading to CVS
> 
> Package is APPROVED.

Huh, weird.  I swear I downloaded it from there :)  I'll update the URL/Source0 lines before importing.

Comment 3 Chris Weyl 2008-09-21 01:24:32 UTC
New Package CVS Request
=======================
Package Name: cpan-upload
Short Description: Automate the uploading of files to the CPAN (PAUSE)
Owners: cweyl
Branches: F-8, F-9, devel
InitialCC:

Comment 4 Huzaifa S. Sidhpurwala 2008-09-22 09:40:49 UTC
cvs done

Comment 5 Chris Weyl 2008-09-22 21:15:45 UTC
Imported and built in devel.  Thanks for the review! :)


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