I'm trying to build an rpm on fedora core 1 with the included redhat spec file but not having much luck. I had to make symlink from /usr/include/com_err.h -> /usr/include/et/com_err.h to get the kerberos stuff to compile. I also modified the header to include the prerelease portion:
Name: freeradius
Version: 1.0.0
Release: pre3
License: GPL
Group: Networking/Daemons
Packager: FreeRADIUS.org
Source0: %{name}-%{version}-%{release}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
I have gotten to the point where it compiles but dies when it tries to package the RPM:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/freeradius-1.0.0-pre3-root
error: Installed (but unpackaged) file(s) found:
/usr/share/doc/freeradius-1.0.0-pre3/Autz-Type
/usr/share/doc/freeradius-1.0.0-pre3/DIFFS
/usr/share/doc/freeradius-1.0.0-pre3/MACOSX
/usr/share/doc/freeradius-1.0.0-pre3/OS2
/usr/share/doc/freeradius-1.0.0-pre3/RADIUS-LDAP.schema
/usr/share/doc/freeradius-1.0.0-pre3/RADIUS-LDAPv3.schema
/usr/share/doc/freeradius-1.0.0-pre3/RADIUS-SQL.schema
/usr/share/doc/freeradius-1.0.0-pre3/README
/usr/share/doc/freeradius-1.0.0-pre3/Simultaneous-Use
(snip)
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/doc/freeradius-1.0.0-pre3/Autz-Type
/usr/share/doc/freeradius-1.0.0-pre3/DIFFS
/usr/share/doc/freeradius-1.0.0-pre3/MACOSX
/usr/share/doc/freeradius-1.0.0-pre3/OS2
/usr/share/doc/freeradius-1.0.0-pre3/RADIUS-LDAP.schema
/usr/share/doc/freeradius-1.0.0-pre3/RADIUS-LDAPv3.schema
/usr/share/doc/freeradius-1.0.0-pre3/RADIUS-SQL.schema
/usr/share/doc/freeradius-1.0.0-pre3/README
/usr/share/doc/freeradius-1.0.0-pre3/Simultaneous-Use
(snip)
I am not very good with spec files. I did try changing the doc line in the files section to
%doc doc/*
but that didn't work either.
Thanks dave
-- Dave Weis [EMAIL PROTECTED] http://www.internetsolver.com/
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

