[Bug 616779] Review Request: rubygem-json_pure - JSON implementation in pure Ruby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

--- Comment #4 from Mamoru Tasaka <mtasaka@xxxxxxxxxxxxxxxxxxx> 2010-07-23 13:24:40 EDT ---
Well, the problem is that
- rubygem-json already installs %{_bindir}/edit_json, %{_bindir}/prettify_json.
  So installing both rubygem-json, rubygem-json_pure may easily makes
  rpm conflict.
- if ruby -rubygems -e "require 'json'" is to be executed, we are not
  sure if we are using pure json ext/ or C module json ext/

By the way
(In reply to comment #3)
> Cucumber and other projects uses this because it's a "little bit" faster that
> original one.    
- Is it true that "pure" implementation is faster than C extension?

For spec file:
- For Fedora, BuildRoot tag is no longer needed (only needed for EPEL5)
- If the license is "the same as Ruby", the license tag should be
  "GPLv2 or Ruby".
- edit_json ahd prettify_json have the dependency for ruby(gtk2),
  so this package should have "Requires: ruby(gtk2)".
  For this issue, see the discussion on bug 589801
- "install.rb" "ext/" files or directories are not needed
  * ext/ directory is for generating C extension modules. For
    pure implementation, this directory should not be used.
    By the way:
(In reply to comment #1)
> Binary objects under tests directory are removed (%check), because they
> are only needed for test as an generators. 
    - I think Rakefile should be patched so that "$ rake check" also uses
      pure "generator" (lib/json/pure/generator.rb) instead of
      C extension generator.so (i.e so that ext/ directory is not
      needed even for rake check, if this gem is for pure implementation,
      and we want to check pure implementation on test)

- "benchmarks/" "tools/" "data/" "tests/" directories does not seem
  to be needed by default and it seems they are just documents,
  examples or so.
  Please mark these as %doc, or instead moving these directories
  (and ri document files) to -doc subpackage is preferred.
- defined %ruby_sitelib macro seems used nowhere.
- The directory %{geminstdir} is not owned by any packages.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]