I'm trying to create a Redhat RPM from the nightly CVS snapshots. (Following the Wiki instructions) I've tried a few different snapshot dates, and they all die with the attached error. I'm not too familiar with RedHat packaging. Any idea what I've done wrong? Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/freeradius-root error: Installed (but unpackaged) file(s) found: /usr/include/freeradius/hash.h /usr/include/freeradius/libradius.h /usr/include/freeradius/md4.h /usr/include/freeradius/md5.h /usr/include/freeradius/missing.h /usr/include/freeradius/packet.h /usr/include/freeradius/radius.h /usr/include/freeradius/radpaths.h /usr/include/freeradius/sha1.h /usr/include/freeradius/token.h /usr/include/freeradius/udpfromto.h RPM build errors: Installed (but unpackaged) file(s) found: /usr/include/freeradius/hash.h /usr/include/freeradius/libradius.h /usr/include/freeradius/md4.h /usr/include/freeradius/md5.h /usr/include/freeradius/missing.h /usr/include/freeradius/packet.h /usr/include/freeradius/radius.h /usr/include/freeradius/radpaths.h /usr/include/freeradius/sha1.h /usr/include/freeradius/token.h /usr/include/freeradius/udpfromto.h
King, Michael wrote:
I'm trying to create a Redhat RPM from the nightly CVS snapshots. (Following the Wiki instructions) ... I'm not too familiar with RedHat packaging. Any idea what I've done wrong?
The RPM file in FreeRADIUS needs to be updated with that list of files. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
To answer my own question... It looks like not. It looks like it's just /usr/include/freeradius/* After the last line in the files section.
-----Original Message----- From: freeradius-users-bounces+mking=bridgew.edu@lists.freeradius.or g [mailto:freeradius-users-bounces+mking=bridgew.edu@lists.freer adius.org] On Behalf Of King, Michael Sent: Tuesday, January 30, 2007 9:42 AM To: FreeRadius users mailing list Subject: RE: RPM Build-error
-----Original Message-----
The RPM file in FreeRADIUS needs to be updated with that list of files.
Would
%attr(0700,radiusd,radiusd) %dir usr/include/freeradius
Be sufficient?
Mike
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
King, Michael wrote:
To answer my own question...
It looks like not.
It looks like it's just
/usr/include/freeradius/*
%{_incdir}/freeradius/* looks better. I've committed it. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
King, Michael wrote:
%attr(0700,radiusd,radiusd) %dir usr/include/freeradius
Be sufficient?
I don't see why we couldn't make the include files 0644. There's nothing special about them. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
King, Michael