solved: (was: Re: build rpm packages on centOS)
Michael Messner
michael.messner_edv at inode.at
Thu Nov 16 11:14:51 CET 2006
hey freeradius users,
Michael Messner sagte:
> ... the original spec file wont work on centOS ...
it breaks with errors of overwriting a README file which was created
allready:
...
doc/supervise-radiusd.txt doc/tuning_guide doc/variables.txt LICENSE
COPYRIGHT CREDITS README
/var/tmp/freeradius-root/usr/share/doc/freeradius-1.1.3
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.73012 (%doc)
so I've changed the following line in the spec-file from:
%doc doc/* LICENSE COPYRIGHT CREDITS README
to:
%doc doc/* LICENSE COPYRIGHT CREDITS
now it works on my centOS machine: :-)
11:13:15 Xradius ~ [root]cat /etc/redhat-release
CentOS release 4.3 (Final)
thanks for all the help
ca mIke
More information about the Freeradius-Users
mailing list