%bcond_without tests # do not perform "make test"
%bcond_with pty_tests # do not perform tests requiring a pty
#
-%include /usr/lib/rpm/macros.perl
%define pdir ack
Summary: grep-like text finder
Summary(pl.UTF-8): produkt grepopodobny
Name: ack
-Version: 2.10
+Version: 2.28
Release: 1
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/%{name}-%{version}.tar.gz
-# Source0-md5: 4581d79ecb12b544f363f0f162aaaeb5
+# Source0-md5: 5c363d701cb40cbc3806441b2a887b43
Patch0: %{name}-deps.patch
Patch1: %{name}-interactive-tests.patch
URL: http://betterthangrep.com/
Requires: perl-ack = %{version}
%if %{with tests}
-BuildRequires: perl-File-Next >= 1.10
+BuildRequires: perl-File-Next >= 1.16
%{?with_pty_tests:BuildRequires: perl-IO-Tty}
BuildRequires: perl-Test-Simple >= 0.98
%endif