--- Comment #2 from Jun Aruga <> ---
Hi I reviewed it!

# Summary

- Dot files.
  You can do following way to prevenet rpmlint warnings "hidden-file-or-dir",
  removing the lines %{gem_instdir}/.gitmodules, and etc.
  I would recommend you use rpmlint tool by yourself.

%exclude %{gem_instdir}/.*

- Group tag 
  Personally I have never added Group in the spec file.
  So, could you tell me why it is needed?

- I think that you can remove the comment out lines "# BuildRequires: *" to
  though it is generated from gem2rpm template.

- Add test logic in %check section.
  Upstream has test logic.
  So, you can add the test logic.
  See .travis.yml, spec/, and

  I think first step to run the test, is run the upstream test on your local,
  Because of this error.

$ git clone
$ cd celluloid-essentials/
$ bundle install --path vendor/bundle
[!] There was an error parsing `Gemfile`: cannot load such file --
/home/jaruga/git/celluloid-essentials/culture/sync. Bundler cannot continue.

 #  from /home/jaruga/git/celluloid-essentials/Gemfile:1 
 #  -------------------------------------------
 >  require File.expand_path("../culture/sync", __FILE__)
 #  Celluloid::Sync::Gemfile[self]
 #  -------------------------------------------


- %files section
  I want to suggest the way
  - %files: only License document, and minimam files to run the library.
  - %files doc: other documents.

  - %{gem_instdir}/
    Move to %files doc section with
      %doc %{gem_instdir}/
  - %{gem_instdir}/tasks
    Move to %files doc

# The result of Fedora review

$ fedora-review -b 1370096

Package Review

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

- Package installs properly.
  Note: Installation errors (see attachment)

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

[X]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
[X]: License field in the package spec file matches the actual license.
     Note: There is no build directory. Running licensecheck on vanilla
     upstream sources. No licenses found. Please check the source files for
     licenses manually.
[X]: License file installed when any subpackage combination is installed.
[X]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/gems,
[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.
[X]: 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
[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.
[X]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[?]: 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]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[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 %license.
[x]: Package requires other packages for directories it uses.
[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]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[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
[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

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

[X]: Avoid bundling fonts in non-fonts packages.
     Note: Package contains font files
[-]: 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in rubygem-
[X]: Package functions as described.
[X]: Latest version is packaged.
[X]: Package does not include license text files separate from upstream.
[X]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[-]: Package should compile and build into binary rpms on all supported
[!]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
[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
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
[!]: When checking ruby code, install the ruby plugin.
[x]: Spec file according to URL is the same as in SRPM.

Installation errors
INFO: version 1.2.18 starting (python version = 3.4.3)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
Mock Version: 1.2.18
INFO: Mock Version: 1.2.18
Finish: chroot init
INFO: installing package(s):
ERROR: Command failed. See logs for output.
 # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
--releasever 25 --disableplugin=local --setopt=deltarpm=false install

Checking: rubygem-celluloid-essentials-0.20.5-1.fc26.noarch.rpm
rubygem-celluloid-essentials.noarch: W: spelling-error Summary(en_US)
superstructural -> super structural, super-structural, superstructure
rubygem-celluloid-essentials.noarch: W: no-documentation
rubygem-celluloid-essentials.noarch: W: hidden-file-or-dir
rubygem-celluloid-essentials.noarch: W: hidden-file-or-dir
rubygem-celluloid-essentials.noarch: W: hidden-file-or-dir
rubygem-celluloid-essentials.noarch: W: hidden-file-or-dir
rubygem-celluloid-essentials.src: W: spelling-error Summary(en_US)
superstructural -> super structural, super-structural, superstructure
3 packages and 0 specfiles checked; 0 errors, 7 warnings.

rubygem-celluloid-essentials-doc (rpmlib, GLIBC filtered):

rubygem-celluloid-essentials (rpmlib, GLIBC filtered):



Source checksums
---------------- :
  CHECKSUM(SHA256) this package     :
  CHECKSUM(SHA256) upstream package :

Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -b 1370096
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl,
Haskell, R, PHP

You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
package-review mailing list --
To unsubscribe send an email to

Reply via email to