Spec URL: http://people.redhat.com/dlutter/yum/spec/rubygem-rails.spec SRPM URL: http://people.redhat.com/dlutter/yum/SRPMS/rubygem-rails-1.2.5-1.src.rpm Description: Rails is a framework for building web-application using CGI, FCGI, mod_ruby, or WEBrick on top of either MySQL, PostgreSQL, SQLite, DB2, SQL Server, or Oracle with eRuby- or Builder-based templates.
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 - rpmlint complains E: rubygem-rails zero-length /usr/lib/ruby/gems/1.8/gems/rails-1.2.5/configs/empty.log E: rubygem-rails zero-length /usr/lib/ruby/gems/1.8/gems/rails-1.2.5/html/favicon.ico
I fixed the buildroot. The two files rpmlint complains about are empty upstream - I did not want to remove them to minimize differences between the gem and the rpm Spec URL: http://people.redhat.com/dlutter/yum/spec/rubygem-rails.spec SRPM URL: http://people.redhat.com/dlutter/yum/SRPMS/rubygem-rails-1.2.5-2.src.rpm
approved
New Package CVS Request ======================= Package Name: rubygem-rails Short Description: Web-application framework Owners: lutter,sseago Branches: F-7 F-8 InitialCC: Cvsextras Commits: yes
Looks like an update to 1.2.6 before pushing this would be a good idea: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-6077
cvs done.
scop: thanks for pointing to the CVE. I did update to 1.2.6. Successfully imported and built.
Package Change Request ====================== Package Name: rubygem-rails New Branches: epel7 Owners: tdawson
Git done (by process-git-requests).