rpms/perl-Number-Compare/devel Number-Compare-0.01-uninitialized.patch, NONE, 1.1 perl-Number-Compare.spec, 1.14, 1.15

corsepiu corsepiu at fedoraproject.org
Sat Jun 26 05:42:39 UTC 2010


Author: corsepiu

Update of /cvs/pkgs/rpms/perl-Number-Compare/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13912

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/devel/perl-Number-Compare.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- perl-Number-Compare.spec	4 May 2010 13:37:36 -0000	1.14
+++ perl-Number-Compare.spec	26 Jun 2010 05:42:39 -0000	1.15
@@ -1,11 +1,14 @@
 Name: 		perl-Number-Compare
 Version: 	0.01
-Release: 	14%{?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.
+
 * Tue May 04 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.01-14
 - Mass rebuild with perl-5.12.0
 



More information about the scm-commits mailing list