On Wed, Aug 30, 2006 at 08:47:13AM +0100, B Thompson wrote:
On Tue, Aug 29, 2006 at 07:32:23PM -0400, King, Michael wrote:
cp: will not overwrite just-created `/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3/README' with `README' error: Bad exit status from /var/tmp/rpm-tmp.49148 (%doc)
I get this error too. It looks like line 102 in the spec file is causing it :-
%doc doc/* LICENSE COPYRIGHT CREDITS README
Should this line simply be :
%doc doc/*
This change allows the package to build on my system but when I try to install the rpm I get the following message :-
error: Failed dependencies: /usr/local/bin/perl is needed by freeradius-1.1.3-0.i386
Having googled about for this I removed /usr/local/bin from my path and ran rpmbuild again. This time everything worked OK. -- Ben Thompson University of York