1. I know how to build a RPM with a SRC.RPM ...
2: I do not have the src.rpm ... that's why I want to build it :)
3: Even if I had the source rpm, I'd like to learn building one by myself
   (perhaps nuts, I know, but learning GNU/Linux with being able to build
   my own src.rpm is perhaps being *not* very unix  ... :) ...

I promise I love these lil' misunderstandings ....  :)

Regards.
Wolfgang

-- 

         Wolfgang Pfeiffer
         http://www.geocities.com/wolfgangpfeiffer

Message from Jonathan Wilson on Mon, 5 Mar 2001, 15:39 <-0600>:

> Why don't you just do    rpm --rebuild --target=[your arch] your.src.rpm i.e. for a 
>Pentium II you'd do rpm --rebuild--target=i686 wget.src.rpm and for an Athlon you'd 
>do rpm --rebuild--target=athlon wget.src.rpm.
>
> The newly built rpm will appear in 
>/usr/src/redhat/RPM/[arch]/wget-<version>.[arch].rpm
>
>
> At 10:10 PM 3/5/2001 +0100, you wrote:
> >I'm trying to build a wget.rpm and wget.src.rpm from a wget-1.6.tar.gz ...
> >to no avail ... I was using several times the first, and one or more times
> >the second attached wget.spec ... all these failed builds never gave me
> >either a wget-1.6.src.rpm or a wget-1.6.rpm ... I'm rather sure I made
> >one ore even more mistakes.
> >Most of the time I cd'ed as root to /usr/src/redhat/SOURCES or to
> >/usr/src/redhat/SPECS and tried to build the rpms with different
> >variations of the following command
> >'rpm -ta wget-1.6.tar.gz' ...    <---------------
> >the only result of the installs were new wget-files scattered over the
> >system ... :)
> >
> >So where do I have to put wget-1.6.tar.gz for the build, and where do I
> >have to cd to (really as root ...?) for it, and (above all) which of the
> >following wget.spec files seems to be a reasonable solution for the build?
> >Note: I'd like to let the wget.spec file inside wget-1.6.tar.gz, that's
> >why I want to do
> >rpm -ta wget-1.6.tar.gz
> >(.. the -ta option)
> >
> >[ ... ]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to