Include a copy of late Test-Simple for test, the version in el6 is too old
- BR perl(IO::Pty) for running more tests
This commit is contained in:
parent
57def9502e
commit
a536ca88a7
3 changed files with 14 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,3 +5,4 @@
|
|||
/ack-2.08.tar.gz
|
||||
/ack-2.10.tar.gz
|
||||
/ack-2.12.tar.gz
|
||||
/Test-Simple-1.001003.tar.gz
|
||||
|
|
|
|||
15
ack.spec
15
ack.spec
|
|
@ -1,11 +1,13 @@
|
|||
Name: ack
|
||||
Version: 2.12
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Grep-like text finder
|
||||
License: Artistic 2.0
|
||||
Group: Development/Libraries
|
||||
URL: http://betterthangrep.com/
|
||||
Source0: http://www.cpan.org/modules/by-module/App/%{name}-%{version}.tar.gz
|
||||
# Ack requires a late Test::More to run the tests
|
||||
Source1: http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Simple-1.001003.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Basename)
|
||||
|
|
@ -16,7 +18,9 @@ BuildRequires: perl(Pod::Usage)
|
|||
BuildRequires: perl(Term::ANSIColor)
|
||||
BuildRequires: perl(Text::ParseWords) >= 3.1
|
||||
BuildRequires: perl(Test::Harness) >= 2.5
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(IO::Pty)
|
||||
# We use a local copy of late Test::More
|
||||
#BuildRequires: perl(Test::More) >= 0.98
|
||||
BuildRequires: perl(Test::Pod)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
|
|
@ -39,7 +43,8 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
tar zfx %SOURCE1
|
||||
PERLLIB=Test-Simple-1.001003/lib make test
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE.md README.md
|
||||
|
|
@ -49,6 +54,10 @@ make test
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Mar 29 2014 Robin Lee <cheeselee@fedoraproject.org> - 2.12-2
|
||||
- Include a copy of late Test-Simple for test, the version in el6 is too old
|
||||
- BR perl(IO::Pty) for running more tests
|
||||
|
||||
* Wed Dec 11 2013 Robin Lee <cheeselee@fedoraproject.org> - 2.12-1
|
||||
- Update to 2.12
|
||||
- fixes BZ#1040228, BZ#1040229,
|
||||
|
|
|
|||
1
sources
1
sources
|
|
@ -1 +1,2 @@
|
|||
11e886ab0ec72173869a82e59227ddf2 ack-2.12.tar.gz
|
||||
527ae49633648f281ccab8e759d313be Test-Simple-1.001003.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue