Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vala for openSUSE:Factory checked in 
at 2023-12-02 17:12:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vala (Old)
 and      /work/SRC/openSUSE:Factory/.vala.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vala"

Sat Dec  2 17:12:06 2023 rev:140 rq:1130309 version:0.56.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/vala/vala.changes        2023-11-16 
20:26:55.944765246 +0100
+++ /work/SRC/openSUSE:Factory/.vala.new.25432/vala.changes     2023-12-02 
17:12:12.099212165 +0100
@@ -1,0 +2,6 @@
+Wed Nov 29 13:39:39 UTC 2023 - Frederic Crozat <fcro...@suse.com>
+
+- Allow to disable building valadoc as option and drop graphviz as 
+  build dependency.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vala.spec ++++++
--- /var/tmp/diff_new_pack.5O6jMg/_old  2023-12-02 17:12:12.715234740 +0100
+++ /var/tmp/diff_new_pack.5O6jMg/_new  2023-12-02 17:12:12.715234740 +0100
@@ -16,6 +16,9 @@
 #
 
 
+# graphviz is needed only for valadoc
+%bcond_without  graphviz
+
 %define         vala_version 0.56
 %define         vala_libversion 0_56
 # The priority defines which version of vala, in case of multiple ones are 
installed
@@ -36,7 +39,9 @@
 BuildRequires:  glib2-devel >= 2.48.0
 BuildRequires:  pkgconfig
 BuildRequires:  xsltproc
+%if %{with graphviz}
 BuildRequires:  pkgconfig(libgvc) >= 2.16
+%endif
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 # Vala is a compiler, so it's also a devel package
@@ -66,6 +71,7 @@
 %description -n libvala-%{vala_libversion}-devel
 Development files for the Vala runtime library.
 
+%if %{with graphviz}
 %package -n valadoc
 Summary:        Generator for API documentation from Vala source
 Group:          Development/Tools/Building
@@ -118,12 +124,16 @@
 from Vala source code.
 
 This package contains the libvaladoc development files.
+%endif
 
 %prep
 %autosetup -p1
 
 %build
 %configure \
+%if %{without graphviz}
+       --disable-valadoc \
+%endif
        %{nil}
 %make_build
 
@@ -161,7 +171,9 @@
 fi
 
 %ldconfig_scriptlets -n libvala-%{vala_libversion}-0
+%if %{with graphviz}
 %ldconfig_scriptlets -n libvaladoc-%{vala_libversion}-0
+%endif
 
 %files
 %license COPYING
@@ -197,6 +209,7 @@
 %{_datadir}/vala-%{vala_version}/
 %{_libdir}/vala-%{vala_version}/
 
+%if %{with graphviz}
 %files -n valadoc
 %{_bindir}/valadoc
 %{_bindir}/valadoc-%{vala_version}
@@ -216,12 +229,15 @@
 %dir %{_libdir}/valadoc-%{vala_version}
 %dir %{_libdir}/valadoc-%{vala_version}/doclets
 %{_libdir}/valadoc-%{vala_version}/doclets/html/
+%endif
 
 %files -n libvala-%{vala_libversion}-0
 %{_libdir}/libvala-%{vala_version}.so.*
 
+%if %{with graphviz}
 %files -n libvaladoc-%{vala_libversion}-0
 %{_libdir}/libvaladoc-%{vala_version}.so.*
+%endif
 
 %files -n libvala-%{vala_libversion}-devel
 %{_includedir}/vala-%{vala_version}/

Reply via email to