[ack] Update to 2.0

李瑞彬 cheeselee at fedoraproject.org
Thu Apr 18 08:26:03 UTC 2013


commit 0f6856913b6066ab4373a0524cfb349556952e74
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Thu Apr 18 16:25:31 2013 +0800

    Update to 2.0

 .gitignore |    1 +
 ack.spec   |   21 +++++++++++----------
 sources    |    2 +-
 3 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6970851..5f5ed46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /ack-1.94.tar.gz
 /ack-1.96.tar.gz
+/ack-2.00.tar.gz
diff --git a/ack.spec b/ack.spec
index 33c692a..6f14360 100644
--- a/ack.spec
+++ b/ack.spec
@@ -1,21 +1,22 @@
 Name:           ack
-Version:        1.96
-Release:        7%{?dist}
+Version:        2.00
+Release:        1%{?dist}
 Summary:        Grep-like text finder
 License:        Artistic 2.0
 Group:          Development/Libraries
-URL:            http://search.cpan.org/dist/ack/
-Source0:        http://www.cpan.org/modules/by-module/App/ack-%{version}.tar.gz
+URL:            http://betterthangrep.com/
+Source0:        http://www.cpan.org/modules/by-module/App/%{name}-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Basename)
 BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(File::Next) >= 0.40
+BuildRequires:  perl(File::Next) >= 1.10
 BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(Pod::Usage)
 BuildRequires:  perl(Term::ANSIColor)
 BuildRequires:  perl(Test::Harness) >= 2.5
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -36,20 +37,20 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
-mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
-cp -p etc/ack.bash_completion.sh %{buildroot}%{_sysconfdir}/bash_completion.d
-
 %check
 make test
 
 %files
-%doc ack-help.txt ack-help-types.txt Changes README.markdown
+%doc Changes LICENSE.md README.md
 %{perl_vendorlib}/*
 %{_bindir}/ack
 %{_mandir}/man1/*
-%{_sysconfdir}/bash_completion.d
+
 
 %changelog
+* Thu Apr 18 2013 Robin Lee <cheeselee at fedoraproject.org> - 2.00-1
+- Update to 2.0
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.96-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index ed1fb58..05f5524 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-21701fb5f4670181dbf6ebe47984634b  ack-1.96.tar.gz
+517d903aefc5a153e6ff1f65dab9bb12  ack-2.00.tar.gz


More information about the scm-commits mailing list