rpms/systemtap/devel dtrace-default-output-path.patch, NONE, 1.1 systemtap.spec, 1.51, 1.52
Josh Stone
jistone at fedoraproject.org
Fri Sep 4 23:31:57 UTC 2009
Author: jistone
Update of /cvs/pkgs/rpms/systemtap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21323
Modified Files:
systemtap.spec
Added Files:
dtrace-default-output-path.patch
Log Message:
Fix the default output path of dtrace
dtrace-default-output-path.patch:
dtrace.in | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE dtrace-default-output-path.patch ---
commit 1b8fc7c8a443c0a8982133da6cc22a0c986a4ad4
Author: Stan Cox <scox at redhat.com>
Date: Fri Aug 28 17:16:00 2009 -0400
Have dtrace use [wd] as the default dir when -o isn't given.
* dtrace.in: Generate the output file from basename of input filename.
diff --git a/dtrace.in b/dtrace.in
index 168bfb1..5365c31 100755
--- a/dtrace.in
+++ b/dtrace.in
@@ -162,6 +162,7 @@ if (build_header == False and build_source == False):
if (filename == ""):
if (s_filename != ""):
(filename,ext) = os.path.splitext(s_filename)
+ filename = os.path.basename(filename)
else:
usage
sys.exit(1)
Index: systemtap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/systemtap/devel/systemtap.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -p -r1.51 -r1.52
--- systemtap.spec 13 Aug 2009 00:17:24 -0000 1.51
+++ systemtap.spec 4 Sep 2009 23:31:57 -0000 1.52
@@ -9,7 +9,7 @@
Name: systemtap
Version: 0.9.9
-Release: 3%{?dist}
+Release: 4%{?dist}
# for version, see also configure.ac
Summary: Instrumentation System
Group: Development/System
@@ -49,6 +49,8 @@ BuildRequires: elfutils-devel >= %{elfut
Requires: crash
%endif
+Patch2: dtrace-default-output-path.patch
+
%if %{with_docs}
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
# On F10, xmlto's pdf support was broken off into a sub-package,
@@ -161,6 +163,8 @@ find . \( -name configure -o -name confi
cd ..
%endif
+%patch2 -p1
+
%build
%if %{with_bundled_elfutils}
@@ -381,6 +385,9 @@ exit 0
%changelog
+* Fri Sep 4 2009 Josh Stone <jistone at redhat.com> - 0.9.9-4
+- Fix the default output path of dtrace (upstream commit 3a45db13)
+
* Wed Aug 12 2009 Josh Stone <jistone at redhat.com> - 0.9.9-3
- Fix uprobes error suppression in %post and %preun (#515870)
(upstream commit 70f2bd1fc3db8e2b555234d45e6bc3856d8afee5)
More information about the fedora-extras-commits
mailing list