- fix usage of Module::Build::Tiny

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Warnings?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2013-08-05 13:18:21 +00:00 committed by Git OBS Bridge
parent 1e58a5b983
commit 2e036501b4
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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