Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ocaml-fileutils for openSUSE:Factory
checked in at 2021-02-02 14:24:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-fileutils (Old)
and /work/SRC/openSUSE:Factory/.ocaml-fileutils.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-fileutils"
Tue Feb 2 14:24:47 2021 rev:6 rq:867971 version:0.6.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-fileutils/ocaml-fileutils.changes
2020-08-24 15:06:38.370497474 +0200
+++
/work/SRC/openSUSE:Factory/.ocaml-fileutils.new.28504/ocaml-fileutils.changes
2021-02-02 14:24:54.383320401 +0100
@@ -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-fileutils.spec ++++++
--- /var/tmp/diff_new_pack.J0osGK/_old 2021-02-02 14:24:54.859321141 +0100
+++ /var/tmp/diff_new_pack.J0osGK/_new 2021-02-02 14:24:54.863321148 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ocaml-fileutils
#
-# 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-fileutils
+%define build_flavor @BUILD_FLAVOR@%{nil}
+%if "%{build_flavor}" == "testsuite"
+%define nsuffix -testsuite
+%else
+%define nsuffix %{nil}
+%endif
+
+%define pkg ocaml-fileutils
+Name: %{pkg}%{nsuffix}
Version: 0.6.3
Release: 0
%{?ocaml_preserve_bytecode}
@@ -24,16 +32,21 @@
License: SUSE-LGPL-2.0-with-linking-exception
Group: Development/Languages/OCaml
URL: https://opam.ocaml.org/packages/fileutils
-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
BuildRequires: ocamlfind(bytes)
-BuildRequires: ocamlfind(oUnit)
BuildRequires: ocamlfind(stdlib-shims)
BuildRequires: ocamlfind(str)
BuildRequires: ocamlfind(unix)
+%if "%{build_flavor}" == "testsuite"
+BuildRequires: ocamlfind(fileutils)
+BuildRequires: ocamlfind(oUnit)
+BuildRequires: ocamlfind(stdlib-shims)
+%endif
+
%description
This library is intended to provide a basic interface to the most
common file and filename operations. It provides several different
@@ -54,23 +67,31 @@
developing applications that use %{name}.
%prep
-%autosetup -p1
+%autosetup -p1 -n %{pkg}-%{version}
%build
dune_release_pkgs='fileutils'
%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>