File ack-add_spec.patch of Package ack
--- ack.orig 2011-02-26 15:42:46.000000000 +0100
+++ ack 2011-02-26 15:43:11.000000000 +0100
@@ -1263,6 +1263,8 @@
vim => [qw( vim )],
yaml => [qw( yaml yml )],
xml => [qw( xml dtd xsl xslt ent )],
+ spec => [qw( spec )],
+ rpm => [qw( spec )],
);
while ( my ($type,$exts) = each %mappings ) {
--- Ack.pm.orig 2011-02-26 15:43:15.000000000 +0100
+++ Ack.pm 2011-02-26 15:43:30.000000000 +0100
@@ -124,6 +124,8 @@
vim => [qw( vim )],
yaml => [qw( yaml yml )],
xml => [qw( xml dtd xsl xslt ent )],
+ rpm => [qw( spec )],
+ spec => [qw( spec )],
);
while ( my ($type,$exts) = each %mappings ) {