On Tue, 10 Jul 2001 06:06:39 -0700 (PST)
"Shawn Tayler" <[EMAIL PROTECTED]> wrote:
> On Tue, 10 Jul 2001 00:15:14 -0700, Vern W Heesch wrote:
>
> >It's been a while, but if I remember correctly rpm --rebuild
> --target=i686 <whatever.rpm>
> >should work.
> >
> >Vern
>
> Thanks Vern,
>
> The man pages on rpm didn't show a --target option, but I will give it
> a try.
IIRC the --target option only works when you've installed the srpm via
rpm -ivh <name-of-srpm>.srpm, which will place the actual source files
(plus any patches) under /usr/src/OpenLinux/SOURCES/ and a <name>.spec
under /usr/src/OpenLinux/SPECS.
To use the --target option cd to the directory containing the .spec
file(s) and then as root issue:
rpm -bb --target=ix86 <name>.spec
you might want to first look in the RPMS directory first to make sure
that the target exists, if not create it and carry on.
please note: it's been a very long time since I've worked with RPMS so,
be warned, YMMV and RTFM just to be sure =)
HTH
--
Myles Green Calgary AB Canada
*Slackware 8.0*
--
Linux Step by Step Mirror:
http://linuxsteps.webjump.com/
--
Calgary Linux Users Group (CLUG):
http://www.calgary.linux.ca
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users