diff --git a/Finance-Quote-1.37-rt99783.patch b/Finance-Quote-1.37-rt99783.patch deleted file mode 100644 index 6cf458a..0000000 --- a/Finance-Quote-1.37-rt99783.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/Finance/Quote/FTfunds.pm -+++ lib/Finance/Quote/FTfunds.pm -@@ -233,7 +233,7 @@ - # Find the currency - my $currency; - if ($webdoc->content =~ -- m[($code):([A-Z]{3})] ) -+ m[(Price currency)([A-Z]{3})] ) - { - - $currency = $2; diff --git a/Finance-Quote-1.37-rt99784.patch b/Finance-Quote-1.37-rt99784.patch deleted file mode 100644 index 8a9023c..0000000 --- a/Finance-Quote-1.37-rt99784.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/Finance/Quote/MStaruk.pm -+++ lib/Finance/Quote/MStaruk.pm -@@ -157,7 +157,7 @@ - - my ($currency, $date, $price, $pchange); - if ($webdoc =~ -- m[ISIN.*
([0-9]{2}/[0-9]{2}/[0-9]{4})
.*([A-Z]{3}).([0-9\.]+).*>([0-9\.\-]+)] ) -+ m[NAV
([0-9]{2}/[0-9]{2}/[0-9]{4})
.*([A-Z]{3}).([0-9\.]+).*>([0-9\.\-]+)] ) - { - - $date = $1; diff --git a/perl-Finance-Quote.spec b/perl-Finance-Quote.spec index be691e3..ebffae7 100644 --- a/perl-Finance-Quote.spec +++ b/perl-Finance-Quote.spec @@ -1,12 +1,10 @@ Name: perl-Finance-Quote -Version: 1.37 -Release: 4%{?dist} +Version: 1.38 +Release: 1%{?dist} Summary: A Perl module that retrieves stock and mutual fund quotes License: GPLv2+ URL: http://search.cpan.org/dist/Finance-Quote/ Source0: http://search.cpan.org/CPAN/authors/id/E/EC/ECOCODE/Finance-Quote-%{version}.tar.gz -Patch0: Finance-Quote-1.37-rt99783.patch -Patch1: Finance-Quote-1.37-rt99784.patch BuildArch: noarch # Module Build BuildRequires: perl >= 4:5.10.0 @@ -36,7 +34,6 @@ BuildRequires: perl(POSIX) BuildRequires: perl(strict) BuildRequires: perl(Time::Piece) BuildRequires: perl(URI) -BuildRequires: perl(URI::Escape) BuildRequires: perl(URI::QueryParam) BuildRequires: perl(utf8) BuildRequires: perl(vars) @@ -53,13 +50,10 @@ This module retrieves stock and mutual fund quotes from various exchanges using various source. %prep -%setup -q -n Finance-Quote-%{version} +%setup -q -n Finance-Quote-%{version} -# Fix GBX pricing in FTfunds (CPAN RT#99783) -%patch0 - -# Fix MStaruk quote retrieval (CPAN RT#99784) -%patch1 +# Avoid documentation name clash +cp -p README README.dist %build perl Makefile.PL INSTALLDIRS=vendor @@ -79,7 +73,7 @@ make test %else %doc LICENSE %endif -%doc Change* Documentation/* README +%doc Change* Documentation/* README.dist %{perl_vendorlib}/Finance/ %{_mandir}/man3/Finance::Quote.3* %{_mandir}/man3/Finance::Quote::AEX.3* @@ -99,6 +93,7 @@ make test %{_mandir}/man3/Finance::Quote::FTPortfolios.3* %{_mandir}/man3/Finance::Quote::FTfunds.3* %{_mandir}/man3/Finance::Quote::Fidelity.3* +%{_mandir}/man3/Finance::Quote::FidelityFixed.3* %{_mandir}/man3/Finance::Quote::FinanceCanada.3* %{_mandir}/man3/Finance::Quote::Finanzpartner.3* %{_mandir}/man3/Finance::Quote::Fool.3* @@ -111,7 +106,6 @@ make test %{_mandir}/man3/Finance::Quote::ManInvestments.3* %{_mandir}/man3/Finance::Quote::Morningstar.3* %{_mandir}/man3/Finance::Quote::MorningstarJP.3* -%{_mandir}/man3/Finance::Quote::MtGox.3* %{_mandir}/man3/Finance::Quote::NZX.3* %{_mandir}/man3/Finance::Quote::Platinum.3* %{_mandir}/man3/Finance::Quote::SEB.3* @@ -134,10 +128,19 @@ make test %{_mandir}/man3/Finance::Quote::Yahoo::NZ.3* %{_mandir}/man3/Finance::Quote::Yahoo::USA.3* %{_mandir}/man3/Finance::Quote::YahooJSON.3* +%{_mandir}/man3/Finance::Quote::YahooYQL.3* %{_mandir}/man3/Finance::Quote::ZA.3* %{_mandir}/man3/Finance::Quote::ZA_UnitTrusts.3* %changelog +* Mon Aug 31 2015 Paul Howarth - 1.38-1 +- Update to 1.38 + - Module updates: tiaacref, yahooJSON, FTfunds, MStaruk, USFedBonds, GoldMoney + - New modules: fidelityfixed, yahooYQL + - Removed modules: MTGox + - More tests: yahoo_speed.t, tiaacref.t +- Avoid documentation name clash between two README files + * Thu Jun 18 2015 Fedora Release Engineering - 1.37-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 9172d28..a9c8cd2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -24a0c2c9aea98127c6e3742fc80218f1 Finance-Quote-1.37.tar.gz +84213a45bf620b6eae59dd45f5395466 Finance-Quote-1.38.tar.gz