pghmcfc pushed to perl-Finance-Quote (el6). "Update to 1.38 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Aug 31 11:43:11 UTC 2015


From 478fa6592dd1d348b0b0e87dd70d4d13e25b8cd0 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Mon, 31 Aug 2015 11:33:33 +0100
Subject: Update to 1.38

- New upstream release 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
- BR:/R: perl(IO::Socket::SSL) to ensure than an SSL backend is available,
  since EL-6's perl-libwww-perl doesn't pull one in

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[<th>(Price currency)</th><td>([A-Z]{3})</td>]  )
-         {
- 
- 			$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[<td class="line heading">ISIN</td>.*<span class="heading"><br />([0-9]{2}/[0-9]{2}/[0-9]{4})</span>.*([A-Z]{3}).([0-9\.]+).*>([0-9\.\-]+)] )
-+		m[<td class="line heading">NAV<span class="heading"><br />([0-9]{2}/[0-9]{2}/[0-9]{4})</span>.*([A-Z]{3}).([0-9\.]+).*>([0-9\.\-]+)] )
-         {
- 
-             $date = $1;
diff --git a/perl-Finance-Quote.spec b/perl-Finance-Quote.spec
index 5a9ed57..5fe39a0 100644
--- a/perl-Finance-Quote.spec
+++ b/perl-Finance-Quote.spec
@@ -1,12 +1,10 @@
 Name:           perl-Finance-Quote
-Version:        1.37
-Release:        2%{?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
 Patch10:        FQ-requires.patch
 BuildArch:      noarch
 # Module Build
@@ -28,6 +26,7 @@ BuildRequires:  perl(HTTP::Cookies)
 BuildRequires:  perl(HTTP::Headers)
 BuildRequires:  perl(HTTP::Request::Common)
 BuildRequires:  perl(HTTP::Status)
+BuildRequires:  perl(IO::Socket::SSL)
 BuildRequires:  perl(JSON)
 BuildRequires:  perl(LWP::Protocol::https)
 BuildRequires:  perl(LWP::Simple)
@@ -36,7 +35,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)
@@ -47,19 +45,17 @@ BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test::More)
 # Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(IO::Socket::SSL)
 
 %description
 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
 
 # Mozilla::CA is not actually needed (unavailable for EL-6)
 %patch10
@@ -82,7 +78,7 @@ make test
 %else
 %doc LICENSE
 %endif
-%doc Change* Documentation/*
+%doc Change* Documentation/* README.dist
 %{perl_vendorlib}/Finance/
 %{_mandir}/man3/Finance::Quote.3*
 %{_mandir}/man3/Finance::Quote::AEX.3*
@@ -102,6 +98,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*
@@ -114,7 +111,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*
@@ -137,10 +133,21 @@ 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 <paul at city-fan.org> - 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
+- BR:/R: perl(IO::Socket::SSL) to ensure than an SSL backend is available,
+  since EL-6's perl-libwww-perl doesn't pull one in
+
 * Tue Feb 24 2015 Paul Howarth <paul at city-fan.org> - 1.37-2
 - Fix GBX pricing in FTfunds (CPAN RT#99783)
 - Fix MStaruk quote retrieval (CPAN RT#99784)
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
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Finance-Quote.git/commit/?h=el6&id=478fa6592dd1d348b0b0e87dd70d4d13e25b8cd0


More information about the perl-devel mailing list