diff --git a/grep.changes b/grep.changes index 0697e79..b77ae8c 100644 --- a/grep.changes +++ b/grep.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 3 13:45:34 UTC 2015 - schwab@suse.de + +- testsuite.patch: disable unreliable test mb-non-UTF8-performance + ------------------------------------------------------------------- Mon Nov 2 18:20:38 UTC 2015 - astieger@suse.com diff --git a/grep.spec b/grep.spec index 0f7f9ab..706f4dc 100644 --- a/grep.spec +++ b/grep.spec @@ -26,6 +26,7 @@ Url: http://www.gnu.org/software/grep/ Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring +Patch0: testsuite.patch BuildRequires: makeinfo BuildRequires: pcre-devel BuildRequires: xz @@ -43,7 +44,7 @@ the matching lines. %prep %setup -q -chmod +x tests/kwset-abuse +%patch0 -p1 %if 0%{?suse_version} < 1120 echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache %endif diff --git a/testsuite.patch b/testsuite.patch new file mode 100644 index 0000000..c2a56a0 --- /dev/null +++ b/testsuite.patch @@ -0,0 +1,13 @@ +Index: grep-2.22/tests/mb-non-UTF8-performance +=================================================================== +--- grep-2.22.orig/tests/mb-non-UTF8-performance ++++ grep-2.22/tests/mb-non-UTF8-performance +@@ -18,6 +18,8 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see . + ++exit 77 ++ + . "${srcdir=.}/init.sh"; path_prepend_ ../src + + fail=0