https://bugzilla.redhat.com/show_bug.cgi?id=1121119

Jun Aruga <jar...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jar...@redhat.com



--- Comment #1 from Jun Aruga <jar...@redhat.com> ---
Hi, Steve.
Let me review it.

- Mock build was failed.

  $ mock -r fedora-rawhide-x86_64 rubygem-gyoku-1.1.1-1.fc20.src.rpm
  ...
  Error: nothing provides rubygem(tins) >= 1.6.0 needed by
rubygem-coveralls-0.8.10-1.fc24.noarch
  ...


  The srpm file requires rubygem-coveralls in the spec file.
  > BuildRequires: rubygem-coveralls

  But it is not good that the package requires coverage modules such as
rubygem-coveralls, simplecov, also bundler.
  So, you can remove below lines in the spec file.
  > Requires: rubygem(builder)
  > BuildRequires: rubygem(coveralls)
  > BuildRequires: rubygem(simplecov)

  And replace spec/spec_helper.rb by the using sed command in %check section,
not to run coverage.

  See other package's spec files for reference:
   
http://pkgs.fedoraproject.org/cgit/rpms/rubygem-timers.git/tree/rubygem-timers.spec
   
http://pkgs.fedoraproject.org/cgit/rpms/rubygem-web-console.git/tree/rubygem-web-console.spec
  [1]

- Unfortunately after your review request, the time has passed.
  The gyoku latest version became 1.3.1 from 1.1.1.
  You should update the version in rpm.


[1] To check other spec files, I used below way.

You can see rpm-specs-latest.tar.xz file at http://pkgs.fedoraproject.org/repo
This file includes all the latest spec files.

Downloaded the file.
Then to find the spec files that are using coverage module, using "sed" to
replace, and new.

tar xf rpm-specs-latest.tar.xz
cd rpm-specs
find . -name "rubygem-*" | xargs grep -l "sed -i" \
    | xargs grep -l "cov" \
    | xargs grep -A 10 "^%changelog"

-- 
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
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to