From 02c652ed71b34ec11aaa040c7d1e15b3dd44339d Mon Sep 17 00:00:00 2001 From: Jaroslav Škarvada Date: Apr 01 2020 21:32:31 +0000 Subject: New version Resolves: rhbz#1818417 Added all glibc langpacks to allow more locale sensitive tests to run Added perl-FileHandle requirement for the filename-lineno.pl test --- diff --git a/grep-3.33-help-align.patch b/grep-3.33-help-align.patch deleted file mode 100644 index 84ad75d..0000000 --- a/grep-3.33-help-align.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/grep.c b/src/grep.c -index 5b05969..2384789 100644 ---- a/src/grep.c -+++ b/src/grep.c -@@ -1962,7 +1962,8 @@ Output control:\n\ - -D, --devices=ACTION how to handle devices, FIFOs and sockets;\n\ - ACTION is 'read' or 'skip'\n\ - -r, --recursive like --directories=recurse\n\ -- -R, --dereference-recursive likewise, but follow all symlinks\n\ -+ -R, --dereference-recursive\n\ -+ likewise, but follow all symlinks\n\ - ")); - printf (_("\ - --include=GLOB search only files that match GLOB (a file pattern)" -@@ -1972,7 +1973,7 @@ Output control:\n\ - --exclude-dir=GLOB skip directories that match GLOB\n\ - ")); - printf (_("\ -- -L, --files-without-match print only names of FILEs with no selected lines\n\ -+ -L, --files-without-match print only names of FILEs with no selected lines\n\ - -l, --files-with-matches print only names of FILEs with selected lines\n\ - -c, --count print only a count of selected lines per FILE\n\ - -T, --initial-tab make tabs line up (if needed)\n\ diff --git a/grep-3.33-man-fix-gs.patch b/grep-3.33-man-fix-gs.patch deleted file mode 100644 index 7086911..0000000 --- a/grep-3.33-man-fix-gs.patch +++ /dev/null @@ -1,61 +0,0 @@ -diff --git a/doc/grep.in.1 b/doc/grep.in.1 -index 9d0d494..735b462 100644 ---- a/doc/grep.in.1 -+++ b/doc/grep.in.1 -@@ -451,7 +451,7 @@ Print - .I NUM - lines of trailing context after matching lines. - Places a line containing a group separator --.RB ( \-\^\- ) -+.RB "(described under " \-\^\-group\-separator ) - between contiguous groups of matches. - With the - .B \-o -@@ -464,7 +464,7 @@ Print - .I NUM - lines of leading context before matching lines. - Places a line containing a group separator --.RB ( \-\^\- ) -+.RB "(described under " \-\^\-group\-separator ) - between contiguous groups of matches. - With the - .B \-o -@@ -477,13 +477,24 @@ Print - .I NUM - lines of output context. - Places a line containing a group separator --.RB ( \-\^\- ) -+.RB "(described under " \-\^\-group\-separator ) - between contiguous groups of matches. - With the - .B \-o - or - .B \-\^\-only\-matching - option, this has no effect and a warning is given. -+.TP -+.BI \-\^\-group\-separator= SEP -+Use -+.I SEP -+as a group separator. By default -+.I SEP -+is double hyphen -+.RB ( \-\^\- ). -+.TP -+.B \-\^\-no\-group-separator -+Use empty string as a group separator. - .SS "File and Directory Selection" - .TP - .BR \-a ", " \-\^\-text -diff --git a/src/grep.c b/src/grep.c -index 9fb5e92..5b05969 100644 ---- a/src/grep.c -+++ b/src/grep.c -@@ -1986,6 +1986,8 @@ Context control:\n\ - ")); - printf (_("\ - -NUM same as --context=NUM\n\ -+ --group-separator=SEP use SEP as a group separator\n\ -+ --no-group-separator use empty string as a group separator\n\ - --color[=WHEN],\n\ - --colour[=WHEN] use markers to highlight the matching strings;\n\ - WHEN is 'always', 'never', or 'auto'\n\ diff --git a/grep-3.4-help-align.patch b/grep-3.4-help-align.patch new file mode 100644 index 0000000..ca8e0f0 --- /dev/null +++ b/grep-3.4-help-align.patch @@ -0,0 +1,23 @@ +diff --git a/src/grep.c b/src/grep.c +index 9c0532d..caeece1 100644 +--- a/src/grep.c ++++ b/src/grep.c +@@ -1965,7 +1965,8 @@ Output control:\n\ + -D, --devices=ACTION how to handle devices, FIFOs and sockets;\n\ + ACTION is 'read' or 'skip'\n\ + -r, --recursive like --directories=recurse\n\ +- -R, --dereference-recursive likewise, but follow all symlinks\n\ ++ -R, --dereference-recursive\n\ ++ likewise, but follow all symlinks\n\ + ")); + printf (_("\ + --include=GLOB search only files that match GLOB (a file pattern)" +@@ -1975,7 +1976,7 @@ Output control:\n\ + --exclude-dir=GLOB skip directories that match GLOB\n\ + ")); + printf (_("\ +- -L, --files-without-match print only names of FILEs with no selected lines\n\ ++ -L, --files-without-match print only names of FILEs with no selected lines\n\ + -l, --files-with-matches print only names of FILEs with selected lines\n\ + -c, --count print only a count of selected lines per FILE\n\ + -T, --initial-tab make tabs line up (if needed)\n\ diff --git a/grep-3.4-man-fix-gs.patch b/grep-3.4-man-fix-gs.patch new file mode 100644 index 0000000..c229c27 --- /dev/null +++ b/grep-3.4-man-fix-gs.patch @@ -0,0 +1,61 @@ +diff --git a/doc/grep.in.1 b/doc/grep.in.1 +index 91c0bca..d2cf00a 100644 +--- a/doc/grep.in.1 ++++ b/doc/grep.in.1 +@@ -464,7 +464,7 @@ Print + .I NUM + lines of trailing context after matching lines. + Places a line containing a group separator +-.RB ( \-\^\- ) ++.RB "(described under " \-\^\-group\-separator ) + between contiguous groups of matches. + With the + .B \-o +@@ -477,7 +477,7 @@ Print + .I NUM + lines of leading context before matching lines. + Places a line containing a group separator +-.RB ( \-\^\- ) ++.RB "(described under " \-\^\-group\-separator ) + between contiguous groups of matches. + With the + .B \-o +@@ -490,13 +490,24 @@ Print + .I NUM + lines of output context. + Places a line containing a group separator +-.RB ( \-\^\- ) ++.RB "(described under " \-\^\-group\-separator ) + between contiguous groups of matches. + With the + .B \-o + or + .B \-\^\-only\-matching + option, this has no effect and a warning is given. ++.TP ++.BI \-\^\-group\-separator= SEP ++Use ++.I SEP ++as a group separator. By default ++.I SEP ++is double hyphen ++.RB ( \-\^\- ). ++.TP ++.B \-\^\-no\-group-separator ++Use empty string as a group separator. + .SS "File and Directory Selection" + .TP + .BR \-a ", " \-\^\-text +diff --git a/src/grep.c b/src/grep.c +index 7ba602d..9c0532d 100644 +--- a/src/grep.c ++++ b/src/grep.c +@@ -1989,6 +1989,8 @@ Context control:\n\ + ")); + printf (_("\ + -NUM same as --context=NUM\n\ ++ --group-separator=SEP use SEP as a group separator\n\ ++ --no-group-separator use empty string as a group separator\n\ + --color[=WHEN],\n\ + --colour[=WHEN] use markers to highlight the matching strings;\n\ + WHEN is 'always', 'never', or 'auto'\n\ diff --git a/grep.spec b/grep.spec index 3bc5ef8..14f53ba 100644 --- a/grep.spec +++ b/grep.spec @@ -1,7 +1,7 @@ Summary: Pattern matching utilities Name: grep -Version: 3.3 -Release: 4%{?dist} +Version: 3.4 +Release: 1%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/grep/ @@ -11,13 +11,14 @@ Source2: colorgrep.csh Source3: GREP_COLORS Source4: grepconf.sh # upstream ticket 39444 -Patch0: grep-3.33-man-fix-gs.patch +Patch0: grep-3.4-man-fix-gs.patch # upstream ticket 39445 -Patch1: grep-3.33-help-align.patch +Patch1: grep-3.4-help-align.patch BuildRequires: gcc BuildRequires: pcre-devel >= 3.9-10, texinfo, gettext -BuildRequires: autoconf automake +BuildRequires: autoconf automake glibc-all-langpacks +BuildRequires: perl-FileHandle # https://fedorahosted.org/fpc/ticket/174 Provides: bundled(gnulib) # for backward compatibility (rhbz#1540485) @@ -78,6 +79,12 @@ make check %{_libexecdir}/grepconf.sh %changelog +* Wed Apr 1 2020 Jaroslav Škarvada - 3.4-1 +- New version + Resolves: rhbz#1818417 +- Added all glibc langpacks to allow more locale sensitive tests to run +- Added perl-FileHandle requirement for the filename-lineno.pl test + * Wed Jan 29 2020 Fedora Release Engineering - 3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index d85d96b..21737e4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-3.3.tar.xz) = e4805dbddf7cd0f0faf412557d408509650c1ccf703bc450f10a3f727c690dbfaa1235aa81939a0e4b7ac6190f88c15ea1fcc562b343d4b4c7550f967aeb15db +SHA512 (grep-3.4.tar.xz) = 0f1506bd19971fbdcb47a111277ca63e8ad045456f096980852fd0a61c860f29f4b369bbaaa5cbce4b0a81718e3e3274d9a078b491f2109baa9a02ce600ee206