Thanks, I got my spec file now ... :)

And this little note:
Harry Putnam posted here last December (thread: 'Regaining disk space') a
fine little script that I just used to clean up the directory where I just
installed the wget.SRC.RPM:

_____________________________________________________
#!/bin/sh  -x
cd /usr/src/redhat/SOURCES && rm -rf * && \
 cd ../BUILD && rm -rf * && cd ../SPECS && rm -f *
 #done
---------------------------------------------------
Explanation here:
http://www.google.com/search?q=cache:www.mailgate.org/linux/linux.redhat.digest/msg02523.html+Putnam+disk+space+redhat&hl=en

and there:
http://www.google.com/search?q=cache:www.moongroup.com/old/RedArch/2000-12/msg00855.html+Pfeiffer+disk+space+redhat&hl=en

(Sorry, moongroup was not available for me some minutes ago ... )

Thanks to all helping.
Wolfgang



Message from Dominic Mitchell on 28 Mar 2001, 14:13 <-0500>:

>
>
>
>
>
> Wolfgang Pfeiffer <[EMAIL PROTECTED]> writes:
>
> > I'd like to extract a spec file from a existing SRC.RPM I have here ...
> > didn't manage it until now ... that's what I did:
> >
> > ----------------------------------------------------------
> > $ rpm -q --specfile wget-1.5.3-6.src.rpm
> > line 1: Unknown tag: í«îÛb
> > query of specfile wget-1.5.3-6.src.rpm failed, can't parse
>
> If you to the man pages, you will see that "rpm -q --specfile" is
> not used to extract a spec.file but to query a spec file as if it
> was a rpm
>
> rpm -q --specfile foo.spec
>
> One way to extract the spec file is to install the source rpm and
> grab it /usr/src/redhat/SPECS and then delete the SOURCE package
> and pacthes located in  /usr/src/redhat/SOURCE and
> /usr/src/redhat/SRPMS.  This the long way. This is how I do it.
> Of course an option to extract the specfile would be great.
>
> Cheers,
>
> Dominic.
>
>

-- 
HTML-mail sent to me will discover digital Nirvana ... :)
( ... >/dev/null, or wherever it is ...)

         http://www.geocities.com/wolfgangpfeiffer




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

Reply via email to