From 73985232ccf4517d073f738686241e6b6bdc4124 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 23 Mar 2020 18:16:06 +0100 Subject: [PATCH] - 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 -- 2.44.0