RE: Creating rpm problem

2008-01-28 Thread Laurent RAYSSIGUIER
Ok, with the explainations of Joe I do this : tar xvfz freeradius-server-2.0.1.tar.gz mv freeradius-server-2.0.1 freeradius-2.0.1 tar cvfz freeradius-2.0.1.tar.gz freeradius-2.0.1 cp freeradius-2.0.1.tar.gz /usr/src/redhat/SOURCES echo %_incdir /usr/include .rpmmacros rpmbuild -ta

Re: Creating rpm problem

2008-01-27 Thread Rupert Finnigan
On 27/01/2008, Laurent RAYSSIGUIER [EMAIL PROTECTED] wrote: Hello, I have a problem to create a rpm of freeradius-server-2.0.1. If i download tar.gz file and i try to create rpm, i've got this message : [EMAIL PROTECTED] ~]# rpmbuild -ta freeradius-server-2.0.1.tar.gz error: File

RE: Creating rpm problem

2008-01-27 Thread Laurent RAYSSIGUIER
Hello, You need to change the freeradius.spec file in the /redhat folder. The spec points to a .tar.gz for the source, and it's now a .tar.bz2. Or, you could unpack the tar and gzip it to create the required source file. I'm looking for bz2 reference in spec file and I don't find it. The SOURCE