Compare commits

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

6 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
2 changed files with 13 additions and 10 deletions

View file

@ -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

View file

@ -1 +1 @@
SHA512 (ack3-3.7.0.tar.gz) = c6f10bdac069b500ef08cd3d039e4bbb7813a898893efa39c1199958968ac928a371eb546a05133445bb73597d1fb04c2c0c3b636b5c26646db27e8eb1090f7d
SHA512 (ack3-3.9.0.tar.gz) = 244f799bee3ba4f450ebd0b116eb7d31d46f95d522a5fed187795e9c3fd5b4e6def881d5d8bb685559ed582e3abee0cb4ea2752cacdac6930ce5737cfbca3147