[packages/perl-GD-Barcode] Up to 2.02

arekm arekm at pld-linux.org
Thu Nov 19 11:32:52 CET 2026


commit 417cc2b89dd3e2adfe65267eb3aa39f6fc8a75a7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 00:29:39 2026 +0100

    Up to 2.02

 perl-GD-Barcode.spec | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/perl-GD-Barcode.spec b/perl-GD-Barcode.spec
index 3482b4f..c18ddd6 100644
--- a/perl-GD-Barcode.spec
+++ b/perl-GD-Barcode.spec
@@ -1,15 +1,19 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
 %define		pdir	GD
 %define		pnam	Barcode
 Summary:	GD::Barcode Perl module - create barcode image with GD
 Summary(pl.UTF-8):	Moduł Perla GD::Barcode - do tworzenia obrazów z kodem paskowym
 Name:		perl-GD-Barcode
-Version:	1.15
-Release:	4
+Version:	2.02
+Release:	1
 License:	GPL or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	53788170efb00b671ffb6ced5b5b897b
-URL:		http://search.cpan.org/dist/GD-Barcode/
+Source0:	https://www.cpan.org/authors/id/M/MI/MICHIELB/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	975d474d2552dd6693414881eb2ff472
+URL:		https://metacpan.org/release/GD-Barcode
 BuildRequires:	perl-GD
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -32,6 +36,8 @@ kodem paskowym przy użyciu GD.
 	INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-GD-Barcode.git/commitdiff/417cc2b89dd3e2adfe65267eb3aa39f6fc8a75a7



More information about the pld-cvs-commit mailing list