SHA256
1
0
forked from pool/ack
ack/ack-add_spec.patch

27 lines
800 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
---
ConfigDefault.pm | 3 +++
1 file changed, 3 insertions(+)
Index: ack-2.14/lib/App/Ack/ConfigDefault.pm
===================================================================
--- ack-2.14.orig/lib/App/Ack/ConfigDefault.pm 2014-09-04 22:19:55.000000000 +0100
+++ ack-2.14/lib/App/Ack/ConfigDefault.pm 2014-09-04 22:20:35.000000000 +0100
@@ -342,6 +342,9 @@ sub _options_block {
# http://docutils.sourceforge.net/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