Accepting request 242493 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/242493 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-ExtUtils-Helpers?expand=0&rev=4
This commit is contained in:
commit
b9b109d6b2
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user