Bug 622946
Summary: | Review Request: rubygem-bcrypt-ruby - Wrapper Around bcrypt() password hashing algorithm | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mo Morsi <mmorsi> |
Component: | Package Review | Assignee: | Mamoru TASAKA <mtasaka> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | fedora-package-review, mtasaka, notting |
Target Milestone: | --- | Flags: | mtasaka:
fedora-review+
kevin: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rubygem-bcrypt-ruby-2.1.2-2.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-09-01 17:42:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 621015 |
Description
Mo Morsi
2010-08-10 20:59:53 UTC
Some notes: * %define -> %global - Now we prefer to use %global instead of %define: https://fedoraproject.org/wiki/Packaging/Guidelines#.25global_preferred_over_.25define * License - Almost all files are under 4 clause BSD, except that ./ext/jruby/bcrypt_jruby/BCrypt.java is under MIT. The license tag should be "BSD with advertising and MIT". * BuildRoot - BuildRoot tag is no longer needed on Fedora and EPEL6: https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag * Make build log more verbose - Please add "-V" option to "gem install" so that we can check if Fedora specific compilation flags are correctly honored from build.log. * Arch dependent files / C source codes / etc handling - .c / .h source codes, Makefile, extconf.rb are all needed for creating .so file and should not be needed on runtime. - i.e. %geminstdir/ext/mri should be removed. - .o files are needed for creating .so file and should not be installed in binary rpm (i.e. please remove %ruby_sitearch/%gemname/*.o ) (also see below) - %{geminstdir}/lib/*.so symlink should not be needed (putting "real" .so files under %ruby_sitearch should be enough) (also see below) - %{geminstdir}/lib/bcrypt.rb is really needed and not %doc. - bcrypt_ext.so must be under %ruby_sitearch, not under %ruby_sitearch/%gemname (lib/bcrypt.so reads: ------------------------------------------------------------------- 6 else 7 $LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "ext", "mri"))) 8 require "bcrypt_ext" 9 require "openssl" 10 end ------------------------------------------------------------------- So bcrypt_ext.so must be under ruby default search path (i.e ruby -e 'puts $:'). ping? Once again apologize for the delay, all feedback has been integrated into the spec New Spec / SRPM: Spec URL: http://mo.morsi.org/files/gems/rubygem-bcrypt-ruby.spec SRPM URL: http://mo.morsi.org/files/gems/rubygem-bcrypt-ruby-2.1.2-2.fc13.src.rpm Okay. --------------------------------------------------------------- This package (rubygem-bcrypt-ruby) is APPROVED by mtasaka --------------------------------------------------------------- Note that I usually suggest to create -doc subpackage, however it is up to you. New Package SCM Request ======================= Package Name: rubygem-bcrypt-ruby Short Description: bcrypt-ruby provides a simple, humane wrapper to bcrypt() for safely handling passwords Owners: mmorsi Branches: f13 f14 InitialCC: Git done (by process-git-requests). rubygem-bcrypt-ruby-2.1.2-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rubygem-bcrypt-ruby-2.1.2-2.fc14 rubygem-bcrypt-ruby-2.1.2-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/rubygem-bcrypt-ruby-2.1.2-2.fc13 rubygem-bcrypt-ruby-2.1.2-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rubygem-bcrypt-ruby'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rubygem-bcrypt-ruby-2.1.2-2.fc13 Closing. rubygem-bcrypt-ruby-2.1.2-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. rubygem-bcrypt-ruby-2.1.2-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |