Bug 722930 - Review Request: ddpt - dd utility variant for SCSI/storage devices
Summary: Review Request: ddpt - dd utility variant for SCSI/storage devices
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mario Blättermann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-18 14:03 UTC by Dan Horák
Modified: 2011-08-01 11:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-01 11:00:23 UTC
Type: ---
Embargoed:
mario.blaettermann: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Dan Horák 2011-07-18 14:03:23 UTC
Spec URL: http://fedora.danny.cz/ddpt.spec
SRPM URL: http://fedora.danny.cz/ddpt-0.92-1.fc16.src.rpm

Description:
The ddpt utility is a variant of the standard Unix command dd which copies
files. The ddpt utility specializes in files that are block devices. For block
devices that understand the SCSI command set, finer grain control over the
copy may be available via a SCSI pass-through interface. Note that recent
(S)ATA disks can often be driven by SCSI commands due to SCSI to ATA
translation (SAT) implemented in the kernel.

Comment 1 Mario Blättermann 2011-07-31 19:35:02 UTC
Koji scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3241983

$ rpmlint -i -v *
ddpt.i686: I: checking
ddpt.i686: W: summary-not-capitalized C dd utility variant for SCSI/storage devices
Summary doesn't begin with a capital letter.

ddpt.i686: I: checking-url http://sg.danny.cz/sg/ddpt.html (timeout 10 seconds)
ddpt.src: I: checking
ddpt.src: W: summary-not-capitalized C dd utility variant for SCSI/storage devices
Summary doesn't begin with a capital letter.

ddpt.src: I: checking-url http://sg.danny.cz/sg/ddpt.html (timeout 10 seconds)
ddpt.src: I: checking-url http://sg.danny.cz/sg/p/ddpt-0.92.tar.bz2 (timeout 10 seconds)
ddpt.x86_64: I: checking
ddpt.x86_64: W: summary-not-capitalized C dd utility variant for SCSI/storage devices
Summary doesn't begin with a capital letter.

ddpt.x86_64: I: checking-url http://sg.danny.cz/sg/ddpt.html (timeout 10 seconds)
ddpt-debuginfo.i686: I: checking
ddpt-debuginfo.i686: I: checking-url http://sg.danny.cz/sg/ddpt.html (timeout 10 seconds)
ddpt-debuginfo.x86_64: I: checking
ddpt-debuginfo.x86_64: I: checking-url http://sg.danny.cz/sg/ddpt.html (timeout 10 seconds)
ddpt.spec: I: checking-url http://sg.danny.cz/sg/p/ddpt-0.92.tar.bz2 (timeout 10 seconds)
5 packages and 1 specfiles checked; 0 errors, 3 warnings.

Just a single issue: the Summary line doesn't begin with a capital letter. I would recommend "Variant of the dd utility for SCSI/storage devices" to make rpmlint happy again.

Full review follows.

Comment 2 Mario Blättermann 2011-07-31 19:44:03 UTC
---------------------------------
key:

[+] OK
[.] OK, not applicable
[X] needs work
---------------------------------

[+] MUST: The package must be named according to the Package Naming Guidelines.
[+] MUST: The spec file name must match the base package %{name}.
[+] MUST: The package must meet the Packaging Guidelines.
[+] MUST: The package must be licensed with a Fedora approved license.
    BSD
[+] MUST: The License field in the package spec file must match the actual
license.
[+] MUST: The file containing the text of the license(s) for the package must
be included in %doc.
[+] MUST: The spec file must be written in American English.
[+] MUST: The spec file for the package MUST be legible.
[+] MUST: The sources used to build the package must match the upstream source.
    $ md5sum *
    4224a31bd3e6903d3371ebe7fdd46938  ddpt-0.92.tar.bz2
    4224a31bd3e6903d3371ebe7fdd46938  ddpt-0.92.tar.bz2.packaged

[+] MUST: The package MUST successfully compile and build into binary rpms on
at least one primary architecture.
- See Koji build above.
[.] MUST: If the package does not successfully compile, build or work on an
architecture, ...
[+] MUST: All build dependencies must be listed in BuildRequires.
[.] MUST: The spec file MUST handle locales properly.
[.] MUST: If a package installs files below %{_datadir}/icons, the icon cache
must be updated.
[.] MUST: Packages storing shared library files (not just symlinks) must call
ldconfig in %post and %postun.
[.] MUST: Packages must NOT bundle copies of system libraries.
[.] MUST: If the package is designed to be relocatable, ...
[+] MUST: A package must own all directories that it creates. 
[+] MUST: A Fedora package must not list a file more than once in %files.
[+] MUST: Permissions on files must be set properly.
[+] MUST: Packages must not provide RPM dependency information when that
information is not global in nature, or are otherwise handled.
[.] MUST: When filtering automatically generated RPM dependency information,
the filtering system implemented by Fedora must be used.
[+] MUST: Each package must consistently use macros.
[+] MUST: The package must contain code, or permissable content.
[.] MUST: Large documentation files must go in a -doc subpackage.
[+] MUST: Files in %doc must not affect the runtime of the application.
[.] MUST: Header files must be in a -devel package.
[.] MUST: Static libraries must be in a -static package.
[.] MUST: If a package contains library files with a suffix (e.g.
libfoo.so.1.1), ...
[.] MUST: devel packages must require the base package using a fully versioned
dependency.
[.] MUST: Packages must NOT contain any .la libtool archives.
[.] MUST: Packages containing GUI applications must include a %{name}.desktop
file
[.] MUST: .desktop files must be properly installed with desktop-file-install
in the %install section.
[+] MUST: Packages must not own files or directories already owned by other
packages.
[+] MUST: All filenames in rpm packages must be valid UTF-8.

[.] SHOULD: If the source package does not include license text(s) as a
    separate file from upstream, the packager SHOULD query upstream...
[+] SHOULD: Timestamps of files should be preserved.
[+] SHOULD: The reviewer should test that the package builds in mock.
    See Koji build above (which uses mock anyway)
[+] SHOULD: The reviewer should test that the package functions as described.
    I assume the packager has tested it. He's the upstream developer anyway...

[.] SHOULD: If scriptlets are used, those scriptlets must be sane.
[.] SHOULD: Usually, subpackages other than devel should require the base
package using a fully versioned dependency.
[.] SHOULD: pkgconfig(.pc) files should be placed in a -devel pkg.
[.] SHOULD: If the package has file dependencies outside of /etc, /bin, /sbin,
/usr/bin, or /usr/sbin ...
[.] SHOULD: Your package should contain man pages for binaries/scripts.
    Currently no man page available.


----------------

PACKAGE APPROVED

----------------

Please change the summary please before the package goes into VCS.

Comment 3 Mario Blättermann 2011-07-31 19:45:48 UTC
(In reply to comment #2)
> [.] SHOULD: Your package should contain man pages for binaries/scripts.
>     Currently no man page available.
Forget about it. Of course we have a man page here.

Comment 4 Dan Horák 2011-08-01 09:11:05 UTC
Mario, thanks for the review.


New Package SCM Request
=======================
Package Name: ddpt
Short Description: Variant of the dd utility for SCSI/storage devices
Owners: sharkcz
Branches: f14 f15 f16 el5 el6

Comment 5 Gwyn Ciesla 2011-08-01 09:59:37 UTC
Git done (by process-git-requests).

Comment 6 Dan Horák 2011-08-01 11:00:23 UTC
Imported and built.


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