From 81810552a71ae305bde373e239fa612d37612568624bc219223fbe8a93c92af7 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Fri, 30 Nov 2018 10:23:39 +0000 Subject: [PATCH] Accepting request 652812 from home:jbrielmaier:branches:graphics - use pkg-config with correct parameter, reported by Werner Fink Part of boo#1117121 OBS-URL: https://build.opensuse.org/request/show/652812 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=135 --- graphviz-addons.changes | 5 +++++ graphviz-addons.spec | 3 ++- graphviz.changes | 5 +++++ graphviz.spec | 3 ++- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/graphviz-addons.changes b/graphviz-addons.changes index 6984f65..1ba05b9 100644 --- a/graphviz-addons.changes +++ b/graphviz-addons.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 30 07:34:24 UTC 2018 - jbrielmaier@suse.de + +- use pkg-config with correct parameter, reported by Werner Fink + ------------------------------------------------------------------- Thu Nov 29 10:21:10 UTC 2018 - jbrielmaier@suse.de diff --git a/graphviz-addons.spec b/graphviz-addons.spec index 16452e4..d65717d 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -309,7 +309,8 @@ programs that use the graphviz libraries including man3 pages. %patch6 %patch7 %patch8 -if pkgconfig --version-atleast=2.2 guile-2.2; then +# pkg-config returns 0 (TRUE) when guile-2.2 is present +if pkg-config --atleast-version=2.2 guile-2.2; then sed "s/guile-2.0/guile-2.2/" -i configure.ac fi diff --git a/graphviz.changes b/graphviz.changes index 6984f65..1ba05b9 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 30 07:34:24 UTC 2018 - jbrielmaier@suse.de + +- use pkg-config with correct parameter, reported by Werner Fink + ------------------------------------------------------------------- Thu Nov 29 10:21:10 UTC 2018 - jbrielmaier@suse.de diff --git a/graphviz.spec b/graphviz.spec index bd8b28e..e46563c 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -309,7 +309,8 @@ programs that use the graphviz libraries including man3 pages. %patch6 %patch7 %patch8 -if pkgconfig --version-atleast=2.2 guile-2.2; then +# pkg-config returns 0 (TRUE) when guile-2.2 is present +if pkg-config --atleast-version=2.2 guile-2.2; then sed "s/guile-2.0/guile-2.2/" -i configure.ac fi