rpms/perl-Number-Compare/F-13 Number-Compare-0.01-uninitialized.patch, NONE, 1.1 perl-Number-Compare.spec, 1.13, 1.14
corsepiu
corsepiu at fedoraproject.org
Sat Jun 26 05:46:30 UTC 2010
Author: corsepiu
Update of /cvs/pkgs/rpms/perl-Number-Compare/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14350/F-13
Modified Files:
perl-Number-Compare.spec
Added Files:
Number-Compare-0.01-uninitialized.patch
Log Message:
* Sat Jun 26 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.01-15
- Apply https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch
to address https://bugzilla.redhat.com/show_bug.cgi?id=607982.
Number-Compare-0.01-uninitialized.patch:
Compare.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE Number-Compare-0.01-uninitialized.patch ---
--- Number-Compare-0.01/Compare.pm.orig 2002-10-25 11:46:27.000000000 -0400
+++ Number-Compare-0.01/Compare.pm 2010-06-16 13:54:02.000000000 -0400
@@ -26,7 +26,7 @@
my $comparison = $1 || '==';
my $target = $2;
- my $magnitude = $3;
+ my $magnitude = $3 || '';
$target *= 1000 if lc $magnitude eq 'k';
$target *= 1024 if lc $magnitude eq 'ki';
$target *= 1000000 if lc $magnitude eq 'm';
Index: perl-Number-Compare.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Number-Compare/F-13/perl-Number-Compare.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- perl-Number-Compare.spec 7 Dec 2009 17:24:07 -0000 1.13
+++ perl-Number-Compare.spec 26 Jun 2010 05:46:30 -0000 1.14
@@ -1,11 +1,14 @@
Name: perl-Number-Compare
Version: 0.01
-Release: 13%{?dist}
+Release: 15%{?dist}
Summary: Perl module for numeric comparisons
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Number-Compare/
Source0: http://www.cpan.org/modules/by-module/Number/Number-Compare-%{version}.tar.gz
+# Address https://bugzilla.redhat.com/show_bug.cgi?id=607982
+# Patch from https://rt.cpan.org/Public/Bug/Display.html?id=58466
+Patch0: https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -19,7 +22,7 @@ which you can call with a value to be te
%prep
%setup -q -n Number-Compare-%{version}
-
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -48,6 +51,10 @@ make test
%{_mandir}/man3/*
%changelog
+* Sat Jun 26 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.01-15
+- Apply https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch
+ to address https://bugzilla.redhat.com/show_bug.cgi?id=607982.
+
* Mon Dec 7 2009 Stepan Kasal <skasal at redhat.com> - 0.01-13
- rebuild against perl 5.10.1
More information about the perl-devel
mailing list