[packages/perl-Graphics-ColorPicker] Up to 0.17
arekm
arekm at pld-linux.org
Thu Nov 19 11:34:24 CET 2026
commit 8038856670a104903e8d93163e1a2e8979e227a3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 00:30:31 2026 +0100
Up to 0.17
ColorPicker-test.patch | 12 ++++++++++++
perl-Graphics-ColorPicker.spec | 10 ++++++----
2 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/perl-Graphics-ColorPicker.spec b/perl-Graphics-ColorPicker.spec
index 8e771c5..5514f17 100644
--- a/perl-Graphics-ColorPicker.spec
+++ b/perl-Graphics-ColorPicker.spec
@@ -7,12 +7,13 @@
Summary: Graphics::ColorPicker - allows web applications selection of hex color numbers
Summary(pl.UTF-8): Graphics::ColorPicker - wybór szesnastkowych kodów kolorów dla aplikacji WWW
Name: perl-Graphics-ColorPicker
-Version: 0.12
-Release: 2
+Version: 0.17
+Release: 1
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 22130749d48845a8dcb13fdc7a6a5a70
+Source0: https://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 1aa8960c4a709c76d7242f76dfeb88b6
+Patch0: ColorPicker-test.patch
URL: http://search.cpan.org/dist/Graphics-ColorPicker/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -40,6 +41,7 @@ może być utworzona dla 24 milionów kolorów lub tylko 216 kolorów
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch -P0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/ColorPicker-test.patch b/ColorPicker-test.patch
new file mode 100644
index 0000000..43bfd55
--- /dev/null
+++ b/ColorPicker-test.patch
@@ -0,0 +1,12 @@
+# test.pl requires ColorPicker instead of Graphics::ColorPicker, so 'make test' cannot load the module
+--- a/test.pl
++++ b/test.pl
+@@ -10,7 +10,7 @@
+ END {print "not ok 1\n" unless $loaded;}
+ use vars qw($ptr2_License);
+ $ptr2_License = {'path', => do {$_ = `/bin/pwd`; chomp;$_} . '/TestCert.license',};
+-require ColorPicker;
++require Graphics::ColorPicker;
+ $loaded = 1;
+ print "ok 1\n";
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Graphics-ColorPicker.git/commitdiff/8038856670a104903e8d93163e1a2e8979e227a3
More information about the pld-cvs-commit
mailing list