[perl-Finance-Quote/el6] Fix requires (#1069717)
Bill Nottingham
notting at fedoraproject.org
Tue Feb 25 15:11:04 UTC 2014
commit 4864a45a72317122a3467aace3d1b4e5f7e3aae7
Author: Bill Nottingham <notting at redhat.com>
Date: Tue Feb 25 10:11:35 2014 -0500
Fix requires (#1069717)
FQ-requires.patch | 25 +++++++++++++++++++++++++
perl-Finance-Quote.spec | 7 ++++++-
2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/FQ-requires.patch b/FQ-requires.patch
new file mode 100644
index 0000000..2bdd4d0
--- /dev/null
+++ b/FQ-requires.patch
@@ -0,0 +1,25 @@
+diff -up Finance-Quote-1.20/lib/Finance/Quote/Tiaacref.pm.foo Finance-Quote-1.20/lib/Finance/Quote/Tiaacref.pm
+--- Finance-Quote-1.20/lib/Finance/Quote/Tiaacref.pm.foo 2014-02-25 10:02:24.197647363 -0500
++++ Finance-Quote-1.20/lib/Finance/Quote/Tiaacref.pm 2014-02-25 10:02:51.556884032 -0500
+@@ -28,8 +28,7 @@
+
+ package Finance::Quote::Tiaacref;
+ require 5.005;
+-require Crypt::SSLeay;
+-require Mozilla::CA;
++require LWP::Protocol::https;
+
+ use strict;
+
+diff -up Finance-Quote-1.20/META.yml.foo Finance-Quote-1.20/META.yml
+--- Finance-Quote-1.20/META.yml.foo 2014-02-17 08:08:23.000000000 -0500
++++ Finance-Quote-1.20/META.yml 2014-02-25 10:02:59.938956528 -0500
+@@ -30,7 +30,7 @@ requires:
+ HTTP::Request::Common: 0
+ JSON: 0
+ LWP::UserAgent: 0
+- Mozilla::CA: 0
++ LWP::Protocol::https: 0
+ POSIX: 0
+ URI::Escape: 0
+ perl: 5.005
diff --git a/perl-Finance-Quote.spec b/perl-Finance-Quote.spec
index b27a366..59baee6 100644
--- a/perl-Finance-Quote.spec
+++ b/perl-Finance-Quote.spec
@@ -1,11 +1,12 @@
Name: perl-Finance-Quote
Version: 1.20
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A Perl module that retrieves stock and mutual fund quotes
Group: Development/Libraries
License: GPLv2+
URL: http://finance-quote.sourceforge.net/
Source0: http://prdownloads.sourceforge.net/finance-quote/Finance-Quote-%{version}.tar.gz
+Patch1: FQ-requires.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -43,6 +44,7 @@ using various source.
%prep
%setup -q -n Finance-Quote-%{version}
+%patch1 -p1
find . -name *.pm | xargs %{__sed} -i -e '/^#!.*\/usr\/bin\/perl/d'
%build
@@ -69,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
+* Tue Feb 25 2014 Bill Nottingham <notting at redhat.com> - 1.20-3
+- tweak requires (#1069717)
+
* Tue Feb 18 2014 Bill Nottingham <notting at redhat.com> - 1.20-2
- add missing https requires (#859607)
More information about the scm-commits
mailing list