rpmbuild freeradius-server-2.0.3.tar.gz
Andrew Long
fursink at gmail.com
Mon Mar 24 17:20:34 CET 2008
> Change this line:
>
> %{_datadir}/%{name}
> to:
> %{_datadir}/freeradius
>
> The spec file *should* then work with the
> freeradius-server-2.0.3.tar.gz file, subject to the _incdir comments below.
On Cent, this means change _incdir to _includedir in freeradius.spec.
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?
To get this install going, I ended up erasing 2.0.1 and doing a clean
install of 2.0.3, but I wonder if in the future an upgrade should work
again now that the package name is left as intended.
- Andrew
More information about the Freeradius-Users
mailing list