Bug 1153134

Summary: FTBFS: No longer works with the current Lingua::EN::Numbers
Product: [Fedora] Fedora Reporter: Petr Šabata <psabata>
Component: perl-Lingua-EN-Numbers-EasyAssignee: Petr Šabata <psabata>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Lingua-EN-Numbers-Easy-2009110701-9.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-02 10:44:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Abandon the OO interface none

Description Petr Šabata 2014-10-15 16:39:34 UTC
Description of problem:
Lingua::EN::Numbers 2.00 dropped support for the legacy OO interface which this module still uses.

Version-Release number of selected component (if applicable):
perl-Lingua-EN-Numbers-Easy-2009110701-8.fc22

How reproducible:
Always

Steps to Reproduce:
1. Try to build or use the package in any way

Actual results:
It's totally borked.

Expected results:
It works.

Additional info:
I think replacing ($n = Lingua::EN::Numbers-> new)->parse($value) with num2en($value) should do the trick.  However, I haven't tested this.

Comment 1 Miro Hrončok 2014-10-16 09:01:19 UTC
1. Latest upstream release is ~5 years old
2. No other package requires this any more

=> I suggest retiring. Any objections?

Comment 2 Petr Šabata 2014-10-16 09:07:49 UTC
It's your package, your call.
The fix is trivial, though...

Comment 3 Miro Hrončok 2014-10-29 10:38:54 UTC
The thing is, is anyone using this package at all? Nothing depends on it.

The fix might be trivial, but I don't want to end up patching code I don't really understand just for the sake of a life of a package nobody uses. So I will orphan this package and if anybody want to, they can pick it and patch it.

Comment 4 Fedora Admin XMLRPC Client 2014-10-29 10:46:45 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2014-12-02 09:21:44 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Petr Šabata 2014-12-02 10:37:13 UTC
Created attachment 963643 [details]
Abandon the OO interface