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
|
Name: hyphen
|
||||||
Summary: A text hyphenation library
|
Summary: A text hyphenation library
|
||||||
Version: 2.8.3
|
Version: 2.8.3
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://hunspell.sf.net
|
URL: http://hunspell.sf.net
|
||||||
@ -11,6 +11,7 @@ BuildRequires: perl, patch, autoconf, automake, libtool
|
|||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
|
Patch0: hyphen-dumplog.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Hyphen is a library for high quality hyphenation and justification.
|
Hyphen is a library for high quality hyphenation and justification.
|
||||||
@ -34,6 +35,7 @@ English hyphenation rules.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p0 -b .hyphen-dumplog
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f
|
autoreconf -f
|
||||||
@ -85,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/substrings.pl
|
%{_bindir}/substrings.pl
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Apr 12 2012 Caolán McNamara <caolanm@redhat.com> - 2.8.3-3
|
||||||
- add Malawian alias
|
- add Malawian alias
|
||||||
- add Zambian alias
|
- add Zambian alias
|
||||||
|
Loading…
Reference in New Issue
Block a user