10 Commits

Author SHA256 Message Date
96bcebfcb7 Accepting request 1281226 from utilities
OBS-URL: https://build.opensuse.org/request/show/1281226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ack?expand=0&rev=39
2025-05-30 12:38:42 +00:00
e7f5d800eb Accepting request 1281222 from home:AndreasStieger:branches:utilities
ack 3.9.0

OBS-URL: https://build.opensuse.org/request/show/1281222
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=45
2025-05-29 20:51:57 +00:00
a22eb700d8 Accepting request 1278004 from utilities
OBS-URL: https://build.opensuse.org/request/show/1278004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ack?expand=0&rev=38
2025-05-20 07:34:35 +00:00
20081ee1e3 Accepting request 1277998 from home:dimstar:Factory
Fix changelog format - the check_date helper detects format errors in changelogs now

OBS-URL: https://build.opensuse.org/request/show/1277998
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=44
2025-05-16 09:58:16 +00:00
48ae1edb1b Accepting request 1267948 from utilities
OBS-URL: https://build.opensuse.org/request/show/1267948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ack?expand=0&rev=37
2025-04-09 19:50:04 +00:00
ed5d8a44b6 Accepting request 1267944 from home:AndreasStieger:branches:utilities
ack 3.8.2

OBS-URL: https://build.opensuse.org/request/show/1267944
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=43
2025-04-08 16:49:37 +00:00
a0c5f555b4 Accepting request 1234620 from utilities
OBS-URL: https://build.opensuse.org/request/show/1234620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ack?expand=0&rev=36
2025-01-05 14:28:57 +00:00
6c7c37af60 Accepting request 1234286 from home:AndreasStieger:branches:utilities
ack 3.8.1

OBS-URL: https://build.opensuse.org/request/show/1234286
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=42
2025-01-02 19:41:10 +00:00
d5f0520cef Accepting request 1233038 from utilities
OBS-URL: https://build.opensuse.org/request/show/1233038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ack?expand=0&rev=35
2024-12-22 17:09:01 +00:00
c62324263e Accepting request 1232984 from home:AndreasStieger:branches:utilities
ack 3.8.0

OBS-URL: https://build.opensuse.org/request/show/1232984
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=41
2024-12-22 13:33:03 +00:00
4 changed files with 51 additions and 28 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea7caa14f757de083310ed2cba298661ddcca5dee06ec8f18043ea625a79df20
size 252426

3
ack-v3.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94ed477e3b3f94d126cec7329f0e8399f1d0ce82c7c4d882a94adb150e7ffc90
size 277332

View File

@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Thu May 29 20:11:02 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- ack 3.9.0:
* The --not option can be used with either --and or --or
* The -g option can now use any of the boolean options, --and,
--or or --not.
* When using --output='$f', the filename would be colorized in
the output line, but should not have been
-------------------------------------------------------------------
Fri May 16 09:53:53 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix changelog format: the line immediately after the dashed line
is supposed to be the header with date/author info.
-------------------------------------------------------------------
Tue Apr 8 16:13:26 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- ack 3.8.2:
* ack would always set a return code of 1 if -c was used. Now it
properly returns 1 if no files match, and 0 if any files match
* ack now needs YAML::PP to run its tests. Many of ack's tests
are stored in YAML files for flexibility
-------------------------------------------------------------------
Wed Jan 1 11:10:30 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- ack 3.8.1
* zsh completion fix
-------------------------------------------------------------------
Sat Dec 21 20:21:23 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- ack 3.8.0
* Add --and and --or options to allow combinations of search
terms. This is in addition to the --not that was added in
v3.7.0.
* Add support for Pytest filetype
* Add support for Terraform
-------------------------------------------------------------------
Tue Feb 20 09:58:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
@@ -296,7 +337,6 @@ Thu Oct 17 21:03:44 UTC 2013 - andreas.stieger@gmx.de
* bash completion is gone, remove dead code
-------------------------------------------------------------------
Thu Aug 15 13:07:09 UTC 2013 - idonmez@suse.com
- Add perl-File-Next runtime dependency

View File

@@ -2,6 +2,7 @@
# spec file for package ack
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +17,8 @@
#
%define run_tests 0%{?suse_version} > 1500
%if 0%{?suse_version} >= 1100 || 0%{?fedora} >= 13
%define with_pod 1
%else
%define with_pod 0
%endif
%{!?perl_make_install: %global perl_make_install make DESTDIR=%{buildroot} install_vendor}
Name: ack
Version: 3.7.0
Version: 3.9.0
Release: 0
Summary: Grep-Like Text Finder
License: Artistic-2.0
@@ -36,17 +30,14 @@ Patch3: ack-add_spec.patch
BuildRequires: make
BuildRequires: perl >= 5.10.1
BuildRequires: perl(File::Next) >= 1.18
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(YAML::PP)
BuildRequires: perl(IO::Pty)
BuildRequires: perl(Test::Pod) >= 1.14
Requires: perl >= 5.10.1
Requires: perl-App-Ack = %{version}-%{release}
Requires: perl-base = %{perl_version}
BuildArch: noarch
%if %{run_tests}
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(IO::Pty)
%endif
%if %{with_pod}
BuildRequires: perl(Test::Pod) >= 1.14
%endif
%description
ack is a grep-like tool tailored to working with large trees of source code.
@@ -70,24 +61,16 @@ perl Makefile.PL
%install
%perl_make_install
%if 0%{?perl_process_packlist:1}
%perl_process_packlist
%else
rm "%{buildroot}%{perl_archlib}/perllocal.pod"
%endif
# remove .packlist file
rm -rf "%{buildroot}%{perl_vendorarch}/auto/ack"
rm -f "%{buildroot}%{_localstatedir}/adm/perl-modules/ack"
%check
%if %{run_tests}
%make_build test
%endif
%files
%license LICENSE.md
%{_bindir}/ack
%{_mandir}/man1/ack.1%{?ext_man}