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