[packages/ack] - up to 2.02 - don't run tests in parallel - update BRs for tests
draenog
draenog at pld-linux.org
Mon Apr 22 19:03:03 CEST 2013
commit 78a5158c6b788fcf267f66ed0555183d8338d8f5
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Mon Apr 22 17:58:23 2013 +0100
- up to 2.02
- don't run tests in parallel
- update BRs for tests
ack.spec | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/ack.spec b/ack.spec
index a07620e..e70f2cb 100644
--- 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*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ack.git/commitdiff/7ce2421c977ea85b3078f9b855185f628f0a514c
More information about the pld-cvs-commit
mailing list