]> git.pld-linux.org Git - packages/ack.git/commitdiff
- up to 2.02
authorKacper Kornet <draenog@pld-linux.org>
Mon, 22 Apr 2013 16:58:23 +0000 (17:58 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Mon, 22 Apr 2013 16:58:23 +0000 (17:58 +0100)
- don't run tests in parallel
- update BRs for tests

ack.spec

index a07620e0c520f2427e80fa324ac1ad4382a778f5..e70f2cbd4ab56cf651e384f82f42ce899b16bfc5 100644 (file)
--- a/ack.spec
+++ b/ack.spec
@@ -9,15 +9,17 @@
 Summary:       grep-like text finder
 Summary(pl.UTF-8):     produkt grepopodobny
 Name:          ack
-Version:       1.96
+Version:       2.02
 Release:       1
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/ack-%{version}.tar.gz
-# Source0-md5: 21701fb5f4670181dbf6ebe47984634b
+# Source0-md5: 9ae2c3939d0f069c6781ee5b6de47c27
 URL:           http://betterthangrep.com/
-BuildRequires: perl-File-Next
-%{?with_tests:BuildRequires:   perl-Test-Pod}
+%if %{with tests}
+BuildRequires: perl-File-Next >= 1.10
+BuildRequires: perl-Test-Simple >= 0.98
+%endif
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: perl-perldoc
 BuildRequires: rpm-perlprov >= 4.1-13
@@ -63,7 +65,7 @@ ack perl library.
        CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
-%{?with_tests:%{__make} test}
+%{?with_tests:%{__make} -j1 test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -76,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README.markdown TODO ack-help.txt ack-help-types.txt
+%doc Changes README.md
 %attr(755,root,root) %{_bindir}/ack
 %{_mandir}/man1/ack.1p*
 
This page took 0.069328 seconds and 4 git commands to generate.