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:
committed by
Git OBS Bridge
parent
146d4fe953
commit
615985295b
@@ -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
|
||||
|
||||
|
7
ack.spec
7
ack.spec
@@ -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)
|
||||
|
Reference in New Issue
Block a user