diff --git a/graphviz-2.38.0-fix-gvmap.patch b/graphviz-2.38.0-fix-gvmap.patch new file mode 100644 index 0000000..81ddc6a --- /dev/null +++ b/graphviz-2.38.0-fix-gvmap.patch @@ -0,0 +1,56 @@ +diff -Ndur graphviz-2.38.0/cmd/gvmap/gvmap.sh graphviz-2.38.0-fix-gvmap/cmd/gvmap/gvmap.sh +--- graphviz-2.38.0/cmd/gvmap/gvmap.sh 2014-04-13 23:40:25.000000000 +0300 ++++ graphviz-2.38.0-fix-gvmap/cmd/gvmap/gvmap.sh 2014-11-17 05:10:56.554829928 +0200 +@@ -60,41 +60,41 @@ + FLAGS3="$FLAGS3 -o$OPTARG" + ;; + :) +- print -u 2 $OPTARG requires a value ++ echo "$OPTARG requires a value" >&2 + exit 2 + ;; + \? ) +- if [[ "$OPTARG" == '?' ]] ++ if [ "$OPTARG" = '?' ] + then + getopts -a gvmap "$OPTSTR" x '-?' + exit 0 + else +- print -u 2 "gvmap: unknown flag $OPTARG - ignored" ++ echo "gvmap: unknown flag $OPTARG - ignored" >&2 + fi + ;; + esac + done + shift $((OPTIND-1)) + +-if [[ $# == 0 ]] ++if [ $# = 0 ] + then +- if [[ -n $VERBOSE ]] ++ if [ -n "$VERBOSE" ] + then +- print -u 2 "$LAYOUT -Goverlap=prism $FLAGS1 | gvmap $FLAGS2 | neato -n2 $FLAGS3" ++ echo "$LAYOUT -Goverlap=prism $FLAGS1 | gvmap $FLAGS2 | neato -n2 $FLAGS3" >&2 + fi + $LAYOUT -Goverlap=prism $FLAGS1 | gvmap $FLAGS2 | neato -n2 $FLAGS3 + else +- while (( $# > 0 )) ++ while [ $# -gt 0 ] + do +- if [[ -f $1 ]] ++ if [ -f "$1" ] + then +- if [[ -n $VERBOSE ]] ++ if [ -n "$VERBOSE" ] + then +- print -u 2 "$LAYOUT -Goverlap=prism $FLAGS1 $1 | gvmap $FLAGS2 | neato -n2 $FLAGS3" ++ echo "$LAYOUT -Goverlap=prism $FLAGS1 $1 | gvmap $FLAGS2 | neato -n2 $FLAGS3" >&2 + fi + $LAYOUT -Goverlap=prism $FLAGS1 $1 | gvmap $FLAGS2 | neato -n2 $FLAGS3 + else +- print -u 2 "gvmap: unknown input file $1 - ignored" ++ echo "gvmap: unknown input file $1 - ignored" >&2 + fi + shift + done diff --git a/graphviz-gvedit.spec b/graphviz-gvedit.spec index d5ab57e..9359f14 100644 --- a/graphviz-gvedit.spec +++ b/graphviz-gvedit.spec @@ -1,7 +1,7 @@ # # spec file for package graphviz-gvedit # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/graphviz-plugins.changes b/graphviz-plugins.changes index d5ae0b1..c105107 100644 --- a/graphviz-plugins.changes +++ b/graphviz-plugins.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 19 12:50:46 UTC 2015 - dvlaeev@suse.com + +- Disable Mono by default + ------------------------------------------------------------------- Mon Sep 8 11:36:29 UTC 2014 - coolo@suse.com diff --git a/graphviz-plugins.spec b/graphviz-plugins.spec index 7cd8d5c..adbdf38 100644 --- a/graphviz-plugins.spec +++ b/graphviz-plugins.spec @@ -1,7 +1,7 @@ # # spec file for package graphviz-plugins # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ %bcond_without java %bcond_without graphviz_ocaml %endif -%bcond_without mono +%bcond_with mono Name: graphviz-plugins BuildRequires: autoconf diff --git a/graphviz-smyrna.spec b/graphviz-smyrna.spec index b9cd3c7..623bfde 100644 --- a/graphviz-smyrna.spec +++ b/graphviz-smyrna.spec @@ -1,7 +1,7 @@ # # spec file for package graphviz-smyrna # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/graphviz.changes b/graphviz.changes index 7446cb1..72d3b97 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Nov 17 03:14:00 UTC 2014 - Led + +- fix ksh-specific constrictions in gvmap.sh script +- add patches: + + graphviz-2.38.0-fix-gvmap.patch + ------------------------------------------------------------------- Tue Jul 15 11:33:27 UTC 2014 - toddrme2178@gmail.com diff --git a/graphviz.spec b/graphviz.spec index ab471e2..f2a56f0 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -1,7 +1,7 @@ # # spec file for package graphviz # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ Group: Applications/Productivity Url: http://www.graphviz.org/ Source: http://graphviz.org/pub/graphviz/stable/SOURCES/graphviz-%{version}.tar.gz Source2: graphviz-rpmlintrc +Patch1: graphviz-2.38.0-fix-gvmap.patch Patch2: graphviz-fix-pkgIndex.patch #PATCH-FIX-UPSTREAM There are too many type-punnings in the vmalloc sources Patch3: graphviz-no_strict_aliasing.patch @@ -89,6 +90,7 @@ Note: If you need output in png format you also need to install %prep %setup -q +%patch1 -p1 %patch2 %patch3 %patch4