[hyphen] Related: rhbz#813481 dump valgrind failure log
Caolán McNamara
caolanm at fedoraproject.org
Wed Apr 18 12:14:07 UTC 2012
commit cac9cfe801590b32031a68e98ec6a9759a3e510a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Apr 18 13:14:03 2012 +0100
Related: rhbz#813481 dump valgrind failure log
hyphen-dumplog.patch | 17 +++++++++++++++++
hyphen.spec | 7 ++++++-
2 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/hyphen-dumplog.patch b/hyphen-dumplog.patch
new file mode 100644
index 0000000..4235b91
--- /dev/null
+++ b/hyphen-dumplog.patch
@@ -0,0 +1,17 @@
+--- tests/test.sh 2012-04-12 15:29:53.576994298 +0100
++++ tests/test.sh 2012-04-12 15:30:06.447143498 +0100
+@@ -7,12 +7,14 @@
+ if ! grep -q 'ERROR SUMMARY: 0 error' $log; then
+ echo "Fail in $NAME $1 checking detected by Valgrind"
+ echo "$log Valgrind log file moved to $TEMPDIR/badlogs"
++ cat $log
+ mv $log $TEMPDIR/badlogs
+ exit 1
+ fi
+ if grep -q 'LEAK SUMMARY' $log; then
+ echo "Memory leak in $NAME $1 checking detected by Valgrind"
+ echo "$log Valgrind log file moved to $TEMPDIR/badlogs"
++ cat $log
+ mv $log $TEMPDIR/badlogs
+ exit 1
+ fi
diff --git a/hyphen.spec b/hyphen.spec
index 7820b95..24129d3 100644
--- a/hyphen.spec
+++ b/hyphen.spec
@@ -1,7 +1,7 @@
Name: hyphen
Summary: A text hyphenation library
Version: 2.8.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
Group: System Environment/Libraries
URL: http://hunspell.sf.net
@@ -11,6 +11,7 @@ BuildRequires: perl, patch, autoconf, automake, libtool
%ifarch %{ix86} x86_64
BuildRequires: valgrind
%endif
+Patch0: hyphen-dumplog.patch
%description
Hyphen is a library for high quality hyphenation and justification.
@@ -34,6 +35,7 @@ English hyphenation rules.
%prep
%setup -q
+%patch0 -p0 -b .hyphen-dumplog
%build
autoreconf -f
@@ -85,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/substrings.pl
%changelog
+* Wed Apr 18 2012 Caolán McNamara <caolanm at redhat.com> - 2.8.3-4
+- Related: rhbz#813481 dump valgrind failure log
+
* Thu Apr 12 2012 Caolán McNamara <caolanm at redhat.com> - 2.8.3-3
- add Malawian alias
- add Zambian alias
More information about the scm-commits
mailing list