SHA256
1
0
forked from pool/ack

Accepting request 205175 from devel:languages:perl

- fix SLE build: File::Next does not have the required version. It
  is only used in regression tests - skip them for SLE

OBS-URL: https://build.opensuse.org/request/show/205175
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=17
This commit is contained in:
OBS User mrdocs
2013-10-29 23:10:25 +00:00
committed by Git OBS Bridge
parent 146d4fe953
commit 615985295b
2 changed files with 13 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 29 20:46:34 UTC 2013 - andreas.stieger@gmx.de
- fix SLE build: File::Next does not have the required version. It
is only used in regression tests - skip them for SLE
-------------------------------------------------------------------
Thu Oct 17 21:03:44 UTC 2013 - andreas.stieger@gmx.de

View File

@@ -25,6 +25,8 @@
%define with_pod 0
%endif
%define run_tests 0%{?suse_version} >= 1210
Name: ack
Version: 2.10
Release: 0
@@ -41,7 +43,10 @@ Requires: perl
BuildRequires: make
BuildRequires: perl >= 5.8.8
BuildRequires: perl(File::Next) >= 1.10
%if %run_tests
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(IO::Pty)
%endif
%if %with_pod
BuildRequires: perl(Test::Pod) >= 1.14
%endif
@@ -94,7 +99,9 @@ for f in Changes README.md LICENSE.md; do
done
%check
%if %run_tests
make test
%endif
%files
%defattr(-,root,root)