Related: rhbz#813481 dump valgrind failure log
This commit is contained in:
parent
9a29e4e631
commit
cac9cfe801
17
hyphen-dumplog.patch
Normal file
17
hyphen-dumplog.patch
Normal file
@ -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
|
@ -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@redhat.com> - 2.8.3-4
|
||||
- Related: rhbz#813481 dump valgrind failure log
|
||||
|
||||
* Thu Apr 12 2012 Caolán McNamara <caolanm@redhat.com> - 2.8.3-3
|
||||
- add Malawian alias
|
||||
- add Zambian alias
|
||||
|
Loading…
Reference in New Issue
Block a user