e07234c5e9
- ack 3.3.1: * Fix some regexes that would be shown as invalid when used with the -Q option. Since the -Q tells ack to treat the regex as a literal, this shouldn't be possible (GH #294) - includes changes from 3.3.0: * Improve error message when the regex passed is invalid * Add new file and directory exclusions * Reorganize --help menu * Output message when using --show-types without -f or -g if it will have no effect * Improve error message when ack gets passed two options that can't be used together * Fix the behavior of --break and --heading * Warn when option pairs don't make sense to use together * Fix required minimum version of Getopt::Long module (GH #287) * Line number and filename separators in --passthru mode now work the same as in context (-A/-B/-C) mode (GH #291) - Rebase patches: * ack-add_spec.patch * ack-ignore-osc.patch OBS-URL: https://build.opensuse.org/request/show/766335 OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=35
23 lines
703 B
Diff
23 lines
703 B
Diff
From: Andreas Stieger <andreas.stieger@gmx.de>
|
|
Date: Thu, 04 Sep 2014 23:09:09 +0100
|
|
Subject: Add RPM/.spec type
|
|
Upstream: Submitted
|
|
References: https://github.com/petdance/ack2/pull/490
|
|
|
|
Add rpm/.spec to known file types
|
|
|
|
---
|
|
diff -Pdru ack-v3.3.1.orig/lib/App/Ack/ConfigDefault.pm ack-v3.3.1/lib/App/Ack/ConfigDefault.pm
|
|
--- ack-v3.3.1.orig/lib/App/Ack/ConfigDefault.pm 2020-01-22 14:49:59.116748125 +0100
|
|
+++ ack-v3.3.1/lib/App/Ack/ConfigDefault.pm 2020-01-22 14:51:46.072490906 +0100
|
|
@@ -392,6 +392,9 @@
|
|
# https://docutils.sourceforge.io/rst.html
|
|
--type-add=rst:ext:rst
|
|
|
|
+# RPM
|
|
+--type-add=rpm:ext:spec
|
|
+
|
|
# Ruby
|
|
# https://www.ruby-lang.org/
|
|
--type-add=ruby:ext:rb,rhtml,rjs,rxml,erb,rake,spec
|