commit b02f99fef171cc485455257512fc6cf9141fbc4b Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Jul 16 16:14:11 2014 +0100 Update to 0.08 - New upstream release 0.08 - Switch to ExtUtils::MakeMaker perl-Test-Requires.spec | 34 ++++++++++++++++++---------------- sources | 2 +- 2 files changed, 19 insertions(+), 17 deletions(-) --- diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec index f2729cf..ae15d87 100644 --- a/perl-Test-Requires.spec +++ b/perl-Test-Requires.spec @@ -1,10 +1,10 @@ # Only need manual requires for "use base XXX;" prior to rpm 4.9 -%global rpm49 %(rpm --version | perl -pi -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e') +%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e') Name: perl-Test-Requires Summary: Checks to see if a given module can be loaded -Version: 0.07 -Release: 6%{?dist} +Version: 0.08 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Requires @@ -13,17 +13,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Module Build BuildRequires: perl -BuildRequires: perl(CPAN::Meta) -BuildRequires: perl(CPAN::Meta::Prereqs) -BuildRequires: perl(File::Basename) -BuildRequires: perl(File::Spec) -BuildRequires: perl(Module::Build) >= 0.38 -BuildRequires: perl(strict) -BuildRequires: perl(utf8) -BuildRequires: perl(warnings) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Copy) # Module BuildRequires: perl(base) +BuildRequires: perl(strict) BuildRequires: perl(Test::Builder::Module) +BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test::More) >= 0.61 @@ -48,17 +44,19 @@ If this fails, rather than failing tests this skips all tests. %setup -q -n Test-Requires-%{version} %build -perl Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install rm -rf %{buildroot} -./Build install destdir=%{buildroot} create_packlist=0 +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +%{_fixperms} %{buildroot} %check # note the "skipped" warnings indicate success :) -./Build test -./Build test --test_files="xt/*.t" +make test +make test TEST_FILES="xt/*.t" %clean rm -rf %{buildroot} @@ -69,6 +67,10 @@ rm -rf %{buildroot} %{_mandir}/man3/Test::Requires.3pm* %changelog +* Wed Jul 16 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.08-1 +- Update to 0.08 + - Switch to ExtUtils::MakeMaker + * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.07-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index d5c863a..8052fb9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -20bdd194fd0cf59eb0cc9349a68dbaa6 Test-Requires-0.07.tar.gz +339ec20fbbeaa904a968bdee629688a6 Test-Requires-0.08.tar.gz -- 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