]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - grep/grep.nm
grep: Update to 2.17.
[ipfire-3.x.git] / grep / grep.nm
index 0aa3427fc80f68f3e4d7b98a3cdce2aa115a70b4..2dea0cc27cb1435fedc043cae8a67d1eb891b1ae 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = grep
-version    = 2.16
+version    = 2.17
 release    = 1
 
 groups     = Applications/Text
@@ -41,6 +41,14 @@ build
        test
                make check
        end
+
+       install_cmds
+               mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d
+               install -m 644 %{DIR_SOURCE}/colorgrep.sh \
+                       %{BUILDROOT}%{sysconfdir}/profile.d
+               install -m 644 %{DIR_SOURCE}/GREP_COLORS \
+                       %{BUILDROOT}%{sysconfdir}
+       end
 end
 
 packages
@@ -49,11 +57,17 @@ packages
 
                provides
                        /bin/grep
+                       bundled(gnulib)
                end
 
                conflicts
                        filesystem < 002
                end
+
+               configfiles
+                       %{sysconfdir}/profile.d/colorgrep.sh
+                       %{sysconfdir}/GREP_COLORS
+               end
        end
 
        package %{name}-debuginfo