diff --git a/.gitignore b/.gitignore index 5bcf3cc..df2ef9e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Number-Compare-0.01.tar.gz +/Number-Compare-0.02.tar.gz diff --git a/Number-Compare-0.01-uninitialized.patch b/Number-Compare-0.01-uninitialized.patch deleted file mode 100644 index da4dd9b..0000000 --- a/Number-Compare-0.01-uninitialized.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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'; diff --git a/perl-Number-Compare.spec b/perl-Number-Compare.spec index e053b44..5605b4f 100644 --- a/perl-Number-Compare.spec +++ b/perl-Number-Compare.spec @@ -1,15 +1,11 @@ Name: perl-Number-Compare -Version: 0.01 -Release: 16%{?dist} +Version: 0.02 +Release: 1%{?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) +Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Number-Compare-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) @@ -22,7 +18,6 @@ which you can call with a value to be tested again. %prep %setup -q -n Number-Compare-%{version} -%patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -30,17 +25,11 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* - -%clean -rm -rf $RPM_BUILD_ROOT - - %check make test @@ -51,6 +40,10 @@ make test %{_mandir}/man3/* %changelog +* Mon Sep 19 2011 Ralf Corsépius - 0.02-1 +- Upstream update. +- Spec file cleanup. + * Tue Dec 21 2010 Marcela Maslanova - 0.01-16 - 661697 rebuild for fixing problems with vendorach/lib diff --git a/sources b/sources index 6ce86d7..ca13d78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -519a4434e35033e9bd034d27cd2fd299 Number-Compare-0.01.tar.gz +e77d5218a236184064c2866f334f9702 Number-Compare-0.02.tar.gz