Bug 539268
Summary: | Review Request: rubygem-will_paginate - Most awesome pagination solution for Rail | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Darryl L. Pierce <dpierce> |
Component: | Package Review | Assignee: | Michal Fojtik <mfojtik> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-package-review, mfojtik, mtasaka, notting, tross |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | Flags: | mtasaka:
fedora-review?
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-05-18 12:06:25 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: |
Description
Darryl L. Pierce
2009-11-19 19:01:04 UTC
Some quick notes: * %define -> %global - Now Fedora prefers to use %global than %define: https://fedoraproject.org/wiki/Packaging/Guidelines#.25global_preferred_over_.25define * License - is MIT * Source - Please use http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem * Requires/BuildRequires - "Requires: ruby(abi) = 1.8" is a must: https://fedoraproject.org/wiki/Packaging/Ruby#Ruby_Packaging_Guidelines Also I usually suggest to add "BuildRequires: ruby(abi) = 1.8" for consistency. - Please check the needed Requires manually. For example (only an example), lib/will_paginate.rb contains: ------------------------------------------------------------- 1 require 'active_support' ------------------------------------------------------------- This means this binary rpm should have at least "Requires: rubygem(activesupport)". ! Note: use "rubygem(activesupport)" virtual Provides style for Requires instead of using rpm names directly, ref: https://fedoraproject.org/wiki/Packaging/Perl#Perl_Requires_and_Provides * Using macros - As %geminstdir is defined, please replace %{gemdir}/gems/%{gemname}-%{version}/ (in %files) with this. - %ruby_sitelib seems to be used nowhere (in this spec file). * Duplicate files - Please fix below: ------------------------------------------------------------- 57 warning: File listed twice: /usr/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/CHANGELOG.rdoc 58 warning: File listed twice: /usr/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/LICENSE 59 warning: File listed twice: /usr/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/README.rdoc ------------------------------------------------------------- https://fedoraproject.org/wiki/Packaging/Guidelines#Duplicate_Files - Note: please keep these files marked as %doc. * Test program - As this rpm contains %geminstdir/test/ please add %check section and execute some test program (some extra BuildRequires are also needed). ping? Sorry, have been getting SIGLIFE'd since your post. I'll have an update in the next week or so. (In reply to comment #1) > Some quick notes: > > * %define -> %global > - Now Fedora prefers to use %global than %define: Done. > * License > - is MIT Done. > * Source > - Please use http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem Done. > * Requires/BuildRequires > - "Requires: ruby(abi) = 1.8" is a must: > https://fedoraproject.org/wiki/Packaging/Ruby#Ruby_Packaging_Guidelines > Also I usually suggest to add "BuildRequires: ruby(abi) = 1.8" > for consistency. > > - Please check the needed Requires manually. > For example (only an example), lib/will_paginate.rb contains: > ------------------------------------------------------------- > 1 require 'active_support' > ------------------------------------------------------------- > This means this binary rpm should have at least > "Requires: rubygem(activesupport)". > ! Note: use "rubygem(activesupport)" virtual Provides style for > Requires instead of using rpm names directly, ref: > https://fedoraproject.org/wiki/Packaging/Perl#Perl_Requires_and_Provides Done. Added a few BuildRequires and Requires for running tests. > * Using macros > - As %geminstdir is defined, please replace > %{gemdir}/gems/%{gemname}-%{version}/ > (in %files) with this. Done. > - %ruby_sitelib seems to be used nowhere (in this spec file). Removed. > * Duplicate files > - Please fix below: > ------------------------------------------------------------- > 57 warning: File listed twice: > /usr/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/CHANGELOG.rdoc > 58 warning: File listed twice: > /usr/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/LICENSE > 59 warning: File listed twice: > /usr/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/README.rdoc > ------------------------------------------------------------- > https://fedoraproject.org/wiki/Packaging/Guidelines#Duplicate_Files > - Note: please keep these files marked as %doc. Fixed. > * Test program > - As this rpm contains %geminstdir/test/ please add %check section and > execute some test program (some extra BuildRequires are also needed). Done. Updated spec: http://mcpierce.fedorapeople.org/rpms/rubygem-will_paginate.spec Updated SRPM: http://mcpierce.fedorapeople.org/rpms/rubygem-will_paginate-2.3.11-2.fc12.src.rpm Well, it seems I completely forgot this review request... For -2: * BuildRequires - Please add some missing BuildRequires http://koji.fedoraproject.org/koji/taskinfo?taskID=1890393 ping? S(In reply to comment #6) > ping? Sorry, was on holiday break starting with the 24th and then caught up in work since. As my requirements have changed and my use of Ruby has ceased, I'm going to withdraw this package review so that someone else may submit it. Michal, why did you change the assignee of this bug? (also this bug is already closed). Updated spec: http://mifo.sk/RPMS/rubygem-will_paginate.spec Updated SRPM: http://mifo.sk/RPMS/rubygem-will_paginate-2.3.12-1.fc13.src.rpm Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=219667 (In reply to comment #8) > Michal, why did you change the assignee of this bug? > (also this bug is already closed). I wanted to fix issue with BuildRequires and take cate of this package. I could reopen this request as a new bug. I'm sorry, proper Koji URL was: http://koji.fedoraproject.org/koji/taskinfo?taskID=2193667 If you want to import this package into Fedora, please file a new review request and mark this bug as a duplicate of the new one (the submitter cannot be the reviewer anyway). *** This bug has been marked as a duplicate of bug 593274 *** |