Bug 711556 - Error message on newer gem when attempting to generate a spec file.
Summary: Error message on newer gem when attempting to generate a spec file.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-gem2rpm
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-07 19:01 UTC by Darryl L. Pierce
Modified: 2015-06-22 00:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-20 10:38:41 UTC
Type: ---


Attachments (Terms of Use)

Description Darryl L. Pierce 2011-06-07 19:01:23 UTC
Description of problem:

When trying to generate a spec file for foreigner 1.0.3 I get an error message (see additional information below). But if I run gem2rpm on a previous version or another gem it works fine.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Download gem from - https://rubygems.org/gems/foreigner/versions/1.0.3
2. Run gem2rpm foreigner-1.0.3.gem

  
Actual results:

The error message is shown, and no spec file is generated.


Expected results:

A spec file to be generated.


Additional info:

(mcpierce@mcpierce-laptop:rubygem-foreigner)$ gem2rpm foreigner-1.0.3.gem 
(erb):18:in `convert': undefined method `version_requirements' for #<Gem::Dependency:0x7f96d6426cf0> (NoMethodError)
	from (erb):17:in `each'
	from (erb):17:in `convert'
	from /usr/lib/ruby/gems/1.8/gems/gem2rpm-0.6.0/lib/gem2rpm.rb:76:in `convert'
	from /usr/lib/ruby/gems/1.8/gems/gem2rpm-0.6.0/bin/gem2rpm:88
	from /usr/bin/gem2rpm:19:in `load'
	from /usr/bin/gem2rpm:19

Comment 1 Fedora Admin XMLRPC Client 2011-06-28 04:57:50 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Vít Ondruch 2011-07-20 10:38:41 UTC
Trying to reproduce with gem2rpm 0.7.1 and I can't reproduce the error. It was already fixed I guess.


Note You need to log in before you can comment on or make changes to this bug.