Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Chart for openSUSE:Factory 
checked in at 2026-06-18 18:39:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Chart (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Chart.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Chart"

Thu Jun 18 18:39:41 2026 rev:29 rq:1360039 version:2.403.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Chart/perl-Chart.changes    2022-12-14 
14:11:24.171618113 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Chart.new.1981/perl-Chart.changes  
2026-06-18 18:40:23.600453278 +0200
@@ -1,0 +2,6 @@
+Wed Jun 17 12:48:55 UTC 2026 - Tina Müller <[email protected]>
+
+- Add removed-rgb-method.patch to fix build
+  https://github.com/lichtkind/Chart/pull/7
+
+-------------------------------------------------------------------

New:
----
  README.md
  _scmsync.obsinfo
  build.specials.obscpio
  removed-rgb-method.patch

----------(New B)----------
  New:
- Add removed-rgb-method.patch to fix build
  https://github.com/lichtkind/Chart/pull/7
----------(New E)----------

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

Other differences:
------------------
++++++ perl-Chart.spec ++++++
--- /var/tmp/diff_new_pack.Xb5SK9/_old  2026-06-18 18:40:24.760501673 +0200
+++ /var/tmp/diff_new_pack.Xb5SK9/_new  2026-06-18 18:40:24.768502007 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Chart
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,11 +20,16 @@
 Name:           perl-Chart
 Version:        2.403.9
 Release:        0
+# v2.403.9 -> normalize -> 2.403.9
+%define cpan_version v2.403.9
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Series of charting modules
 URL:            https://metacpan.org/release/%{cpan_name}
-Source0:        
https://cpan.metacpan.org/authors/id/L/LI/LICHTKIND/%{cpan_name}-v%{version}.tar.gz
+Source0:        
https://cpan.metacpan.org/authors/id/L/LI/LICHTKIND/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
+Source100:      README.md
+# PATCH-FIX-UPSTREAM https://github.com/lichtkind/Chart/pull/7
+Patch0:         removed-rgb-method.patch
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -33,7 +38,7 @@
 BuildRequires:  perl(GD) >= 2
 BuildRequires:  perl(Graphics::Toolkit::Color) >= 1
 BuildRequires:  perl(Test::More) >= 1.3
-BuildRequires:  perl(Test::Warn) >= 0.30
+BuildRequires:  perl(Test::Warn) >= 0.300
 Requires:       perl(Carp) >= 1.35
 Requires:       perl(GD) >= 2
 Requires:       perl(Graphics::Toolkit::Color) >= 1
@@ -45,7 +50,7 @@
 documentation and lots of example code please visit the Chart::Manual.
 
 %prep
-%autosetup  -n %{cpan_name}-v%{version}
+%autosetup -n %{cpan_name}-%{cpan_version} -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor

++++++ README.md ++++++

## Build Results

Current state of perl in openSUSE:Factory is

![Factory build 
results](https://br.opensuse.org/status/openSUSE:Factory/perl-Chart/standard)

The current state of perl in the devel project build (devel:languages:perl)

![Devel project build 
results](https://br.opensuse.org/status/devel:languages:perl/perl-Chart)



++++++ _scmsync.obsinfo ++++++
mtime: 1781700902
commit: c40dbee1a7d98358ba346e52592e69a1834257bc6497daba19de03e2a153c1e8
url: https://src.opensuse.org/perl/perl-Chart
revision: c40dbee1a7d98358ba346e52592e69a1834257bc6497daba19de03e2a153c1e8
projectscmsync: https://src.opensuse.org/perl/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-06-17 14:55:02.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.Xb5SK9/_old  2026-06-18 18:40:24.984511019 +0200
+++ /var/tmp/diff_new_pack.Xb5SK9/_new  2026-06-18 18:40:24.988511186 +0200
@@ -4,8 +4,8 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
-#  foo.patch: -p1
+patches:
+  removed-rgb-method.patch: -p1 PATCH-FIX-UPSTREAM 
https://github.com/lichtkind/Chart/pull/7
 #  bar.patch:
 #preamble: |-
 # BuildRequires:  gcc-c++

++++++ removed-rgb-method.patch ++++++
>From 9f504d787ac336d7a50a3ee296501cf40a9fbb7d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]>
Date: Wed, 1 Apr 2026 10:48:20 +0200
Subject: [PATCH] Adapt to removed Graphics::Toolkit::Color::rgb()

Graphics-Toolkit-Color-2.00 removed a deprecated
Graphics::Toolkit::Color::rgb() method and caused all tests to fail:

    Can't locate object method "rgb" via package "Graphics::Toolkit::Color" at 
lib/Chart/Base.pm line 1167.
    t/bars.t ...........
    Dubious, test returned 25 (wstat 6400, 0x1900)
    Failed 1/1 subtests

A replacement for the method is Graphics::Toolkit::Color::values() method
available since Graphics-Toolkit-Color-1.50.

This patch uses that new method and bumps the minimal version.

CPAN RT#174510
---
 lib/Chart/Base.pm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Chart/Base.pm b/lib/Chart/Base.pm
index b8b13b9..24a3b7c 100644
--- a/lib/Chart/Base.pm
+++ b/lib/Chart/Base.pm
@@ -1164,7 +1164,7 @@ sub _color_spec_to_rgb {
     my ($self, $role, $spec) = @_; # color role name (from set) for error msg
     my $color = Chart::Property::DataType::Color->new( $spec );
     return croak "Unrecognized color for $role\n" unless ref $color;
-    $color->rgb;
+    $color->values;
 }
 
 ## @fn private int _brushStyles_of_roles

Reply via email to