Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ocaml-sha for openSUSE:Factory 
checked in at 2022-04-06 21:51:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-sha (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-sha.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-sha"

Wed Apr  6 21:51:28 2022 rev:8 rq:967081 version:1.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-sha/ocaml-sha.changes      2021-10-18 
22:02:04.838088730 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-sha.new.1900/ocaml-sha.changes    
2022-04-06 21:51:49.859334657 +0200
@@ -1,0 +2,6 @@
+Mon Apr  4 04:04:04 UTC 2022 - oher...@suse.de
+
+- Update to version 1.15.2
+  See included CHANGES.md for details
+
+-------------------------------------------------------------------

Old:
----
  ocaml-sha-1.15.1.tar.xz

New:
----
  ocaml-sha-1.15.2.tar.xz

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

Other differences:
------------------
++++++ ocaml-sha.spec ++++++
--- /var/tmp/diff_new_pack.tBbmxM/_old  2022-04-06 21:51:51.419316855 +0200
+++ /var/tmp/diff_new_pack.tBbmxM/_new  2022-04-06 21:51:51.427316764 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-sha
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,29 @@
 #
 
 
-%define build_flavor @BUILD_FLAVOR@%{nil}
-%if "%{build_flavor}" == "testsuite"
+%define build_flavor @BUILD_FLAVOR@%nil
+%if "%build_flavor" == "testsuite"
 %define nsuffix -testsuite
 %else
-%define nsuffix %{nil}
+%define nsuffix %nil
 %endif
 
 %define     pkg ocaml-sha
-Name:           %{pkg}%{nsuffix}
-Version:        1.15.1
+Name:           %pkg%nsuffix
+Version:        1.15.2
 Release:        0
 %{?ocaml_preserve_bytecode}
 Summary:        Binding to the SHA cryptographic functions
 License:        ISC
 Group:          Development/Languages/OCaml
 URL:            https://opam.ocaml.org/packages/sha
-Source0:        %{pkg}-%{version}.tar.xz
+Source0:        %pkg-%version.tar.xz
 BuildRequires:  ocaml
 BuildRequires:  ocaml-dune >= 2.9
 BuildRequires:  ocamlfind(stdlib-shims)
-BuildRequires:  ocaml-rpm-macros >= 20210911
+BuildRequires:  ocaml-rpm-macros >= 20220222
 
-%if "%{build_flavor}" == "testsuite"
+%if "%build_flavor" == "testsuite"
 BuildRequires:  ocamlfind(ounit2)
 BuildRequires:  ocamlfind(sha)
 %endif
@@ -49,39 +49,39 @@
 It's currently providing SHA1, SHA256 and SHA512 hash functions.
 
 %package        devel
-Summary:        Development files for %{name}
+Summary:        Development files for %name
 Group:          Development/Languages/OCaml
-Requires:       %{name} = %{version}
+Requires:       %name = %version
 
 %description    devel
-The %{name}-devel package contains libraries and signature files for
-developing applications that use %{name}.
+The %name-devel package contains libraries and signature files for
+developing applications that use %name.
 
 %prep
-%autosetup -p1 -n %{pkg}-%{version}
+%autosetup -p1 -n %pkg-%version
 
 %build
 dune_release_pkgs='sha'
 %ocaml_dune_setup
-%if "%{build_flavor}" == ""
+%if "%build_flavor" == ""
 %ocaml_dune_build
 %endif
 
 %install
-%if "%{build_flavor}" == ""
+%if "%build_flavor" == ""
 %ocaml_dune_install
 %ocaml_create_file_list
 %endif
 
-%if "%{build_flavor}" == "testsuite"
+%if "%build_flavor" == "testsuite"
 %check
 %ocaml_dune_test
 %endif
 
-%if "%{build_flavor}" == ""
-%files -f %{name}.files
+%if "%build_flavor" == ""
+%files -f %name.files
 
-%files devel -f %{name}.files.devel
+%files devel -f %name.files.devel
 
 %endif
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.tBbmxM/_old  2022-04-06 21:51:51.475316216 +0200
+++ /var/tmp/diff_new_pack.tBbmxM/_new  2022-04-06 21:51:51.479316171 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="tar_scm" mode="disabled">
     <param name="filename">ocaml-sha</param>
-    <param name="revision">af5c7b1c7d3b8f9492038b7b40ba9cad82fb4ee8</param>
+    <param name="revision">a3e1e7e2f661e2f33c04c630623a73a94bb0679b</param>
     <param name="scm">git</param>
     <param name="submodules">disable</param>
     <param name="url">https://github.com/djs55/ocaml-sha.git</param>

++++++ ocaml-sha-1.15.1.tar.xz -> ocaml-sha-1.15.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-sha-1.15.1/CHANGES.md 
new/ocaml-sha-1.15.2/CHANGES.md
--- old/ocaml-sha-1.15.1/CHANGES.md     2021-10-04 14:49:31.000000000 +0200
+++ new/ocaml-sha-1.15.2/CHANGES.md     2022-02-06 19:55:33.000000000 +0100
@@ -1,11 +1,6 @@
-## v1.15.1
+## v1.15.2
 
-Opam CI fixes by @MisterDA (#54):
-
-- update to Dune 2.9 to fix [lint 
warning](https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/8cf1e193733c6d6c0330b46c1a7b7a2819e9a977/variant/(lint));
-  > (lint) (failed: Warning in sha.1.15: Dubious use of 'dune subst'. 'dune 
subst' should always only be called with {dev} (i.e. ["dune" "subst"] {dev}) If 
your opam file has been autogenerated by dune, you need to upgrade your 
dune-project to at least (lang dune 2.7).)
-- define `Bytes_val` ourselves before OCaml 4.06;
-- add setup-ocaml GitHub action to catch mistakes earlier.
+- Use modern Bigarray functions by @MisterDA (#55)
 
 ## v1.15
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-sha-1.15.1/sha1_stubs.c 
new/ocaml-sha-1.15.2/sha1_stubs.c
--- old/ocaml-sha-1.15.1/sha1_stubs.c   2021-10-04 14:49:31.000000000 +0200
+++ new/ocaml-sha-1.15.2/sha1_stubs.c   2022-02-06 19:55:33.000000000 +0100
@@ -94,8 +94,8 @@
 {
        CAMLparam2(ctx, buf);
        struct sha1_ctx ctx_dup;
-       unsigned char *data = Data_bigarray_val(buf);
-       size_t len = Bigarray_val(buf)->dim[0];
+       unsigned char *data = Caml_ba_data_val(buf);
+       size_t len = Caml_ba_array_val(buf)->dim[0];
 
        ctx_dup = *GET_CTX_STRUCT(ctx);
        caml_release_runtime_system();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-sha-1.15.1/sha256_stubs.c 
new/ocaml-sha-1.15.2/sha256_stubs.c
--- old/ocaml-sha-1.15.1/sha256_stubs.c 2021-10-04 14:49:31.000000000 +0200
+++ new/ocaml-sha-1.15.2/sha256_stubs.c 2022-02-06 19:55:33.000000000 +0100
@@ -93,8 +93,8 @@
 {
        CAMLparam2(ctx, buf);
        struct sha256_ctx ctx_dup;
-       unsigned char *data = Data_bigarray_val(buf);
-       size_t len = Bigarray_val(buf)->dim[0];
+       unsigned char *data = Caml_ba_data_val(buf);
+       size_t len = Caml_ba_array_val(buf)->dim[0];
 
        ctx_dup = *GET_CTX_STRUCT(ctx);
        caml_release_runtime_system();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ocaml-sha-1.15.1/sha512_stubs.c 
new/ocaml-sha-1.15.2/sha512_stubs.c
--- old/ocaml-sha-1.15.1/sha512_stubs.c 2021-10-04 14:49:31.000000000 +0200
+++ new/ocaml-sha-1.15.2/sha512_stubs.c 2022-02-06 19:55:33.000000000 +0100
@@ -93,8 +93,8 @@
 {
        CAMLparam2(ctx, buf);
        struct sha512_ctx ctx_dup;
-       unsigned char *data = Data_bigarray_val(buf);
-       size_t len = Bigarray_val(buf)->dim[0];
+       unsigned char *data = Caml_ba_data_val(buf);
+       size_t len = Caml_ba_array_val(buf)->dim[0];
 
        ctx_dup = *GET_CTX_STRUCT(ctx);
        caml_release_runtime_system();

Reply via email to