diff --git a/perl-ExtUtils-Helpers.changes b/perl-ExtUtils-Helpers.changes index 01a17f8..7f09099 100644 --- a/perl-ExtUtils-Helpers.changes +++ b/perl-ExtUtils-Helpers.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Jul 26 11:31:49 UTC 2014 - dimstar@opensuse.org + +- Use build conditionals as wanted: + + Use build conditional 'with/without test'. + + due to the usage of bcond_without, the DEFAULT is to enable + tests. + + To skip the tests, one can use "osc build --without test". + +------------------------------------------------------------------- +Fri Jul 18 11:45:45 UTC 2014 - chris@computersalat.de + +- fix build for SLE 11 + * Test::More >= 0.88 +- fix deps + ------------------------------------------------------------------- Mon Mar 17 08:29:24 UTC 2014 - coolo@suse.com diff --git a/perl-ExtUtils-Helpers.spec b/perl-ExtUtils-Helpers.spec index cbc6c43..3a61d4a 100644 --- a/perl-ExtUtils-Helpers.spec +++ b/perl-ExtUtils-Helpers.spec @@ -16,6 +16,8 @@ # +%bcond_without test + Name: perl-ExtUtils-Helpers Version: 0.022 Release: 0 @@ -29,8 +31,26 @@ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +%if %{with test} +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Test::More) >= 0.88 +%endif +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(Module::Load) +BuildRequires: perl(Text::ParseWords) +Requires: perl(Carp) +Requires: perl(Exporter) >= 5.57 +Requires: perl(File::Basename) +Requires: perl(File::Copy) +Requires: perl(File::Spec::Functions) Requires: perl(Module::Load) +Requires: perl(Text::ParseWords) %{perl_requires} %description @@ -44,8 +64,10 @@ modules. %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} +%if %{with test} %check %{__make} test +%endif %install %perl_make_install