diff --git a/debug-spew.patch b/debug-spew.patch new file mode 100644 index 0000000..6f748d3 --- /dev/null +++ b/debug-spew.patch @@ -0,0 +1,11 @@ +diff -up poppler-0.5.91/poppler-0.5.91/poppler/GlobalParams.cc.debug-spew poppler-0.5.91/poppler-0.5.91/poppler/GlobalParams.cc +--- poppler-0.5.91/poppler-0.5.91/poppler/GlobalParams.cc.debug-spew 2007-08-15 20:03:42.000000000 -0400 ++++ poppler-0.5.91/poppler-0.5.91/poppler/GlobalParams.cc 2007-08-15 20:03:54.000000000 -0400 +@@ -685,7 +685,6 @@ void GlobalParams::scanEncodingDirs() { + } + + void GlobalParams::parseNameToUnicode(GooString *name) { +-printf("PARSING %s\n", name->getCString()); + char *tok1, *tok2; + FILE *f; + char buf[256]; diff --git a/poppler.spec b/poppler.spec index e10331e..3e7dae0 100644 --- a/poppler.spec +++ b/poppler.spec @@ -3,7 +3,7 @@ Summary: PDF rendering library Name: poppler Version: 0.5.91 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 and Redistributable, no modification permitted # the code is GPLv2 # the charmap data in /usr/share/poppler is redistributable @@ -11,6 +11,7 @@ Group: Development/Libraries URL: http://poppler.freedesktop.org/ Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.gz Source1: http://poppler.freedesktop.org/poppler-data-%{dataversion}.tar.gz +Patch0: debug-spew.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gtk2-devel @@ -73,6 +74,7 @@ converting PDF files to a number of other formats. %prep %setup -c -q -a1 +%patch -p1 -b .debug-spew %build ( cd %{name}-%{version} @@ -136,6 +138,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/* %changelog +* Wed Aug 15 2007 Matthias Clasen - 0.5.91-2 +- Remove debug spew + * Tue Aug 14 2007 Matthias Clasen - 0.5.91-1 - Update to 0.5.91