summaryrefslogtreecommitdiffstats
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
commit596b17db5a398cc8fa83d5adbe9afb7464487c78 (patch)
treea674d2158817f3ea4874c4e0ec54743babc6fcc2 /redhat
parent6fa6399d413514a5ce9b0b772173cf9130d0aabf (diff)
downloadquagga-596b17db5a398cc8fa83d5adbe9afb7464487c78.tar.bz2
quagga-596b17db5a398cc8fa83d5adbe9afb7464487c78.tar.xz
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)