From 2e036501b4e9c93ac80c46ee0f15715d2e6aed23ac1b0b1d3badd9b31cbb785e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 5 Aug 2013 13:18:21 +0000 Subject: [PATCH] - fix usage of Module::Build::Tiny OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Warnings?expand=0&rev=4 --- perl-Test-Warnings.changes | 5 +++++ perl-Test-Warnings.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/perl-Test-Warnings.changes b/perl-Test-Warnings.changes index 11a5f33..6a8caf9 100644 --- a/perl-Test-Warnings.changes +++ b/perl-Test-Warnings.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 5 13:17:56 UTC 2013 - coolo@suse.com + +- fix usage of Module::Build::Tiny + ------------------------------------------------------------------- Sat Jul 27 11:58:35 UTC 2013 - coolo@suse.com diff --git a/perl-Test-Warnings.spec b/perl-Test-Warnings.spec index 13638a2..fabafeb 100644 --- a/perl-Test-Warnings.spec +++ b/perl-Test-Warnings.spec @@ -30,7 +30,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Capture::Tiny) -BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build::Tiny) >= 0.025 BuildRequires: perl(Test::CheckDeps) >= 0.006 BuildRequires: perl(Test::Deep) @@ -78,14 +77,14 @@ wish to test the content of expected warnings; read on to find out how. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files