commit 7c1014fcba61b7d11d5c8795e329b71c84e4dc6e
Author: Petr Šabata <con...@redhat.com>
Date:   Thu Nov 6 14:33:55 2014 +0100

    1.038 bump

 .gitignore            |    1 +
 perl-Test-Prereq.spec |   49 +++++++++++++++++++++++++++----------------------
 sources               |    2 +-
 3 files changed, 29 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6601173..b440c01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Test-Prereq-1.037.tar.gz
+/Test-Prereq-1.038.tar.gz
diff --git a/perl-Test-Prereq.spec b/perl-Test-Prereq.spec
index cecef84..8acb5cf 100644
--- a/perl-Test-Prereq.spec
+++ b/perl-Test-Prereq.spec
@@ -1,23 +1,35 @@
 Name:           perl-Test-Prereq
-Version:        1.037
-Release:        15%{?dist}
+Version:        1.038
+Release:        1%{?dist}
 Summary:        Check if Makefile.PL has the right pre-requisites
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Test-Prereq/
 Source0:        
http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Prereq-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Find)
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Module::CoreList)
 BuildRequires:  perl(Module::Info)
-BuildRequires:  perl(CPAN)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::Builder)
-BuildRequires:  perl(Test::Builder::Tester)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+# 0.95 is not required at runtime
+BuildRequires:  perl(Test::More) >= 0.95
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(lib)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo 
$version))
+Requires:       perl(CPAN)
 
 %description
 The prereq_ok() function examines the modules it finds in blib/lib/,
@@ -30,18 +42,12 @@ section of Makefile.PL.
 %setup -q -n Test-Prereq-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
 
 %check
 # t/get_from_prereqs.t requires interactive CPAN module configuration and
@@ -49,16 +55,15 @@ find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} \;
 rm t/get_from_prereqs.t
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Nov 06 2014 Petr Šabata <con...@redhat.com> - 1.038-1
+- 1.038 bump
+
 * Thu Aug 28 2014 Jitka Plesnikova <jples...@redhat.com> - 1.037-15
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 302db22..ee20ac3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d38be5a57b38cf500a7c2a212fb697e9  Test-Prereq-1.037.tar.gz
+349652328aeed7b3f0ebf8734154fd39  Test-Prereq-1.038.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to