Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ocaml-gen for openSUSE:Factory checked in at 2021-04-29 01:36:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-gen (Old) and /work/SRC/openSUSE:Factory/.ocaml-gen.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-gen" Thu Apr 29 01:36:44 2021 rev:6 rq:867934 version:0.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-gen/ocaml-gen.changes 2020-08-24 15:06:46.942501651 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-gen.new.12324/ocaml-gen.changes 2021-04-29 01:37:12.050476423 +0200 @@ -1,0 +2,5 @@ +Thu Jan 21 21:21:21 UTC 2021 - [email protected] + +- remove dependency to ounit via _multibuild + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-gen.spec ++++++ --- /var/tmp/diff_new_pack.FX3RZZ/_old 2021-04-29 01:37:12.502477064 +0200 +++ /var/tmp/diff_new_pack.FX3RZZ/_new 2021-04-29 01:37:12.502477064 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocaml-gen # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,15 @@ # -Name: ocaml-gen +%define build_flavor @BUILD_FLAVOR@%{nil} +%if "%{build_flavor}" == "testsuite" +%define nsuffix -testsuite +%else +%define nsuffix %{nil} +%endif + +%define pkg ocaml-gen +Name: %{pkg}%{nsuffix} Version: 0.5.3 Release: 0 %{?ocaml_preserve_bytecode} @@ -24,15 +32,21 @@ License: BSD-2-Clause Group: Development/Languages/OCaml URL: https://opam.ocaml.org/packages/gen -Source0: %{name}-%{version}.tar.xz +Source0: %{pkg}-%{version}.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20200514 +BuildRequires: ocaml-rpm-macros >= 20210121 +%if 1 BuildRequires: ocamlfind(bytes) BuildRequires: ocamlfind(dune.configurator) +%endif + +%if "%{build_flavor}" == "testsuite" +BuildRequires: ocamlfind(gen) BuildRequires: ocamlfind(oUnit) BuildRequires: ocamlfind(qcheck) BuildRequires: ocamlfind(qtest) +%endif %description Iterators for OCaml, both restartable and consumable. @@ -50,23 +64,32 @@ %prep -%autosetup -p1 +%autosetup -p1 -n %{pkg}-%{version} %build dune_release_pkgs='gen' %ocaml_dune_setup +%if "%{build_flavor}" == "" %ocaml_dune_build +%endif %install +%if "%{build_flavor}" == "" %ocaml_dune_install %ocaml_create_file_list +%endif +%if "%{build_flavor}" == "testsuite" %check %ocaml_dune_test +%endif +%if "%{build_flavor}" == "" %files -f %{name}.files %doc README.md %files devel -f %{name}.files.devel +%endif + %changelog ++++++ _multibuild ++++++ <multibuild> <package>testsuite</package> </multibuild>
