From ebcf8bbb05e9d74f39727d17dc95972711e0cff3 Mon Sep 17 00:00:00 2001 From: David Ward Date: Sat, 21 Apr 2012 21:32:04 -0400 Subject: [PATCH] Only include sample configuration files for daemons that are built --- quagga.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/quagga.spec b/quagga.spec index 614fcc4..965ba50 100644 --- a/quagga.spec +++ b/quagga.spec @@ -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