I was just compiling DrakeLogo on my alpha, when I noticed that
it tries to make a link from savelogo-alpha.c to savelogo.c. This
doesn't work b'cause savelogo-alpha.c doesn't exist...

Changelog           DrakeLogo.o     convert.h       savelogo-i386.c
DrakeLogo.HelpFile  DrakeLogo.spec  default_logo.h  savelogo-sparc.c
DrakeLogo.c         Makefile        fsdither.h      savelogo.c@
DrakeLogo.h         convert.c       po/             savelogo.h
[root@c187122075 DrakeLogo-1.0]#

So... I copied savelogo-sparc.c to savelogo-alpha.c and renamed
all instances of "sparc" to alpha... and what do you know... it
builds... And it runs...

Could someone with some programming knowledge see if I did the
right thing...

Thanks,

Stefan

PS: the "new" src.rpm is in /incoming. Here's the .diff of the
.spec file (one source file was added too).
--- ../RPM/SPECS/DrakeLogo.spec Tue Feb 15 19:18:27 2000
+++ DrakeLogo.spec      Mon Feb 28 20:10:49 2000
@@ -1,13 +1,14 @@
 %define name DrakeLogo
 %define group Utilities/System
 %define version 1.0
-%define release 5mdk
+%define release 6mdk
 
 Name: %{name}
 Version: %{version}
 Release: %{release}
 Summary: Small utility to easily change the boot-up logo
 Source: %{name}-%{version}.tar.bz2
+Patch0: savelogo-alpha.c.diff.bz2
 Copyright: GPL
 BuildRoot: /var/tmp/%{name}
 Prefix: /usr
@@ -22,6 +23,8 @@
 
 %prep
 %setup
+cp savelogo-sparc.c savelogo-alpha.c
+%patch0
 %build
 make CFLAGS="$RPM_OPT_FLAGS"
 
@@ -38,6 +41,9 @@
 /usr/share/locale/*/*/*
 
 %changelog
+* Mon Feb 28 2000 Stefan van der Eijk <[EMAIL PROTECTED]> 1.0-6mdk
+- fixed .spec file to build on alpha (added link to savelogo-alpha.c
+
 * Tue Feb 15 2000 DindinX <[EMAIL PROTECTED]> 1.0-5mdk
 - Any type of image is now supported 
   (images with more than 214 colors are converted)

Reply via email to