rpmbuild freeradius-server-2.0.3.tar.gz
John Dennis
jdennis at redhat.com
Mon Mar 24 17:40:23 CET 2008
Andrew Long wrote:
> And now the rpmbuild does indeed complete without error.
>
> And a question... I had 2.0.1 installed from an rpmbuild. Now, I built
> 2.0.3 with the caveats above, so the rpm is
> freeradius-server-2.0.3.rpm. When I tested the upgrade I got conflicts
> with files from freeradius-2.0.1. Is this because when I built that
> (2.0.1) server, I went about fixing the .spec file in the "other way"
> ie, by renaming the dir inside the tarball as freeradius-2.0.1?
You are getting the errors because two different packages (freeradius
and freeradius-server) are both claiming to own the same files (because
you renamed the package). To correct this problem simply remove the
first package (rpm -e freeradius) and the conflicts should go away.
However, you might want to consider using a package name of freeradius
and not freeradius-server so the names are consistent with the rpm names
in use on RHEL, Cent, and Fedora systems.
--
John Dennis <jdennis at redhat.com>
More information about the Freeradius-Users
mailing list