[packages/graphviz] - fix python shebang - rel 5

baggins baggins at pld-linux.org
Mon Mar 23 18:18:32 CET 2020


commit 73985232ccf4517d073f738686241e6b6bdc4124
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 23 18:16:06 2020 +0100

    - fix python shebang
    - rel 5

 graphviz.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/graphviz.spec b/graphviz.spec
index ae8fbe6..5a2ddae 100644
--- a/graphviz.spec
+++ b/graphviz.spec
@@ -54,7 +54,7 @@ Summary:	Graph Visualization Tools
 Summary(pl.UTF-8):	Narzędzie do wizualizacji w postaci grafów
 Name:		graphviz
 Version:	2.42.3
-Release:	4
+Release:	5
 License:	CPL v1.0
 Group:		X11/Applications/Graphics
 #Source0Download: https://graphviz.gitlab.io/_pages/Download/Download_source.html
@@ -519,6 +519,9 @@ Wiązania graphviza dla języka R.
 
 %{__sed} '1s@/usr/bin/lua$@/usr/bin/lua5.1@' -i tclpkg/gv/demo/modgraph.lua
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      tclpkg/gv/demo/modgraph.py
+
 %build
 touch config/config.rpath
 %{__libtoolize} --ltdl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/graphviz.git/commitdiff/73985232ccf4517d073f738686241e6b6bdc4124



More information about the pld-cvs-commit mailing list