summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorpaul <paul>2004-09-13 13:15:25 +0000
committerpaul <paul>2004-09-13 13:15:25 +0000
commitb5f310cb9f78b140f1c747148cad6889133597fc (patch)
tree19a9177f8d8488fe853bf142fe34bbb6a12290a6 /redhat
parentb63dc1f30ee935184918becd4dbfd535c632c620 (diff)
2004-09-11 Paul Jakma <paul@dishone.st>
* doc/quagga.texi: Update copyright. Contents should be at beginning of docs... * redhat/quagga.spec.in: wee keep_build define, to keep build dir.
Diffstat (limited to 'redhat')
-rw-r--r--redhat/quagga.spec.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in
index fcfc7589..738464f8 100644
--- a/redhat/quagga.spec.in
+++ b/redhat/quagga.spec.in
@@ -36,6 +36,9 @@
%define daemon_list zebra ripd isisd ospfd bgpd
%endif
+# allow build dir to be kept
+%define keep_build 0
+
Summary: Routing daemon
Name: quagga
Version: @VERSION@
@@ -250,7 +253,9 @@ if [ "$1" = "0" ]; then
fi
%clean
-#rm -rf $RPM_BUILD_ROOT
+%if !%{keep_build}
+rm -rf $RPM_BUILD_ROOT
+%endif
%files
%defattr(-,root,root)