Compare commits

...
Sign in to create a new pull request.

10 commits

Author SHA1 Message Date
Fedora Release Engineering
c449ee43ec Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:25:02 +00:00
Bill Pemberton
a6ad16b574 Update the summary and description for the package. 2025-08-08 10:30:26 -04:00
Fedora Release Engineering
b23001a055 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:43:39 +00:00
Bill Pemberton
da4455afbb Update to version 3.9.0 2025-05-26 18:21:22 -04:00
Bill Pemberton
3b47dd2e68 Slight modernization of the spec file
This brings the spec file more in line with the current suggested ways
to build perl packages.
2025-05-26 16:48:48 -04:00
Fedora Release Engineering
1c40a2755b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 10:31:26 +00:00
Carl George
61cc23b504 Add bash and zsh completion files
This requires switching from the CPAN archive to the GitHub archive,
because the former is missing the dev/generate-completion-scripts.pl
script needed to create the completion files.
2024-11-30 18:12:35 -06:00
Fedora Release Engineering
77192523e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 16:33:01 +00:00
Fedora Release Engineering
80188d713a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 22:36:44 +00:00
Fedora Release Engineering
da8e5054e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 12:05:38 +00:00
3 changed files with 23 additions and 41 deletions

29
.gitignore vendored
View file

@ -1,28 +1 @@
/ack-1.94.tar.gz
/ack-1.96.tar.gz
/ack-2.00.tar.gz
/ack-2.04.tar.gz
/ack-2.08.tar.gz
/ack-2.10.tar.gz
/ack-2.12.tar.gz
/ack-2.14.tar.gz
/ack-2.16.tar.gz
/ack-2.18.tar.gz
/ack-2.20.tar.gz
/ack-2.22.tar.gz
/ack-2.24.tar.gz
/ack-2.999_06.tar.gz
/ack-v3.0.0.tar.gz
/ack-v3.0.1.tar.gz
/ack-v3.0.2.tar.gz
/ack-v3.0.3.tar.gz
/ack-v3.1.0.tar.gz
/ack-v3.1.1.tar.gz
/ack-v3.1.2.tar.gz
/ack-v3.2.0.tar.gz
/ack-v3.3.0.tar.gz
/ack-v3.3.1.tar.gz
/ack-v3.4.0.tar.gz
/ack-v3.5.0.tar.gz
/ack-v3.6.0.tar.gz
/ack-v3.7.0.tar.gz
ack3-*.tar.gz

View file

@ -1,12 +1,11 @@
Name: ack
Version: 3.7.0
%global cpan_version v%{version}
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/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{name}-%{cpan_version}.tar.gz
Source: https://github.com/beyondgrep/ack3/archive/v%{version}/ack3-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
@ -17,6 +16,7 @@ BuildRequires: perl(:VERSION) >= 5.10.1
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(Template)
# Run-time:
BuildRequires: perl(Config)
BuildRequires: perl(Cwd) >= 3.00
@ -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,22 +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 %{name}-%{cpan_version}
%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}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
install -D -p -m 0644 completion.bash %{buildroot}%{bash_completions_dir}/ack
install -D -p -m 0644 completion.zsh %{buildroot}%{zsh_completions_dir}/_ack
%{_fixperms} %{buildroot}/*
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
@ -84,6 +91,8 @@ make test
%{perl_vendorlib}/*
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%{bash_completions_dir}/ack
%{zsh_completions_dir}/_ack
%changelog

View file

@ -1 +1 @@
SHA512 (ack-v3.7.0.tar.gz) = 3d97309956ce65f972a7636d195b13031f4441981d5bdddf0b67e577c32c88972f7ed02ffafbbf73c4db9a22f200f95cce9c8eb2a6f47fd60143d93469038f57
SHA512 (ack3-3.9.0.tar.gz) = 244f799bee3ba4f450ebd0b116eb7d31d46f95d522a5fed187795e9c3fd5b4e6def881d5d8bb685559ed582e3abee0cb4ea2752cacdac6930ce5737cfbca3147