Only include sample configuration files for daemons that are built

This commit is contained in:
David Ward 2012-04-21 21:32:04 -04:00 committed by Adam Tkac
parent 5a4dc4b410
commit ebcf8bbb05

View File

@ -374,7 +374,18 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc */*.sample* AUTHORS COPYING
%doc AUTHORS COPYING
%doc zebra/zebra.conf.sample
%if %with_isisd
%doc isisd/isisd.conf.sample
%endif
%doc ripd/ripd.conf.sample
%doc bgpd/bgpd.conf.sample*
%doc ospfd/ospfd.conf.sample
%if %with_ipv6
%doc ospf6d/ospf6d.conf.sample
%doc ripngd/ripngd.conf.sample
%endif
%doc doc/quagga.html
%doc doc/mpls
%doc ChangeLog INSTALL NEWS README REPORTING-BUGS SERVICES TODO