From 4040e9ea927a8ce508ff35096d0de74a274a2473 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 25 Aug 2008 22:48:44 -0400 Subject: remove support for "make dist" since git-archive does as well; "make rpm" remains for private testing --- systemtap.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index da2a6fb2..4bbd9f37 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -1,9 +1,9 @@ -%define release 1 -%define with_sqlite 1 -%define with_docs 1 -%define with_crash 0 -%define with_bundled_elfutils 0 -%define elfutils_version 0.127 +%{!?release: %define release 1} +%{!?with_sqllite: %define with_sqlite 1} +%{!?with_docs: %define with_docs 1} +%{!?with_crash: %define with_crash 0} +%{!?with_bundled_elfutils: %define with_bundled_elfutils 0} +%{!?elfutils_version: %define elfutils_version 0.127} Name: systemtap # for version, see also configure.ac @@ -158,14 +158,14 @@ chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun # Copy over the testsuite cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap -#%if %{with_docs} +%if %{with_docs} # We want the manuals in the special doc dir, not the generic doc install dir. # We build it in place and then move it away so it doesn't get installed # twice. rpm can specify itself where the (versioned) docs go with the # %doc directive. mkdir docs.installed mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/ -#%endif +%endif %clean rm -rf ${RPM_BUILD_ROOT} -- cgit