Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c449ee43ec | ||
|
|
a6ad16b574 | ||
|
|
b23001a055 | ||
|
|
da4455afbb | ||
|
|
3b47dd2e68 | ||
|
|
1c40a2755b |
2 changed files with 13 additions and 10 deletions
21
ack.spec
21
ack.spec
|
|
@ -1,7 +1,7 @@
|
|||
Name: ack
|
||||
Version: 3.7.0
|
||||
Version: 3.9.0
|
||||
Release: %autorelease
|
||||
Summary: Grep-like text finder
|
||||
Summary: A Grep-like source code search tool
|
||||
# SPDX migration
|
||||
License: Artistic-2.0
|
||||
URL: http://beyondgrep.com/
|
||||
|
|
@ -48,6 +48,7 @@ BuildRequires: perl(Term::ANSIColor) >= 1.10
|
|||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(Test::Harness) >= 2.5
|
||||
BuildRequires: perl(Test::More) >= 0.98
|
||||
BuildRequires: perl(YAML::PP)
|
||||
Requires: perl(File::Basename) >= 1.00015
|
||||
Requires: perl(Config)
|
||||
Requires: perl(File::Next) >= 1.18
|
||||
|
|
@ -58,26 +59,28 @@ Requires: perl(Pod::Usage) >= 1.26
|
|||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(File::Next\\)
|
||||
|
||||
%description
|
||||
Ack is designed as a replacement for grep.
|
||||
Ack is a grep-like search tool designed for use with large heterogeneous
|
||||
trees of source code. It searchs recursively and ignores common version
|
||||
control directories.
|
||||
|
||||
%prep
|
||||
%setup -q -n ack3-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
make completion.bash
|
||||
make completion.zsh
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
%{make_install}
|
||||
|
||||
install -D -p -m 0644 completion.bash %{buildroot}%{bash_completions_dir}/ack
|
||||
install -D -p -m 0644 completion.zsh %{buildroot}%{zsh_completions_dir}/_ack
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (ack3-3.7.0.tar.gz) = c6f10bdac069b500ef08cd3d039e4bbb7813a898893efa39c1199958968ac928a371eb546a05133445bb73597d1fb04c2c0c3b636b5c26646db27e8eb1090f7d
|
||||
SHA512 (ack3-3.9.0.tar.gz) = 244f799bee3ba4f450ebd0b116eb7d31d46f95d522a5fed187795e9c3fd5b4e6def881d5d8bb685559ed582e3abee0cb4ea2752cacdac6930ce5737cfbca3147
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue