erros building suse rpm

2005-10-22 Thread Markus Krause
hi list, i tried to build an rpm-package for suse using freeradius-1.0.5 on both sles 9 and suse 10.0-oss with same results. unfortunately it did not go smoothly, here is what i did and what happend: 1) i edited freeradius.spec: - correcting the version info in the second line from 1.0.2 to

Re: erros building suse rpm

2005-10-22 Thread Andrew Teixeira
Hello, I'm no expert on freeradius, but I have done some extensive RPM packaging, so my suggestions are as follows: At the end of the %install section of the SPEC file, just add a line stating rm -f %{buildroot}/etc/raddb/example.pl. That will remove the unwanted file. - or - Add the

Re: erros building suse rpm

2005-10-22 Thread Markus Krause
hello and thanks a lot for your help! i used your second proposal (just in case someone needs it): in freeradius.spec i added the following line after %config(noreplace) /etc/raddb/attrs: %config /etc/raddb/example.pl with this line (and the changes mentioned in my first email, see below)