[Bug 569198] Review Request: rubygem-rmail - A MIME mail parsing and generation library
bugzilla at redhat.com
bugzilla at redhat.com
Mon Apr 5 17:30:18 UTC 2010
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=569198
Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mtasaka at ioa.s.u-tokyo.ac.jp
--- Comment #1 from Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 2010-04-05 13:30:13 EDT ---
! Notes
- Please be familiar with rpmlint (available in "rpmlint" binary
rpm) and check your srpm / rebuilt binary rpm / installed rpm
with rpmlint.
Some initial comments
* spec file name
- The name of this spec file must be "rubygem-rmail.spec"
( see: $ rpmlint -I invalid-spec-name )
* %define -> %global
- We now prefer to use %global instead of %define:
https://fedoraproject.org/wiki/Packaging/Guidelines#.25global_preferred_over_.25define
* Group
- We usually choose "Development/Languages" for rubygem related packages.
* License
- This package is under "BSD"
* Requires/BuildRequires fix
--------------------------------------------------------------
16 Requires: rubygems
17 BuildRequires: ruby(rubygems)
33 Requires:ruby(rubygems)
--------------------------------------------------------------
- You use both "rubygems" and "ruby(rubygems)" (Build)Requires. Please
choose one style ( note that "BuildRequires: rubygem(rake)" should
be as it is )
--------------------------------------------------------------
23 %package -n ruby-%{gemname}
27 Provides: ruby(%{gemname})= %{version}-%{release}
--------------------------------------------------------------
- With this line ruby-rmail has "Provides: ruby(rmail)=" and
"Provides: 1.0.0-1.fc??" and this is not expected.
( see: $ rpmlint -I comparison-operator-in-deptoken )
? non-gem compatibility package
- Would you explain why non-gem compatibility package is needed for this
package?
* Directory ownership issue
https://fedoraproject.org/wiki/Packaging/Guidelines#File_and_Directory_Ownership
https://fedoraproject.org/wiki/Packaging/UnownedDirectories#Forgetting_to_Include_a_Toplevel_Directory
- The following directories themselves are not owned by any packages:
---------------------------------------------------------------
%{geminstdir}
%{geminstdir}/lib
---------------------------------------------------------------
* script without executable permission including shebang
---------------------------------------------------------------
rubygem-rmail-doc.noarch: E: non-executable-script
/usr/lib/ruby/gems/1.8/gems/rmail-1.0.0/test/runtests.rb 0644L /usr/bin/env
rubygem-rmail-doc.noarch: E: non-executable-script
/usr/lib/ruby/gems/1.8/gems/rmail-1.0.0/test/testtestbase.rb 0644L /usr/bin/env
rubygem-rmail-doc.noarch: E: non-executable-script
/usr/lib/ruby/gems/1.8/gems/rmail-1.0.0/test/testmboxreader.rb 0644L
/usr/bin/env
rubygem-rmail-doc.noarch: E: non-executable-script
/usr/lib/ruby/gems/1.8/gems/rmail-1.0.0/test/testmessage.rb 0644L /usr/bin/env
...
...
---------------------------------------------------------------
- These scripts need not have shebangs.
--
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.
More information about the package-review
mailing list