Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Finance-Quote for 
openSUSE:Factory checked in at 2023-05-12 20:37:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Finance-Quote (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Finance-Quote.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Finance-Quote"

Fri May 12 20:37:33 2023 rev:37 rq:1086576 version:1.54

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Finance-Quote/perl-Finance-Quote.changes    
2021-09-15 22:51:09.962891174 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Finance-Quote.new.1533/perl-Finance-Quote.changes
  2023-05-12 20:40:25.602902568 +0200
@@ -1,0 +2,12 @@
+Thu May 11 15:29:29 UTC 2023 - Dirk Stoecker <[email protected]>
+
+- Update cpanspec.yml and regenerate spec file
+
+-------------------------------------------------------------------
+Thu May  4 18:40:13 UTC 2023 - Stefan Brüns <[email protected]>
+
+- updated to 1.54
+  * See /usr/share/doc/packages/perl-Finance-Quote/Changes
+- Add upstream Fix-FTFunds-regex.patch
+
+-------------------------------------------------------------------

Old:
----
  Finance-Quote-1.51.tar.gz

New:
----
  Finance-Quote-1.54.tar.gz
  Fix-FTFunds-regex.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Finance-Quote.spec ++++++
--- /var/tmp/diff_new_pack.N1Y1BG/_old  2023-05-12 20:40:26.070905139 +0200
+++ /var/tmp/diff_new_pack.N1Y1BG/_new  2023-05-12 20:40:26.078905184 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Finance-Quote
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define cpan_name Finance-Quote
 Name:           perl-Finance-Quote
-Version:        1.51
+Version:        1.54
 Release:        0
 #Upstream: GPL-1.0-or-later
 License:        GPL-2.0-or-later
@@ -26,8 +26,10 @@
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/B/BP/BPSCHUCK/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
+# PATCH-FIX-UPSTREAM 
https://github.com/finance-quote/finance-quote/commit/504fcc1ae35fd9c1e59949281e2939bda6a971a5
+Patch0:         
https://github.com/finance-quote/finance-quote/commit/504fcc1ae35f.patch#/Fix-FTFunds-regex.patch
 # PATCH-FIX-UPSTREAM https://rt.cpan.org/Public/Bug/Display.html?id=66235
-Patch0:         perl-Finance-Quote-66235-Cdnfundlibrary-row.patch
+Patch1:         perl-Finance-Quote-66235-Cdnfundlibrary-row.patch
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -38,6 +40,7 @@
 BuildRequires:  perl(DateTime::Duration)
 BuildRequires:  perl(DateTime::Format::ISO8601)
 BuildRequires:  perl(DateTime::Format::Strptime)
+BuildRequires:  perl(HTML::Entities)
 BuildRequires:  perl(HTML::TableExtract)
 BuildRequires:  perl(HTML::TokeParser)
 BuildRequires:  perl(HTML::TokeParser::Simple)
@@ -50,9 +53,12 @@
 BuildRequires:  perl(HTTP::Status)
 BuildRequires:  perl(IO::Uncompress::Unzip)
 BuildRequires:  perl(JSON)
+BuildRequires:  perl(LWP::Protocol::https)
 BuildRequires:  perl(LWP::Simple)
-BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(LWP::UserAgent) >= 6.48
 BuildRequires:  perl(Module::Load)
+BuildRequires:  perl(Mozilla::CA)
+BuildRequires:  perl(Readonly)
 BuildRequires:  perl(Spreadsheet::XLSX)
 BuildRequires:  perl(String::Util)
 BuildRequires:  perl(Test::Kwalitee)
@@ -68,6 +74,7 @@
 BuildRequires:  perl(feature)
 Requires:       perl(DateTime)
 Requires:       perl(DateTime::Format::Strptime)
+Requires:       perl(HTML::Entities)
 Requires:       perl(HTML::TableExtract)
 Requires:       perl(HTML::TokeParser)
 Requires:       perl(HTML::TokeParser::Simple)
@@ -80,9 +87,12 @@
 Requires:       perl(HTTP::Status)
 Requires:       perl(IO::Uncompress::Unzip)
 Requires:       perl(JSON)
+Requires:       perl(LWP::Protocol::https)
 Requires:       perl(LWP::Simple)
-Requires:       perl(LWP::UserAgent)
+Requires:       perl(LWP::UserAgent) >= 6.48
 Requires:       perl(Module::Load)
+Requires:       perl(Mozilla::CA)
+Requires:       perl(Readonly)
 Requires:       perl(Spreadsheet::XLSX)
 Requires:       perl(String::Util)
 Requires:       perl(Text::Template)
@@ -109,6 +119,7 @@
 
 %prep
 %autosetup  -n %{cpan_name}-%{version} -p1
+
 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
@@ -124,7 +135,7 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%doc Changes README
+%doc Changes README README.md
 %license LICENSE
 
 %changelog

++++++ Finance-Quote-1.51.tar.gz -> Finance-Quote-1.54.tar.gz ++++++
++++ 4580 lines of diff (skipped)

++++++ Fix-FTFunds-regex.patch ++++++
>From 504fcc1ae35fd9c1e59949281e2939bda6a971a5 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Sat, 8 Apr 2023 11:48:20 +0100
Subject: [PATCH] Tweak regex to fix FTfunds.pm

---
 lib/Finance/Quote/FTfunds.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Finance/Quote/FTfunds.pm b/lib/Finance/Quote/FTfunds.pm
index b1133134..45b04ed2 100644
--- a/lib/Finance/Quote/FTfunds.pm
+++ b/lib/Finance/Quote/FTfunds.pm
@@ -182,7 +182,7 @@ DEBUG > 1 and print "\nCookie Jar = : 
\n",Dumper($cj),"\n\n";
                my $currency;
                my $price;
                if ($webdoc->content =~
-               m[<span class="mod-ui-data-list__label">Price 
[(]([A-Z]{3})[)]</span><span 
class="mod-ui-data-list__value">([\.\,0-9]*)</span>]  )
+               m[<span class="mod-ui-data-list__label"[^>]*>Price 
[(]([A-Z]{3})[)]</span><span 
class="mod-ui-data-list__value">([\.\,0-9]*)</span>]  )
         {
                        $currency = $1;
                        $price    = $2;

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.N1Y1BG/_old  2023-05-12 20:40:26.318906503 +0200
+++ /var/tmp/diff_new_pack.N1Y1BG/_new  2023-05-12 20:40:26.322906525 +0200
@@ -5,6 +5,7 @@
 #  - source1
 #  - source2
 patches:
+ 
https://github.com/finance-quote/finance-quote/commit/504fcc1ae35f.patch#/Fix-FTFunds-regex.patch:
 -p1 PATCH-FIX-UPSTREAM 
https://github.com/finance-quote/finance-quote/commit/504fcc1ae35fd9c1e59949281e2939bda6a971a5
  perl-Finance-Quote-66235-Cdnfundlibrary-row.patch: -p1 PATCH-FIX-UPSTREAM 
https://rt.cpan.org/Public/Bug/Display.html?id=66235
 #preamble: |-
 # BuildRequires:  gcc-c++

Reply via email to