Bug 361211

Summary: Review Request: rubygem-actionpack - Web-flow and rendering framework putting the VC in MVC
Product: [Fedora] Fedora Reporter: David Lutterkort <lutter>
Component: Package ReviewAssignee: Scott Seago <sseago>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, hbrock, notting
Target Milestone: ---Flags: sseago: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-03 23:49:29 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: 361191    

Description David Lutterkort 2007-11-01 01:51:41 UTC
Spec URL: http://people.redhat.com/dlutter/yum/spec/rubygem-actionpack.spec
SRPM URL: http://people.redhat.com/dlutter/yum/SRPMS/rubygem-actionpack-1.13.5-1.src.rpm

Description:

Eases web-request routing, handling, and response as a half-way front,
half-way page controller. Implemented with specific emphasis on enabling easy
unit/integration testing that doesn't require a browser.

Comment 1 Scott Seago 2007-11-07 16:56:44 UTC
OK - Package name
OK - License info is accurate
OK - License tag is correct and licenses are approved
OK - Specfile name
OK - Specfile is legible
OK - No prebuilt binaries included
OK - PreReq not used
OK - Source md5sum matches upstream
OK - No hardcoded pathnames
OK - Package owns all the files it installs
OK - Package requires create needed unowned directories
OK - Package builds successfully on i386 and x86_64 
OK - BuildRequires sufficient
OK - File permissions set properly (except for rpmlint error below)
OK - Macro usage is consistent

OK - Package is named rubygem-%{gemname}
OK - Source points to full URL of gem
OK - Package version identical with gem version
OK - Package Requires and BuildRequires rubygems
OK - Package provides rubygem(%{gemname}) = %version
OK - Package requires gem dependencies correctly
OK - %prep and %build are empty
OK - %gemdir defined properly, and gem installed into it
OK - Package owns its directories under %gemdir
OK - No arch-specific content in %{gemdir}
OK - Package is noarch

??? - BuildRoot value: not sure if this is really a problem, but it
  looks like %{release} is omitted:

  BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
 vs.
             %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

FIX - RUNNING_UNIT_TESTS not installed as %doc
  general doc question: docs are installed as doc in
  %{_docdir}/%{name}-%{version} but still included as regular gem
  files in %{geminstdir} -- should they be in one place or the other
  but not both? Is there a clear preference (some of the other rubygem
  packages -- both yours and mine include the doc in the gem, not in /usr/share/doc

FIX - rpmlint complains 
E: rubygem-actionpack non-executable-script
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/examples/address_book_controller.rbx
0644
E: rubygem-actionpack non-executable-script
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/examples/blog_controller.cgi 0644
E: rubygem-actionpack non-executable-script
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/examples/debate_controller.cgi 0644
E: rubygem-actionpack zero-length
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb
E: rubygem-actionpack non-executable-script
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/examples/address_book_controller.cgi
0644
E: rubygem-actionpack non-executable-script
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/examples/benchmark_with_ar.fcgi 0644
E: rubygem-actionpack non-executable-script
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session/drb_server.rb
0644
E: rubygem-actionpack zero-length
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb
E: rubygem-actionpack zero-length
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/test/controller/controller_fixtures/app/controllers/user_controller.rb
E: rubygem-actionpack non-executable-script
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.5/examples/address_book_controller.fcgi
0644


Comment 2 David Lutterkort 2007-11-14 04:17:41 UTC
Fixed: buildroot.
Fixed: marked RUNNING_UNIT_TESTS as %doc (I actually picked geminstdir apart and
classified things more cleanly as %doc)

That also took care of most of the rpmlint warnings. I removed the '#!' from
drb_server.rb - the only rpmlint output is about zero-length files, which I'd
prefer to keep in there to minimize the differences between the gem and the rpm

I also removed the stuff about moving some files to _docdir - having them in
geminstdir, but marked as %doc should be clean enough.

Spec URL: http://people.redhat.com/dlutter/yum/spec/rubygem-actionpack.spec
SRPM URL:
http://people.redhat.com/dlutter/yum/SRPMS/rubygem-actionpack-1.13.5-2.src.rpm


Comment 3 Scott Seago 2007-11-14 22:08:14 UTC
approved

Comment 4 David Lutterkort 2007-11-28 19:19:13 UTC
New Package CVS Request
=======================
Package Name: rubygem-actionpack
Short Description: Web-flow and rendering framework
Owners: lutter,sseago
Branches: F-7 F-8
InitialCC: 
Cvsextras Commits: yes

Comment 5 Kevin Fenzi 2007-11-28 23:22:25 UTC
cvs done.

Comment 6 David Lutterkort 2007-12-03 23:49:29 UTC
Successfully imported and built.