vanoudt pushed to perl-Barcode-Code128 (f22). "New upstream release"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Aug 17 06:16:43 UTC 2015


From f1eaa31a24f3784445e9b953b8e3d57e93c47107 Mon Sep 17 00:00:00 2001
From: Nicholas van Oudtshoorn <vanoudt at gmail.com>
Date: Mon, 17 Aug 2015 14:09:07 +0800
Subject: New upstream release


diff --git a/.gitignore b/.gitignore
index 4b4d6e3..8a62e29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Barcode-Code128-2.01.tar.gz
+/Barcode-Code128-2.21.tar.gz
diff --git a/perl-Barcode-Code128-testfix.patch b/perl-Barcode-Code128-testfix.patch
deleted file mode 100644
index 08c4fb5..0000000
--- a/perl-Barcode-Code128-testfix.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- t/png.t.orig	2011-04-28 16:53:40.149925007 +0800
-+++ t/png.t	2011-04-28 16:55:24.229044665 +0800
-@@ -19,13 +19,21 @@
- use strict;
- my $code = new Barcode::Code128;
- my $file = "t/code128.png";
--my $good;
--{
--    open IM, $file or die "Can't read $file: $!";
--    binmode IM;
--    read IM, $good, -s $file;
--    close IM;
--}
-+my $expected_image = GD::Image->new($file);
-+
- my $test = $code->png("CODE 128");
--print "not " unless $test eq $good;
-+my $got_image = GD::Image->new($test);
-+
-+my $cmp = $expected_image->compare($got_image);
-+print "not " if $cmp != 0;
- print "ok 2\n";
-+
-+if ($cmp & &GD::GD_CMP_IMAGE) { warn "The two images look different\n" }
-+if ($cmp & &GD::GD_CMP_NUM_COLORS) { warn "The two images have different numbers of colors\n"}
-+if ($cmp & &GD::GD_CMP_COLOR) { warn "The two images' palettes differ\n"}
-+if ($cmp & &GD::GD_CMP_SIZE_X) { warn "The two images differ in the horizontal dimension\n"}
-+if ($cmp & &GD::GD_CMP_SIZE_Y) { warn "The two images differ in the vertical dimension\n"}
-+if ($cmp & &GD::GD_CMP_TRANSPARENT) { warn "The two images have different transparency\n"}
-+if ($cmp & &GD::GD_CMP_BACKGROUND) { warn "The two images have different background colors\n"}
-+if ($cmp & &GD::GD_CMP_INTERLACE) { warn "The two images differ in their interlace\n"}
-+if ($cmp & &GD::GD_CMP_TRUECOLOR) { warn "The two images are not both true color\n"}
-
diff --git a/perl-Barcode-Code128.spec b/perl-Barcode-Code128.spec
index a9a21c1..6475d8c 100644
--- a/perl-Barcode-Code128.spec
+++ b/perl-Barcode-Code128.spec
@@ -1,14 +1,14 @@
 name:           perl-Barcode-Code128
-Version:        2.01
-Release:        14%{?dist}
+Version:        2.21
+Release:        1%{?dist}
 Summary:        Generate CODE 128 bar codes
 License:        Public Domain
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Barcode-Code128/
 Source0:        http://www.cpan.org/authors/id/W/WR/WRW/Barcode-Code128-%{version}.tar.gz
-Patch0:         perl-Barcode-Code128-testfix.patch
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
 BuildRequires:  perl(GD)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(GD)
@@ -21,8 +21,6 @@ some other technology if desired.
 
 %prep
 %setup -q -n Barcode-Code128-%{version}
-%patch0
-rm t/gif.t
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -45,6 +43,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Aug 17 2015 Nicholas van Oudtshoorn <vanoudt at gmail.com> - 2.21-1
+- New upstream release
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.01-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index cbf601a..4ecb334 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a0aa077b26926c30659471d14515d907  Barcode-Code128-2.01.tar.gz
+27cf162cb919445ba916ce347e6a2936  Barcode-Code128-2.21.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Barcode-Code128.git/commit/?h=f22&id=f1eaa31a24f3784445e9b953b8e3d57e93c47107


More information about the perl-devel mailing list