[perl-Finance-Quote/el6] Update to 1.37

Paul Howarth pghmcfc at fedoraproject.org
Mon Feb 2 13:48:10 UTC 2015


commit 8621bafab9a3ffeedb80cfe42958ee7a34f8d8bb
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Feb 2 11:51:39 2015 +0000

    Update to 1.37
    
    - New upstream release 1.37
      - MorningstarJP: changed dependency from Date::Calc to DateTime
      - Modified 00-use.t to show more info
      - Remove Crypt::SSLeay dependency in favour of LWP::Protocol::https
      - Updated HU.pm and test file to current website
    - Update requires patch

 FQ-requires.patch       |   28 +++++++++++++---------------
 perl-Finance-Quote.spec |   24 +++++++++++++-----------
 sources                 |    2 +-
 3 files changed, 27 insertions(+), 27 deletions(-)
---
diff --git a/FQ-requires.patch b/FQ-requires.patch
index fe98096..7cd6867 100644
--- a/FQ-requires.patch
+++ b/FQ-requires.patch
@@ -1,50 +1,48 @@
 --- lib/Finance/Quote/Tiaacref.pm
 +++ lib/Finance/Quote/Tiaacref.pm
-@@ -29,8 +29,7 @@
- 
+@@ -30,7 +30,6 @@
  package Finance::Quote::Tiaacref;
  require 5.005;
--require Crypt::SSLeay;
+ require LWP::Protocol::https;
 -require Mozilla::CA;
-+require LWP::Protocol::https;
  
  use strict;
  
 --- Makefile.PL
 +++ Makefile.PL
 @@ -38,7 +38,6 @@ my %WriteMakefileArgs = (
-     "JSON" => 0,
+     "LWP::Protocol::https" => 0,
      "LWP::Simple" => 0,
      "LWP::UserAgent" => 0,
 -    "Mozilla::CA" => 0,
      "POSIX" => 0,
-     "Storable" => 0,
      "Time::Piece" => 0,
-@@ -85,7 +84,6 @@ my %FallbackPrereqs = (
-   "JSON" => 0,
+     "URI" => 0,
+@@ -84,7 +83,6 @@ my %FallbackPrereqs = (
+   "LWP::Protocol::https" => 0,
    "LWP::Simple" => 0,
    "LWP::UserAgent" => 0,
 -  "Mozilla::CA" => 0,
    "POSIX" => 0,
-   "Storable" => 0,
-   "Test" => 0,
+   "Test::More" => 0,
+   "Time::Piece" => 0,
 --- META.json
 +++ META.json
 @@ -55,7 +55,6 @@
-             "JSON" : "0",
+             "LWP::Protocol::https" : "0",
              "LWP::Simple" : "0",
              "LWP::UserAgent" : "0",
 -            "Mozilla::CA" : "0",
              "POSIX" : "0",
-             "Storable" : "0",
              "Time::Piece" : "0",
+             "URI" : "0",
 --- META.yml
 +++ META.yml
-@@ -46,7 +46,6 @@ requires:
-   JSON: '0'
+@@ -45,7 +45,6 @@ requires:
+   LWP::Protocol::https: '0'
    LWP::Simple: '0'
    LWP::UserAgent: '0'
 -  Mozilla::CA: '0'
    POSIX: '0'
-   Storable: '0'
    Time::Piece: '0'
+   URI: '0'
diff --git a/perl-Finance-Quote.spec b/perl-Finance-Quote.spec
index 1e4907c..1deb5d9 100644
--- a/perl-Finance-Quote.spec
+++ b/perl-Finance-Quote.spec
@@ -1,5 +1,5 @@
 Name:           perl-Finance-Quote
-Version:        1.35
+Version:        1.37
 Release:        1%{?dist}
 Summary:        A Perl module that retrieves stock and mutual fund quotes
 License:        GPLv2+
@@ -9,14 +9,13 @@ Patch1:         FQ-requires.patch
 BuildArch:      noarch
 # Module Build
 BuildRequires:  perl >= 4:5.10.0
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Module Runtime
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(constant)
-BuildRequires:  perl(Crypt::SSLeay)
-BuildRequires:  perl(Date::Calc)
+BuildRequires:  perl(DateTime)
 BuildRequires:  perl(Encode)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(HTML::Parser)
@@ -28,10 +27,10 @@ BuildRequires:  perl(HTTP::Headers)
 BuildRequires:  perl(HTTP::Request::Common)
 BuildRequires:  perl(HTTP::Status)
 BuildRequires:  perl(JSON)
+BuildRequires:  perl(LWP::Protocol::https)
 BuildRequires:  perl(LWP::Simple)
 BuildRequires:  perl(LWP::UserAgent)
 BuildRequires:  perl(POSIX)
-BuildRequires:  perl(Storable)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Time::Piece)
 BuildRequires:  perl(URI)
@@ -43,15 +42,10 @@ BuildRequires:  perl(warnings)
 # Test Suite
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(File::Spec)
-BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 # Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
-# Make sure we have SSL support for LWP (#859607)
-BuildRequires:  perl(LWP::Protocol::https)
-Requires:       perl(LWP::Protocol::https)
-
 %description
 This module retrieves stock and mutual fund quotes from various exchanges
 using various source.
@@ -59,7 +53,7 @@ using various source.
 %prep
 %setup -q -n Finance-Quote-%{version} 
 
-# Use LWP::Protocol::https rather than Mozilla::CA for EL-6
+# Mozilla::CA is not actually needed (unavailable for EL-6)
 %patch1
 
 %build
@@ -139,6 +133,14 @@ make test
 %{_mandir}/man3/Finance::Quote::ZA_UnitTrusts.3*
 
 %changelog
+* Mon Feb  2 2015 Paul Howarth <paul at city-fan.org> - 1.37-1
+- Update to 1.37
+  - MorningstarJP: changed dependency from Date::Calc to DateTime
+  - Modified 00-use.t to show more info
+  - Remove Crypt::SSLeay dependency in favour of LWP::Protocol::https
+  - Updated HU.pm and test file to current website
+- Update requires patch
+
 * Tue Nov 18 2014 Paul Howarth <paul at city-fan.org> - 1.35-1
 - Update to 1.35
 - Clean up and modernize spec somewhat
diff --git a/sources b/sources
index 1471e37..9172d28 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c81980d5266d94e51ce83f94a3315261  Finance-Quote-1.35.tar.gz
+24a0c2c9aea98127c6e3742fc80218f1  Finance-Quote-1.37.tar.gz



More information about the perl-devel mailing list