Hi John, The only change I did to the spec file was change the release (and later add the --enable-developer) What I did do was go to the SOURCES dir and unpack the freeradius-server archive, change the file in question, pack up freeradius-server replacing the original tar.bz2 archive. I did this assuming rpm build would build using whatever code is in that tar.bz2 file. Is this another case of assumption being the mother of all f*ckups? Thank you, Duarte 2009/11/12 John Dennis <jdennis@redhat.com>:
On 11/12/2009 11:38 AM, Duarte Fonseca wrote:
Hi again,
So the problem seems to still be present, this is how I'm testing, please let me know if I'm doing something wrong.
I got the redhat SRPM from
http://people.redhat.com/jdennis/freeradius-rhel-centos/src/freeradius2-2.1....
Applied the change to the source file and built the binary rpm, installed it and re run my test several times, and it kept failing.
Let's be clear concerning the statement "Applied the change to the source file". You must add the patch to the spec file and then build the binary rpm, you can't just patch a source file. That's because rpmbuild unpacks the tar file, applies *only* the patches listed in the spec file, and then builds the result. If you don't modify the spec file to add the patch then the patch will never get applied.
-- John Dennis <jdennis@redhat.com>
Looking to carve out IT costs? www.redhat.com/carveoutcosts/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html