rpms/perl-Number-Compare/F-12 Number-Compare-0.01-uninitialized.patch, NONE, 1.1 perl-Number-Compare.spec, 1.12, 1.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: corsepiu

Update of /cvs/pkgs/rpms/perl-Number-Compare/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14350/F-12

Modified Files:
	perl-Number-Compare.spec 
Added Files:
	Number-Compare-0.01-uninitialized.patch 
Log Message:
* Sat Jun 26 2010 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 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-12/perl-Number-Compare.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- perl-Number-Compare.spec	26 Jul 2009 13:50:00 -0000	1.12
+++ perl-Number-Compare.spec	26 Jun 2010 05:46:29 -0000	1.13
@@ -1,11 +1,14 @@
 Name: 		perl-Number-Compare
 Version: 	0.01
-Release: 	12%{?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@xxxxxxxxxxxxxxxxx> - 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.
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.01-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux