[perl-CPAN-Uploader] update to 0.103002

Iain Arnell iarnell at fedoraproject.org
Fri Jan 4 16:07:29 UTC 2013


commit dcc429408ef36fecc5ffed71b0bd62167dbb1b9b
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Jan 4 09:07:23 2013 -0700

    update to 0.103002

 .gitignore              |    1 +
 perl-CPAN-Uploader.spec |   16 ++++++++++------
 sources                 |    2 +-
 3 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6a5a73d..7e1996c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ CPAN-Uploader-0.101670.tar.gz
 CPAN-Uploader-0.102150.tar.gz
 /CPAN-Uploader-0.103000.tar.gz
 /CPAN-Uploader-0.103001.tar.gz
+/CPAN-Uploader-0.103002.tar.gz
diff --git a/perl-CPAN-Uploader.spec b/perl-CPAN-Uploader.spec
index 5e4c0f8..38d9b99 100644
--- a/perl-CPAN-Uploader.spec
+++ b/perl-CPAN-Uploader.spec
@@ -1,6 +1,6 @@
 Name:           perl-CPAN-Uploader
-Version:        0.103001
-Release:        3%{?dist}
+Version:        0.103002
+Release:        1%{?dist}
 Summary:        Upload things to the CPAN
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,6 +8,8 @@ URL:            http://search.cpan.org/dist/CPAN-Uploader/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/CPAN-Uploader-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Getopt::Long::Descriptive) >= 0.084
 BuildRequires:  perl(HTTP::Request::Common)
 BuildRequires:  perl(HTTP::Status)
@@ -40,12 +42,11 @@ sed -i -e 's!bin/cpan-upload!bin/cpan-uploader!' Makefile.PL
 make %{?_smp_mflags}
 
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
 
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
 
 %check
 RELEASE_TESTING=1 make test
@@ -58,6 +59,9 @@ RELEASE_TESTING=1 make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jan 04 2013 Iain Arnell <iarnell at gmail.com> 0.103002-1
+- update to latest upstream version
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.103001-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index b6f9454..e9fe8dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7698046a5b1d779734568da987b5928b  CPAN-Uploader-0.103001.tar.gz
+538d8adc10373e90a2c5637a3caea0fa  CPAN-Uploader-0.103002.tar.gz


More information about the scm-commits mailing list