-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 23 Aug 2006 03:29:45 +1000 Peter Nixon wrote:
I changed the RedHat spec file to match the suse spec file with regards %doc
Actually, that gets a lot of unnecessary stuff in (including README.suse, etc), as well as Makefiles, as Nicolas pointed out. The following patch to the 1.1.3 CVS redhat directory file freeradius.spec simplifies this. I've tested it and appears to restore the doc install behaviour that FR used to have a few releases ago. - --- freeradius.spec.orig 2006-08-23 15:24:59.000000000 +1000 +++ freeradius.spec 2006-08-23 16:29:12.000000000 +1000 @@ -56,6 +56,9 @@ # remove unneeded stuff rm -f $RPM_BUILD_ROOT%{_mandir}/man8/builddbm.8 rm -f $RPM_BUILD_ROOT%{_prefix}/sbin/rc.radiusd +rm -rf doc/00-OLD doc/CVS doc/Makefile +rm -rf doc/examples/CVS doc/examples/Makefile +rm -rf doc/rfc/CVS doc/rfc/Makefile cd redhat install -m 755 rc.radiusd-redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/radiusd @@ -98,7 +101,8 @@ %files %defattr(-,root,root) - -%doc doc/ChangeLog doc/README* todo/ COPYRIGHT INSTALL +%doc doc/* todo/ COPYRIGHT INSTALL +%doc doc/examples/ doc/rfc/ %config /etc/pam.d/radius %config /etc/logrotate.d/radiusd %config /etc/rc.d/init.d/radiusd -----BEGIN PGP SIGNATURE----- Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 2.5 wkYEARECAAYFAkTr7XoACgkQmw4BJyaatJ0F0wCfZDK5nd6wjKMfSwlRr4WblJwBaQgA oJBx4q1Fq8Q3PCGnNPfjsXOdBs0Y =LU+g -----END PGP SIGNATURE-----