if this is, indeed, what gets extracted, then edit the .spec file accordingly
nano SPEC/freeradius.spec -- change -- Name: freeradius-server TO Name: freeradius save changes
cd ../SOURCES tar xzf freeradius-server-2.0.3.tar.gz rm freeradius-server-2.0.3.tar.gz mv freeradius-server-2.0.3 freeradius-2.0.3 tar czf freeradius-2.0.3.tar.gz freeradius-2.0.3 rm -rf freeradius-2.0.3
CD ../SPECS rpmbuild -bb freeradius.spec
...lots of output... Wrote: /home/along/rpmbuild/RPMS/i386/freeradius-2.0.3-0.i386.rpm Wrote: /home/along/rpmbuild/RPMS/i386/freeradius-debuginfo-2.0.3-0.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.22417 + umask 022 + cd /home/along/rpmbuild/BUILD + cd freeradius-2.0.3 + '[' /var/tmp/freeradius-root '!=' / ']' + rm -rf /var/tmp/freeradius-root + exit 0
All good.
Andrew
Just hoping that these changes get written into the next release OR that someone can point out my stupidity and where I am erring in the build process that the initial rpmbuild fails with the supplied spec file. Also, I think I am not alone in using CentOS, so a note might be nice in the INSTALL or README regarding the need to add %_incdir /usr/include to .rpmmacros on Cent (or, to change it to _includedir - as pointed out by Richard Siddal). - Andrew