]> git.pld-linux.org Git - packages/systemtap.git/commitdiff
- fix shebangs auto/th/systemtap-3.3-5
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 May 2020 10:38:12 +0000 (12:38 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 May 2020 10:38:12 +0000 (12:38 +0200)
- rel 5

systemtap.spec

index 740409e62ecad070497279e34726a59699cca05f..1a806f5e3b39c8e7595c889c8bb82c66502bae39 100644 (file)
@@ -18,7 +18,7 @@ Summary:      Instrumentation System
 Summary(pl.UTF-8):     System oprzyrządowania
 Name:          systemtap
 Version:       3.3
-Release:       4
+Release:       5
 License:       GPL v2+
 Group:         Base
 Source0:       http://sourceware.org/systemtap/ftp/releases/%{name}-%{version}.tar.gz
@@ -293,6 +293,12 @@ Przewodniki i dokumentacja wprowadzająca do SystemTap.
 %patch2 -p1
 %endif
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      testsuite/systemtap.examples/general/pyexample.py
+
+find testsuite/systemtap.examples/ -name '*.stp' -print0 | xargs -0 \
+      %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+stap(\s|$),#!%{_bindir}/stap\1,'
+
 %build
 %{__gettextize}
 %{__aclocal}
This page took 0.161617 seconds and 4 git commands to generate.