[packages/kf5-kapidox] - fix shebangs

baggins baggins at pld-linux.org
Fri Mar 27 23:09:31 CET 2020


commit d5d605b0ba27cb160f170ee88ef9235aeb59465d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Mar 27 23:09:17 2020 +0100

    - fix shebangs

 kf5-kapidox.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/kf5-kapidox.spec b/kf5-kapidox.spec
index 1492ba0..9c34a23 100644
--- a/kf5-kapidox.spec
+++ b/kf5-kapidox.spec
@@ -59,6 +59,11 @@ cd build
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      $RPM_BUILD_ROOT%{_bindir}/depdiagram-generate \
+      $RPM_BUILD_ROOT%{_bindir}/depdiagram-prepare \
+      $RPM_BUILD_ROOT%{_bindir}/kapidox_generate
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-kapidox.git/commitdiff/d5d605b0ba27cb160f170ee88ef9235aeb59465d



More information about the pld-cvs-commit mailing list