rpmbuild freeradius-server-2.0.3.tar.gz

Andrew Long fursink at gmail.com
Mon Mar 17 20:37:23 CET 2008


>  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



More information about the Freeradius-Users mailing list