Hello community, here is the log from the commit of package gocr for openSUSE:Factory checked in at Mon Aug 3 16:47:18 CEST 2009. -------- --- gocr/gocr.changes 2007-10-18 13:51:02.000000000 +0200 +++ /mounts/work_src_done/STABLE/gocr/gocr.changes 2009-08-03 11:32:59.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Aug 3 10:45:14 CEST 2009 - meissner@suse.de + +- fixed as-needed build issue +- spec file cleanup + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gocr-asneeded.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gocr.spec ++++++ --- /var/tmp/diff_new_pack.TlB5Rg/_old 2009-08-03 16:44:40.000000000 +0200 +++ /var/tmp/diff_new_pack.TlB5Rg/_new 2009-08-03 16:44:40.000000000 +0200 @@ -22,7 +22,7 @@ BuildRequires: ghostscript-fonts-other ghostscript-fonts-std ghostscript-x11 gtk1-compat-devel libnetpbm-devel transfig update-desktop-files Summary: GOCR--Optical Character Recognition Version: 0.41 -Release: 220 +Release: 221 Group: Productivity/Graphics/Other Requires: tcl tk License: GPL v2 or later @@ -32,6 +32,7 @@ Patch0: gocr-%{version}.dif Patch1: gocr-%{version}-pgm.patch Patch2: gocr-overflow.patch +Patch3: gocr-asneeded.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -58,21 +59,16 @@ %patch0 %patch1 %patch2 +%patch3 %build -CFLAGS=$RPM_OPT_FLAGS \ - ./configure --prefix=$RPM_BUILD_ROOT/usr --bindir=/bin/ --libdir=/%{_lib}/ \ - --mandir=/share/man/ --includedir=/include/ %{_target_cpu}-suse-linux-gnu +%configure make make examples make doc # gnome frontend cd frontend/gnome -CFLAGS=$RPM_OPT_FLAGS \ - ./configure --prefix=/usr --bindir=/bin/ --libdir=/lib/ \ - --mandir=/share/man/ \ - %{_target_cpu}-suse-linux-gnu \ - --disable-gtktest +%configure --disable-gtktest make %install @@ -81,7 +77,7 @@ %{INSTALL_DIR} $RPM_BUILD_ROOT fi # General source install -make install prefix=$RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT # install X11-Stuff. %{INSTALL_DIR} $RPM_BUILD_ROOT/usr/ %{INSTALL_DIR} $RPM_BUILD_ROOT/usr/bin ++++++ gocr-asneeded.patch ++++++ --- src/Makefile.in 2009/08/03 08:43:44 1.1 +++ src/Makefile.in 2009/08/03 08:44:06 @@ -42,7 +42,8 @@ CPPFLAGS=@CPPFLAGS@ # to see the config.h CFLAGS=@CFLAGS@ $(CPPFLAGS) -I../include $(DEFS) -LDFLAGS=@LDFLAGS@ @LIBS@ -L. +LDFLAGS=@LDFLAGS@ -L. +LIBS=@LIBS@ DESTDIR=@prefix@ .c.o: $(INCLUDEFILES) @@ -53,7 +54,7 @@ all: $(PROGRAM) $(LIBPGMASCLIB) $(PROGRAM): $(LIBPGMASCLIB) gocr.o - $(CC) -o $@ gocr.o $(LDFLAGS) ./lib$(PGMASCLIB).a + $(CC) -o $@ gocr.o $(LDFLAGS) ./lib$(PGMASCLIB).a $(LIBS) if test -r $(PROGRAM); then cp $@ ../bin; fi gocr.o: gocr.h Makefile ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org