summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorpaul <paul>2003-08-05 23:24:58 +0000
committerpaul <paul>2003-08-05 23:24:58 +0000
commit9a344b74cc48e7c18fe2bdac326be40a070eb118 (patch)
tree6f21a612b31d5374f07d45d0a8e6b10f24dc11cd /redhat
parent106d2fd572c18bebe3dc44031c6d5e56e7b9030f (diff)
2003-08-07 Kyle Gonzalez <kgonzale@redhat.com>
* redhat/zebra.spec.in: Fix errors for unpackaged files - fatal error for rpm builds on newer rpm platforms.
Diffstat (limited to 'redhat')
-rw-r--r--redhat/zebra.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/redhat/zebra.spec.in b/redhat/zebra.spec.in
index 4e697893..227cf31f 100644
--- a/redhat/zebra.spec.in
+++ b/redhat/zebra.spec.in
@@ -145,6 +145,9 @@ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,logrotate.d,pam.d} \
make install \
DESTDIR=$RPM_BUILD_ROOT
+# Remove this file, as it is uninstalled and causes errors when building on RH9
+rm -rf $RPM_BUILD_ROOT/usr/share/info/dir
+
install %{zeb_rh_src}/zebra.init $RPM_BUILD_ROOT/etc/rc.d/init.d/zebra
install %{zeb_rh_src}/bgpd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/bgpd
%if %with_ipv6
@@ -273,7 +276,7 @@ fi
%if %with_vtysh
%{_bindir}/*
%endif
-%config /etc/zebra/*
+%config /etc/zebra/[!v]
%config /etc/rc.d/init.d/*
%config(noreplace) /etc/pam.d/zebra
%config(noreplace) %attr(640,root,root) /etc/logrotate.d/*