Only install configuration samples in /usr/share/doc (not /etc/quagga)
This commit is contained in:
parent
f301ef1201
commit
5a4dc4b410
@ -185,6 +185,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
|
||||
%if %with_rtadv
|
||||
--enable-rtadv \
|
||||
%endif
|
||||
--disable-exampledir \
|
||||
--enable-netlink
|
||||
|
||||
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
|
||||
@ -199,6 +200,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d} \
|
||||
$RPM_BUILD_ROOT/var/log/quagga $RPM_BUILD_ROOT%{_infodir}
|
||||
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
|
||||
|
||||
%if %with_pam
|
||||
install -d $RPM_BUILD_ROOT/etc/pam.d
|
||||
@ -386,10 +388,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir %attr(755,root,root) /usr/share/info
|
||||
%dir %attr(750,root,root) /var/run/quagga
|
||||
%endif
|
||||
%if %vty_group
|
||||
# noreplace not used due to smaple conf file
|
||||
%config %attr(644,%quagga_user,%vty_group) %{_sysconfdir}/vtysh.conf.sample
|
||||
%endif
|
||||
%{_infodir}/*info*
|
||||
%{_mandir}/man*/*
|
||||
%{_sbindir}/*
|
||||
@ -398,8 +396,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
%dir %{_libdir}
|
||||
%{_libdir}/*.so.*
|
||||
# noreplace not used due to smaple conf files
|
||||
%config /etc/quagga/[!v]*
|
||||
%if %with_pam
|
||||
%config(noreplace) /etc/pam.d/quagga
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user