]> git.pld-linux.org Git - packages/ack.git/blobdiff - ack.spec
- fix R: for strange version of File::Glob
[packages/ack.git] / ack.spec
index f28ba6231c5254b4c3ed970986f020865814c150..4a4bb74d81b9d955290dcca0c92e799efa890fef 100644 (file)
--- a/ack.spec
+++ b/ack.spec
@@ -9,19 +9,21 @@
 Summary:       grep-like text finder
 Summary(pl.UTF-8):     produkt grepopodobny
 Name:          ack
-Version:       1.92
-Release:       3
+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: c25b5a16d0a27386a75c91d531b86cea
+# Source0-md5: 9ae2c3939d0f069c6781ee5b6de47c27
+Patch0:                %{name}-deps.patch
 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
-Requires:      perl-ack = %{version}-%{release}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,6 +58,7 @@ ack perl library.
 
 %prep
 %setup -q -n %{pdir}-%{version}
+%patch0 -p0
 
 %build
 %{__perl} Makefile.PL \
@@ -64,7 +67,7 @@ ack perl library.
        CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
-%{?with_tests:%{__make} test}
+%{?with_tests:%{__make} -j1 test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -77,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README 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.060438 seconds and 4 git commands to generate.