Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ocaml-lablgtk3 for openSUSE:Factory 
checked in at 2023-01-06 17:05:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-lablgtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-lablgtk3.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-lablgtk3"

Fri Jan  6 17:05:43 2023 rev:6 rq:1056278 version:3.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-lablgtk3/ocaml-lablgtk3.changes    
2023-01-05 15:01:14.045140845 +0100
+++ /work/SRC/openSUSE:Factory/.ocaml-lablgtk3.new.1563/ocaml-lablgtk3.changes  
2023-01-06 17:06:32.468513422 +0100
@@ -1,0 +2,5 @@
+Thu Jan  5 05:05:05 UTC 2023 - oher...@suse.de
+
+- Add conditionals for gtksourceview-3.0 and gtkspell3-3.0
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ocaml-lablgtk3.spec ++++++
--- /var/tmp/diff_new_pack.AWcST8/_old  2023-01-06 17:06:32.924515983 +0100
+++ /var/tmp/diff_new_pack.AWcST8/_new  2023-01-06 17:06:32.936516050 +0100
@@ -15,6 +15,8 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+%bcond_without ocaml_lablgtk3_gtksourceview3
+%bcond_without ocaml_lablgtk3_gtkspell
 
 Name:           ocaml-lablgtk3
 Version:        3.1.3
@@ -35,8 +37,12 @@
 BuildRequires:  ocamlfind(findlib)
 BuildRequires:  ocamlfind(threads)
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.18
+%if %{with ocaml_lablgtk3_gtksourceview3}
 BuildRequires:  pkgconfig(gtksourceview-3.0) >= 3.18
+%endif
+%if %{with ocaml_lablgtk3_gtkspell}
 BuildRequires:  pkgconfig(gtkspell3-3.0) >= 3.0.4
+%endif
 
 %description
 This is an OCaml binding for the Cairo library, a 2D graphics library with 
support for multiple output devices.
@@ -46,8 +52,12 @@
 Group:          Development/Languages/OCaml
 Requires:       %name = %version
 Requires:       pkgconfig(gtk+-3.0) >= 3.18
+%if %{with ocaml_lablgtk3_gtksourceview3}
 Requires:       pkgconfig(gtksourceview-3.0) >= 3.18
+%endif
+%if %{with ocaml_lablgtk3_gtkspell}
 Requires:       pkgconfig(gtkspell3-3.0) >= 3.0.4
+%endif
 
 %description    devel
 The %name-devel package contains libraries and signature files for
@@ -59,7 +69,13 @@
 %build
 sed -i~ '/mode promote/d' tools/dune
 diff -u "$_"~ "$_" && exit 1
-dune_release_pkgs='lablgtk3,lablgtk3-sourceview3,lablgtk3-gtkspell3'
+dune_release_pkgs='lablgtk3'
+%if %{with ocaml_lablgtk3_gtksourceview3}
+dune_release_pkgs="${dune_release_pkgs},lablgtk3-sourceview3"
+%endif
+%if %{with ocaml_lablgtk3_gtkspell}
+dune_release_pkgs="${dune_release_pkgs},lablgtk3-gtkspell3"
+%endif
 %ocaml_dune_setup
 %ocaml_dune_build
 

Reply via email to