Chris writes:

> Maybe I'm confused, what I'm trying to do is take the source 
> (clamav-0.88.1.tar.gz) and and turn it into a source.rpm then to an rpm for 
> installation. Doing this since security updates for 10.1 are not available 
> anymore. I've tried following the directions from some of the messages on 
> the archives to no avail. I tried doing as one suggested by putting the .gz 
> file in /usr/src/RPMS/SOURCES and running, as root:
> 
> rpmbuild -ts -bs clamav-0.88.1.tar.gz
> 
> which netted:
> 
> error: Name field must be present in package: (main package)
> error: Version field must be present in package: (main package)
> error: Release field must be present in package: (main package)
> error: Summary field must be present in package: (main package)
> error: Group field must be present in package: (main package)
> error: License field must be present in package: (main package)
> 
> I'm sure I'm doing something wrong here, however, the archives didn't seem 
> to be much help.  Can I build a source rpm from a .gz file?  The rpmbuild 
> man page says it can be done or thats the way I read it.
> 
> Any help would be appreciated.
> 
> Thanks
> 
> -- 
> Chris
> Registered Linux User 283774 http://counter.li.org
> 20:48:22 up 38 days, 23:51, 2 users, load average: 0.22, 0.23, 0.18
> Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk

I may not be much help here as I use Mandriva control centre to
install but have you uncompressed the gz file into the 
/usr/src/RPMS/SOURCES  first and then run the rpmbuild command?

Guy Faulks the only person to enter the Parliament with honest
intentions and he was going to blow them up !
---------------------------------------------
Free POP3 Email from www.Gawab.com 
Sign up NOW and get your account @gawab.com!!
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to