sandworm at mepd.hush.com
Mon Sep 11 10:01:36 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
On Saturday, 2 September 2006 6:09 AM, Nicolas Baradakis wrote:
>> In order to preserve the Makefile-installed docs, you'd have to
>> docs in the %install section rather than use %doc in the %files
>> I hope that makes sense.
> Thanks for the hint. I've fixed redhat/freeradius.spec in CVS
> as it's unlikely we'll need branch 1.1 anymore.
That doesn't appear to work. I got the SPEC file from CVS and tried
build 1.1.3 with it. (As a SPEC file, if it was OK, it should have
worked regardless of whether I was trying 1.1.3 or later). However,
fall into the same situation that started this whole discussion -
of "Installed (but unpackaged) file(s) found".
One line fixes this though - see below...
An extract from the build:
RPM build errors:
Installed (but unpackaged) file(s) found:
This is because the files are present in the right spot (whether
by the Makefile or by the %install section), but nothing has told
package these in the %files section.
The addition of one line, however, fixes this, shown below:
- --- freeradius.orig.spec 2006-09-11 14:44:55.000000000 +1000
+++ freeradius.spec 2006-09-11 17:50:46.000000000 +1000
@@ -108,6 +108,7 @@
%config (noreplace) /etc/raddb/*
It actually uses all the files installed by the Makefile in the
doc directory as well as the three files installed in the %install
section. As the diff file shows above, it just designates the
we installed the docs into as the documentation directory and the
build completes properly as shown:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
If this one line is put into the CVS head redhat/freeradius.spec,
this would be great.
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5
-----END PGP SIGNATURE-----
More information about the Freeradius-Devel