Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package graphviz for openSUSE:Factory checked in at 2026-07-02 20:05:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/graphviz (Old) and /work/SRC/openSUSE:Factory/.graphviz.new.1982 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "graphviz" Thu Jul 2 20:05:40 2026 rev:111 rq:1362491 version:15.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/graphviz/graphviz.changes 2026-05-30 22:54:12.386596035 +0200 +++ /work/SRC/openSUSE:Factory/.graphviz.new.1982/graphviz.changes 2026-07-02 20:05:44.385676154 +0200 @@ -1,0 +2,5 @@ +Thu Jun 25 10:00:00 UTC 2026 - [email protected] + +- Remove stale ocaml support, fix disable java support + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ graphviz.spec ++++++ --- /var/tmp/diff_new_pack.nUsZ5h/_old 2026-07-02 20:05:45.477713876 +0200 +++ /var/tmp/diff_new_pack.nUsZ5h/_new 2026-07-02 20:05:45.489714291 +0200 @@ -57,11 +57,8 @@ %define lab_gamut_soversion 1 %define pathplan_soversion 4 %define xdot_soversion 4 -# Java and ocaml are not in ring1, thus this gets overriden in staging -# Also, both install into generic locations instead of a language -# specific prefix, disable both -%bcond_with java -%bcond_with ocaml +# Java is not in ring1. +%bcond_with graphviz_java Name: graphviz%{psuffix} Version: 15.0.0 Release: 0 @@ -127,12 +124,9 @@ BuildRequires: php7-devel BuildRequires: swig >= 3.0.11 %endif -%if %{with java} +%if %{with graphviz_java} BuildRequires: java-devel >= 1.6.0 %endif -%if %{with ocaml} -BuildRequires: ocaml -%endif %endif %if "%{flavor}" == "qt6" BuildRequires: pkgconfig(Qt6Core) @@ -210,16 +204,6 @@ The graphviz-lua package contains the lua extension for the graphviz tools. -%package -n graphviz-ocaml -Summary: OCAML extension for graphviz -Group: Productivity/Graphics/Visualization/Graph -Requires: graphviz = %{version} -Requires: ocaml - -%description -n graphviz-ocaml -The graphviz-ocaml package contains the Objective Caml extension for -the graphviz tools. - %package -n graphviz-perl Summary: Perl extension for Graphviz Group: Productivity/Graphics/Visualization/Graph @@ -393,6 +377,13 @@ sed -i -e 's@LANGUAGE php7@LANGUAGE php8@' tclpkg/gv/CMakeLists.txt %build +%if %{with graphviz_java} +if test -n "${JAVA_HOME}" +then +sed -i~ "s|[[:blank:]]/.*/default-java/|${JAVA_HOME}/|" configure.ac +diff -u "$_"~ "$_" && exit 123 +fi +%endif sed -i -e 's/python3 /python%pyversion /g' autogen.sh ./autogen.sh RUBY_VER=%{?ruby_version} CFLAGS="%{optflags} -ffast-math -fno-strict-aliasing -fno-strict-overflow -fPIC" @@ -600,7 +591,7 @@ %{_libdir}/graphviz/guile %{_mandir}/man3/gv.3guile%{ext_man} -%if %{with java} +%if %{with graphviz_java} %files -n graphviz-java %{_libdir}/graphviz/java %{_mandir}/man3/gv.3java%{ext_man} @@ -610,12 +601,6 @@ %{lua_archdir}/gv.so %{_mandir}/man3/gv.3lua%{ext_man} -%if %{with ocaml} -%files -n graphviz-ocaml -%{_libdir}/graphviz/ocaml -%{_mandir}/man3/gv.3ocaml%{ext_man} -%endif - %files -n graphviz-perl %{perl_vendorarch}/gv.pm %{perl_vendorarch}/gv.so
