0.7.12 srpm questions


Subject: 0.7.12 srpm questions
From: Hollis R Blanchard (hollis+@andrew.cmu.edu)
Date: Wed Jan 17 2001 - 23:59:41 CST


Hi, I was trying to build abiword 0.7.12 on PPC from the SRPM posted at
http://download.abisource.com/releases/0.7.12/linux/i386/abisuite-0.7.12-1.src.rpm

I noticed that the included tarball contains 23 MB of i386 object files.

Also, the tarball contains the symlink 'wv -> wv-abi' (which doesn't exist),
so I'm not sure how the srpm built before...

Anyways, I figured out the layout and just grabbed the .tar.gz files directly
(constructing my own srpm). Everything went great until I stumbled across
this buried Makefile typo (strip modifies files in place, so it choked looking
for "AbiWord_s") [patch below].

After that, I discovered that both the Makefiles and the spec attempt to
install all over my root filesystem (and not in /var/tmp/... as all good rpm's
do). The problem seems to come from the install_redhat makefile target,
install_redhat.sh, and the spec. I'm not really in the mood to mess with it at
this point, but does anyone have an install patch to fix that?

-Hollis

--- abisuite-0.7.12/abi-0.7.12/src/pkg/linux/Makefile.old Thu Jan 18 00:32:21 2001
+++ abisuite-0.7.12/abi-0.7.12/src/pkg/linux/Makefile Thu Jan 18 00:32:27 2001
@@ -46,7 +46,7 @@
 ########################################################################
 
 install_redhat:
- @strip $(OUTDIR)/bin/AbiWord_d $(OUTDIR)/bin/AbiWord_s
+ @strip $(OUTDIR)/bin/AbiWord_d -o $(OUTDIR)/bin/AbiWord_s
         @TARGET=/usr/share/abisuite BINDIR=/usr/bin SRCDIR=$(OUTDIR) \
                 DOCDIR=/usr/doc LIBDIR=/usr/lib \
                 SCRIPTDIR=$(ABI_ROOT)/src/pkg/common/unix/scripts \



This archive was generated by hypermail 2b25 : Thu Jan 18 2001 - 00:00:18 CST