Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ocaml-swhid_core for
openSUSE:Factory checked in at 2025-03-26 21:24:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-swhid_core (Old)
and /work/SRC/openSUSE:Factory/.ocaml-swhid_core.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-swhid_core"
Wed Mar 26 21:24:11 2025 rev:2 rq:1256262 version:0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-swhid_core/ocaml-swhid_core.changes
2025-03-04 18:31:49.488045711 +0100
+++
/work/SRC/openSUSE:Factory/.ocaml-swhid_core.new.2696/ocaml-swhid_core.changes
2025-03-26 21:25:47.816411532 +0100
@@ -1,0 +2,5 @@
+Wed Mar 26 12:34:56 UTC 2025 - [email protected]
+
+- Relax ocaml-rpm-macros requirement
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ocaml-swhid_core.spec ++++++
--- /var/tmp/diff_new_pack.lItYGp/_old 2025-03-26 21:25:48.372434391 +0100
+++ /var/tmp/diff_new_pack.lItYGp/_new 2025-03-26 21:25:48.372434391 +0100
@@ -16,37 +16,25 @@
#
-%define build_flavor @BUILD_FLAVOR@%nil
-%if "%build_flavor" == "testsuite"
-%define nsuffix -testsuite
-%else
-%define nsuffix %nil
-%endif
-
-%define pkg ocaml-swhid_core
-Name: %pkg%nsuffix
+Name: ocaml-swhid_core
Version: 0.1
Release: 0
%{?ocaml_preserve_bytecode}
Summary: library to work with swhids
License: ISC
-Group: Development/Languages/OCaml
URL: https://opam.ocaml.org/packages/swhid_core
-Source0: %pkg-%version.tar.xz
+ExclusiveArch: aarch64 ppc64 ppc64le riscv64 s390x x86_64
+Source0: %name-%version.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml-dune
-BuildRequires: ocaml-rpm-macros >= 20240909
+BuildRequires: ocaml-rpm-macros >= 20231101
-%if "%build_flavor" == "testsuite"
-BuildRequires: ocamlfind(swhid_core)
-%endif
%description
swhid_core is an OCaml library to with with Software Heritage
persistent identifiers (swhids).
%package devel
Summary: Development files for %name
-Group: Development/Languages/OCaml
Requires: %name = %version
%description devel
@@ -54,31 +42,21 @@
developing applications that use %name.
%prep
-%autosetup -p1 -n %pkg-%version
+%autosetup -p1
%build
dune_release_pkgs='swhid_core'
%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
-