We need to explicitly tell RPM to package the documentation, even
authornbk <nbk>
Mon, 11 Sep 2006 10:46:03 +0000 (10:46 +0000)
committernbk <nbk>
Mon, 11 Sep 2006 10:46:03 +0000 (10:46 +0000)
though the files are in the standard location. That fixes the error
"Installed (but unpackaged) file(s) found"

Patch from Sandworm <sandworm@mepd.hush.com>

redhat/freeradius.spec

index b4d9897..db8ef15 100644 (file)
@@ -108,6 +108,7 @@ fi
 %config /etc/logrotate.d/radiusd
 %config /etc/rc.d/init.d/radiusd
 %config (noreplace) /etc/raddb/*
+%doc %{_datadir}/doc/%{name}-%{version}
 %{_bindir}/*
 %{_datadir}/%{name}
 %{_libdir}/*