From 0d2866e827b69a3bf8daf7ecbd3bdeaf78a3163f2648ee2d929028bb1abffe26 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 29 Jun 2021 12:06:01 +0000 Subject: [PATCH] Accepting request 902709 from home:StevenK:branches:graphics - Update graphviz-2.20.2-interpreter_names.patch so the Python demo uses Python 3. OBS-URL: https://build.opensuse.org/request/show/902709 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=167 --- graphviz-2.20.2-interpreter_names.patch | 14 +++++++++++++- graphviz.changes | 6 ++++++ graphviz.spec | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/graphviz-2.20.2-interpreter_names.patch b/graphviz-2.20.2-interpreter_names.patch index ee884eb..5bf4ca8 100644 --- a/graphviz-2.20.2-interpreter_names.patch +++ b/graphviz-2.20.2-interpreter_names.patch @@ -1,4 +1,6 @@ ---- tclpkg/gv/demo/modgraph.lua +Index: tclpkg/gv/demo/modgraph.lua +=================================================================== +--- tclpkg/gv/demo/modgraph.lua.orig +++ tclpkg/gv/demo/modgraph.lua @@ -1,4 +1,4 @@ -#!/usr/bin/lua @@ -6,3 +8,13 @@ -- display the kernel module dependencies +Index: tclpkg/gv/demo/modgraph.py +=================================================================== +--- tclpkg/gv/demo/modgraph.py.orig ++++ tclpkg/gv/demo/modgraph.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python3 + + # display the kernel module dependencies + diff --git a/graphviz.changes b/graphviz.changes index 23c38a6..7bdddc7 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 28 06:30:57 UTC 2021 - Steve Kowalik + +- Update graphviz-2.20.2-interpreter_names.patch so the Python demo + uses Python 3. + ------------------------------------------------------------------- Wed Jun 2 08:03:32 UTC 2021 - Christophe Giboudeaux diff --git a/graphviz.spec b/graphviz.spec index 395cc07..fa89794 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -1,5 +1,5 @@ # -# spec file for package graphviz +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -344,6 +344,7 @@ The graphviz-devel package contains all that's necessary for developing programs that use the graphviz libraries including man3 pages. + #autosetup breaks graphviz-addons %prep