diff --git a/Test-Requires-0.07.tar.gz b/Test-Requires-0.07.tar.gz deleted file mode 100644 index 6ba2a80..0000000 --- a/Test-Requires-0.07.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc0273f1b68817dc715e374c7abf245f13db28223a734d2bd72ab1d48a33cef0 -size 11023 diff --git a/Test-Requires-0.08.tar.gz b/Test-Requires-0.08.tar.gz new file mode 100644 index 0000000..ae7fb95 --- /dev/null +++ b/Test-Requires-0.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7b1b4b30b90d530aea68205c0e65cf7a784d6a218df5a2b41830cdb404d8221 +size 10888 diff --git a/perl-Test-Requires.changes b/perl-Test-Requires.changes index c99cdc5..255729c 100644 --- a/perl-Test-Requires.changes +++ b/perl-Test-Requires.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 18 12:25:57 UTC 2014 - chris@computersalat.de + +- update to 0.08 + * switch to EUMM + ------------------------------------------------------------------- Sat Jul 27 11:58:05 UTC 2013 - coolo@suse.com diff --git a/perl-Test-Requires.spec b/perl-Test-Requires.spec index e18f5f5..1b559a4 100644 --- a/perl-Test-Requires.spec +++ b/perl-Test-Requires.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-Requires # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Test-Requires -Version: 0.07 +Version: 0.08 Release: 0 %define cpan_name Test-Requires Summary: Checks to see if the module can be loaded @@ -29,12 +29,9 @@ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(CPAN::Meta) -BuildRequires: perl(CPAN::Meta::Prereqs) -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 -BuildRequires: perl(Module::Build) >= 0.38 -#BuildRequires: perl(Test::Perl::Critic) -#BuildRequires: perl(Test::Requires) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 +BuildRequires: perl(Test::Builder::Module) +BuildRequires: perl(Test::More) >= 0.61 %{perl_requires} %description @@ -53,14 +50,15 @@ Test::Requires can also be used to require a minimum version of Perl: %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=%{buildroot} create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %files -f %{name}.files