Spec URL: http://www.ioa.s.u-tokyo.ac.jp/~mtasaka/dist/extras/development/SPECS/ruby-bsearch.spec SRPM URL: http://www.ioa.s.u-tokyo.ac.jp/~mtasaka/dist/extras/development/SRPMS/ruby-bsearch-1.5-1.fc7.src.rpm Mock build log on FC-devel i386: http://www.ioa.s.u-tokyo.ac.jp/~mtasaka/dist/extras/development/LOGS/MOCK-ruby-bsearch.log Description: Ruby/Bsearch is a binary search library for Ruby. It can search the FIRST or LAST occurrence in an array with a condition given by a block.
Prereview as I'm still awaiting a sponsor: [build@ip-50 SPECS]$ rpmbuild -ba ruby-bsearch.spec sh: ruby: command not found sh: ruby: command not found sh: ruby: command not found error: Failed build dependencies: ruby is needed by ruby-bsearch-1.5-1.noarch [build@ip-50 SPECS]$ From: %{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")} Other than that, rpmlint clean, and matches policy requirements (from my knowledge).
Sorry, one more mistake: [build@ip-50 SPECS]$ rpm -qlp ../RPMS/noarch/ruby-bsearch-1.5-1.noarch.rpm /usr/lib/ruby/site_ruby/1.8/bsearch.rb /usr/share/doc/ruby-bsearch-1.5 /usr/share/doc/ruby-bsearch-1.5/ChangeLog /usr/share/doc/ruby-bsearch-1.5/bsearch.en.rd /usr/share/doc/ruby-bsearch-1.5/bsearch.ja.rd /usr/share/doc/ruby-bsearch-1.5/bsearch.png [build@ip-50 SPECS]$ grep License ruby-bsearch.spec License: GPL From ReviewGuidelines: SHOULD: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. Also, according to bsearch.rb, it is licensed under ruby's license, which looking at /usr/share/doc/ruby-1.8.5.35/COPYING is GPL plus a custom one. Might be better to reference as Ruby(GPL)?
(In reply to comment #1) > Prereview as I'm still awaiting a sponsor: > > [build@ip-50 SPECS]$ rpmbuild -ba ruby-bsearch.spec > sh: ruby: command not found > sh: ruby: command not found > sh: ruby: command not found > error: Failed build dependencies: > ruby is needed by ruby-bsearch-1.5-1.noarch ruby is in BuildRequires. (In reply to comment #2) > From ReviewGuidelines: > SHOULD: If the source package does not include license text(s) as a separate > file from upstream, the packager SHOULD query upstream to include it. Check bsearch.en.rd > Also, according to bsearch.rb, it is licensed under ruby's license, which > looking at /usr/share/doc/ruby-1.8.5.35/COPYING is GPL plus a custom one. Might > be better to reference as Ruby(GPL)? I don't know the Ruby(GPL) license tag. ruby uses "Ruby License/GPL", and actually this is a simple dual license and referring to the license as GPL is not a problem.
(In reply to comment #3) > (In reply to comment #1) > > Prereview as I'm still awaiting a sponsor: > > > > [build@ip-50 SPECS]$ rpmbuild -ba ruby-bsearch.spec > > sh: ruby: command not found > > sh: ruby: command not found > > sh: ruby: command not found > > error: Failed build dependencies: > > ruby is needed by ruby-bsearch-1.5-1.noarch > ruby is in BuildRequires. True, but this happens before build requires are processed, but I've noticed that it happens no matter where the line is in the specfile. I'd approve if I could.
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #1) > > > Prereview as I'm still awaiting a sponsor: > > > > > > [build@ip-50 SPECS]$ rpmbuild -ba ruby-bsearch.spec > > > sh: ruby: command not found > > > sh: ruby: command not found > > > sh: ruby: command not found > > > error: Failed build dependencies: > > > ruby is needed by ruby-bsearch-1.5-1.noarch > > ruby is in BuildRequires. > > True, but this happens before build requires are processed, but I've noticed > that it happens no matter where the line is in the specfile. Yes, ruby_sitelib cannot be defined before build requires are processed, however ruby_sitelib is not used at this stage and this is not a problem. Check what happens on mock build log. this situation is not unusual. > I'd approve if I could. What do you mean?
(In reply to comment #5) > (In reply to comment #4) > > I'd approve if I could. > What do you mean? > I was refering to the fact that if I was in a position to do an actual review (and approve new packages), I'd approve it, but as I'm unsponsored I can't. Sorry if I put it in a confusing way.
MUST Items: - MUST: The package is named according to the Package Naming Guidelines. - MUST: The package meets the Packaging Guidelines. - MUST: The package is licensed (GPL) with an open-source compatible license and meet other legal requirements as defined in the legal section of Packaging Guidelines. - MUST: The License field in the package spec file matches the actual license Ruby(GPL). - MUST: The spec file is written in American English. - MUST: The sources used to build the package must matches the upstream source, as provided in the spec URL. - MUST: The package successfully compiles and builds into binary rpms on at least i386. - MUST: All build dependencies is listed in BuildRequires. - MUST: the package is not designed to be relocatable - MUST: the package owns all directories that it creates. - MUST: the package does not contain any duplicate files in the %files listing. - MUST: Permissions on files are set properly. - MUST: The package has a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT). - MUST: The package consistently uses macros, as described in the macros section of Packaging Guidelines. - MUST: The package contains code, or permissable content. This is described in detail in the code vs. content section of Packaging Guidelines. - MUST: There are no Large documentation files - MUST: %doc does not affect the runtime of the application. To summarize: If it is in %doc, the program must run properly if it is not present. - MUST: The package does not contain library files with a suffix - MUST: Package does not own files or directories already owned by other packages. SHOULD Items: - SHOULD: mock builds succcessfully in i386. - SHOULD: The reviewer tested that the package functions as described. A package should not segfault instead of running, for example. - SHOULD: No scriptlets were used, those scriptlets must be sane. - SHOULD: No subpackages present. APPROVED!
Thank you! Request for CVS admin: ------------------------------------------------- New Package CVS Request ======================= Package Name: ruby-bsearch Short Description: Binary search library for Ruby Owners: mtasaka.u-tokyo.ac.jp Branches: devel FC-6 FC-5 InitialCC: (nobody) --------------------------------------------------
Rebuilt for all branches, closing. Thank you for reviewing and approving this package!!