[perl-Number-Compare] Upstream update. Spec file cleanup.
corsepiu
corsepiu at fedoraproject.org
Mon Sep 19 08:26:00 UTC 2011
commit 6e772fe6b99bc4c1187a4ab19defdffa2c87c3a4
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Mon Sep 19 10:25:45 2011 +0200
Upstream update.
Spec file cleanup.
.gitignore | 1 +
Number-Compare-0.01-uninitialized.patch | 11 -----------
perl-Number-Compare.spec | 21 +++++++--------------
sources | 2 +-
4 files changed, 9 insertions(+), 26 deletions(-)
---
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/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 <corsepiu at fedoraproject.org> - 0.02-1
+- Upstream update.
+- Spec file cleanup.
+
* Tue Dec 21 2010 Marcela Maslanova <mmaslano at redhat.com> - 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
More information about the perl-devel
mailing list