only run tests on > 11.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-REST-Client?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
4f093c3541
commit
63d6ed89bd
@@ -18,6 +18,8 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|||||||
BuildRequires: perl(URI)
|
BuildRequires: perl(URI)
|
||||||
BuildRequires: perl(LWP::UserAgent)
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
BuildRequires: perl(Crypt::SSLeay)
|
BuildRequires: perl(Crypt::SSLeay)
|
||||||
|
# for tests:
|
||||||
|
BuildRequires: perl(HTTP::Server::Simple)
|
||||||
Requires: perl(URI)
|
Requires: perl(URI)
|
||||||
Requires: perl(LWP::UserAgent)
|
Requires: perl(LWP::UserAgent)
|
||||||
Requires: perl(Crypt::SSLeay)
|
Requires: perl(Crypt::SSLeay)
|
||||||
@@ -38,8 +40,10 @@ resources.
|
|||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1120
|
||||||
%check
|
%check
|
||||||
%__make test
|
%__make test
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
Reference in New Issue
Block a user