remove debug spew

This commit is contained in:
Matthias Clasen 2007-08-16 00:11:20 +00:00
parent c17aa4274b
commit e4642f1322
2 changed files with 17 additions and 1 deletions

11
debug-spew.patch Normal file
View File

@ -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];

View File

@ -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 <mclasen@redhat.com> - 0.5.91-2
- Remove debug spew
* Tue Aug 14 2007 Matthias Clasen <mclasen@redhat.com> - 0.5.91-1
- Update to 0.5.91