Bug 1040767

Summary: Review Request: rubygem-net-irc - Library for implementing IRC server and client
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: Package ReviewAssignee: Ken Dreyer <ktdreyer>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ktdreyer, package-review
Target Milestone: ---Flags: ktdreyer: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-29 17:04:43 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 Mamoru TASAKA 2013-12-12 05:18:11 UTC
Spec URL: http://mtasaka.fedorapeople.org/Review_request/gem-related/rubygem-net-irc.spec
SRPM URL: http://mtasaka.fedorapeople.org/Review_request/gem-related/rubygem-net-irc-0.0.9-1.git4cf339fa69.fc.src.rpm
Description: 
library for implementing IRC server and client
Fedora Account System Username: mtasaka

Comment 1 Ken Dreyer 2013-12-12 10:47:43 UTC
Hi Mamoru, I can take this review.

Comment 2 Ken Dreyer 2013-12-12 18:42:34 UTC
Looks good to me. I found three corrections, none blocking. Package APPROVED.

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- "AUTHORS.txt no useful" should read "not useful".

- Since the license field is GPLv2, you'll need to ship a copy of the GPLv2 text from the FSF.

- Please filter /usr/bin/env from Requires (see rubygem-net-irc-doc).

===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[-]: 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]: License field in the package spec file matches the actual license.
[!]: License file installed when any subpackage combination is installed.
[x]: If the package is under multiple licenses, the licensing breakdown must
     be documented in the spec.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[-]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Ruby:
[x]: Platform dependent files must all go under %{gem_extdir_mri}, platform
     independent under %{gem_dir}.
[x]: Gem package must not define a non-gem subpackage
[x]: Macro %{gem_extdir} is deprecated.
[x]: Gem package is named rubygem-%{gem_name}
[x]: Package contains BuildRequires: rubygems-devel.
[x]: Gem package must define %{gem_name} macro.
[x]: Pure Ruby package must be built as noarch
[x]: Package does not contain Requires: ruby(abi).
[x]: Package contains Requires: ruby(release).

===== SHOULD items =====

Generic:
[!]: 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]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
[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]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

Ruby:
[x]: Specfile should use macros from rubygem-devel package.
[x]: Gem package should exclude cached Gem.
[x]: Gem should use %gem_install macro.
[x]: Test suite of the library should be run.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: rubygem-net-irc-0.0.9-1.git4cf339fa69.fc21.noarch.rpm
          rubygem-net-irc-doc-0.0.9-1.git4cf339fa69.fc21.noarch.rpm
          rubygem-net-irc-0.0.9-1.git4cf339fa69.fc21.src.rpm
3 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint rubygem-net-irc rubygem-net-irc-doc
2 packages and 0 specfiles checked; 0 errors, 0 warnings.
# echo 'rpmlint-done:'



Requires
--------
rubygem-net-irc (rpmlib, GLIBC filtered):
    ruby(release)
    ruby(rubygems)

rubygem-net-irc-doc (rpmlib, GLIBC filtered):
    /usr/bin/env
    rubygem-net-irc



Provides
--------
rubygem-net-irc:
    rubygem(net-irc)
    rubygem-net-irc

rubygem-net-irc-doc:
    rubygem-net-irc-doc



Source checksums
----------------
https://github.com/cho45/net-irc/archive/4cf339fa69652faa2d5a4153b94754aa05543731/net-irc-4cf339fa69.tar.gz :
  CHECKSUM(SHA256) this package     : 38f331139784362a97f46b56859612ca8e7805e398bfed926473f043f515eaaa
  CHECKSUM(SHA256) upstream package : 38f331139784362a97f46b56859612ca8e7805e398bfed926473f043f515eaaa


Generated by fedora-review 0.5.0 (920221d) last change: 2013-08-30
Command line :/usr/bin/fedora-review -m fedora-rawhide-i386 -b 1040767 -x CheckDirectoryRequire,CheckOwnDirs
Buildroot used: fedora-rawhide-i386
Active plugins: Generic, Ruby, Shell-api
Disabled plugins: Java, C/C++, Python, SugarActivity, Perl, R, PHP
Disabled flags: EPEL5, EXARCH, DISTTAG

Comment 3 Ken Dreyer 2013-12-12 18:51:40 UTC
One other thing: please adjust the package to have the date in the Release tag. See https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Snapshot_packages

It should be:

Release:	1.20131212git%{shorthash}%{?dist}

Comment 4 Mamoru TASAKA 2013-12-15 13:35:41 UTC
Okay, thank you. I will incorporate your comments when importing this
package into git.


New Package SCM Request
=======================
Package Name: rubygem-net-irc
Short Description: Library for implementing IRC server and client
Owners: mtasaka
Branches: f19 f20

Comment 5 Gwyn Ciesla 2013-12-16 13:46:58 UTC
Git done (by process-git-requests).

Comment 6 Mamoru TASAKA 2013-12-22 15:55:41 UTC
(In reply to Ken Dreyer from comment #2)
> - Please filter /usr/bin/env from Requires (see rubygem-net-irc-doc).

I will keep this, as scripts in -doc package actually depends
on this.

Comment 7 Mamoru TASAKA 2013-12-29 17:04:43 UTC
Rebuilt on all branches, in testing on stable branches, closing.

Thank you for review and git procedure.