forked from pool/perl-Module-Implementation
- fix build with old Test::More for sle11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Implementation?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
bd36277b11
commit
428cb02655
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-Module-Implementation
|
||||
Version: 0.05
|
||||
Release: 0
|
||||
@@ -26,6 +25,9 @@ License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Module-Implementation/
|
||||
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
%if 0%{?suse_version} <= 1110
|
||||
Patch0: old_test_more.patch
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@@ -33,8 +35,8 @@ BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Runtime) >= 0.011
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Taint)
|
||||
BuildRequires: perl(Test::Requires)
|
||||
BuildRequires: perl(Test::Taint)
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
#BuildRequires: perl(Module::Implementation)
|
||||
#BuildRequires: perl(Test::Spelling)
|
||||
@@ -55,6 +57,9 @@ something like a plugin system, not this module.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%patch0
|
||||
%endif
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
||||
Reference in New Issue
Block a user