Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ocaml-augeas for openSUSE:Factory checked in at 2025-06-14 16:17:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-augeas (Old) and /work/SRC/openSUSE:Factory/.ocaml-augeas.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-augeas" Sat Jun 14 16:17:40 2025 rev:3 rq:1285643 version:0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-augeas/ocaml-augeas.changes 2024-01-09 20:49:41.328297468 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-augeas.new.19631/ocaml-augeas.changes 2025-06-14 16:17:59.570919716 +0200 @@ -1,0 +2,10 @@ +Fri Jun 13 13:29:14 MDT 2025 - carn...@suse.com + +- Update to version 0.7 (jsc#PED-12706) + * Use ocamlopt -g option + * caml_named_value returns const value pointer in OCaml 4.09+ + * augeas: Return matches list in order + * Update .depend with current ocamldep +- Drop caml_named_value-returns-const-value-pointer-in-OCam.patch + +------------------------------------------------------------------- Old: ---- caml_named_value-returns-const-value-pointer-in-OCam.patch ocaml-augeas-0.6.tar.gz ocaml-augeas-0.6.tar.gz.sig New: ---- ocaml-augeas-0.7.tar.gz ocaml-augeas-0.7.tar.gz.sig BETA DEBUG BEGIN: Old: * Update .depend with current ocamldep - Drop caml_named_value-returns-const-value-pointer-in-OCam.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-augeas.spec ++++++ --- /var/tmp/diff_new_pack.X7fPOY/_old 2025-06-14 16:18:00.186945117 +0200 +++ /var/tmp/diff_new_pack.X7fPOY/_new 2025-06-14 16:18:00.190945282 +0200 @@ -1,7 +1,7 @@ # # spec file for package ocaml-augeas # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,44 +17,38 @@ Name: ocaml-augeas -Version: 0.6 +Version: 0.7 Release: 0 Summary: OCaml bindings for Augeas configuration API License: GPL-2.0-or-later -URL: http://people.redhat.com/~rjones/augeas/files/ -Source0: http://people.redhat.com/~rjones/augeas/files/%{name}-%{version}.tar.gz +URL: https://download.libguestfs.org/ocaml-augeas/ +Source0: https://download.libguestfs.org/ocaml-augeas/%{name}-%{version}.tar.gz Source1: %{name}-%{version}.tar.gz.sig Source2: ocaml-augeas.rpmlintrc -Patch1: caml_named_value-returns-const-value-pointer-in-OCam.patch - +BuildRequires: augeas-devel >= 0.1.0 +BuildRequires: chrpath BuildRequires: make BuildRequires: ocaml -BuildRequires: ocaml-rpm-macros BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-ocamldoc -BuildRequires: augeas-devel >= 0.1.0 -BuildRequires: chrpath +BuildRequires: ocaml-rpm-macros %description Augeas is a unified system for editing arbitrary configuration files. This provides complete OCaml bindings for Augeas. - %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} - %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. - %prep %autosetup -p1 - %build %define _lto_cflags %{nil} @@ -62,11 +56,9 @@ make all make doc - %check make check - %install export DESTDIR=$RPM_BUILD_ROOT export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml @@ -84,4 +76,3 @@ %files devel -f %name.files.devel %doc html - ++++++ ocaml-augeas-0.6.tar.gz -> ocaml-augeas-0.7.tar.gz ++++++ ++++ 6095 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ocaml-augeas-0.6/.depend new/ocaml-augeas-0.7/.depend --- old/ocaml-augeas-0.6/.depend 2019-05-29 11:57:06.000000000 +0200 +++ new/ocaml-augeas-0.7/.depend 2025-05-08 11:03:09.000000000 +0200 @@ -1,3 +1,5 @@ -augeas.cmo : augeas.cmi -augeas.cmx : augeas.cmi +augeas.cmo : \ + augeas.cmi +augeas.cmx : \ + augeas.cmi augeas.cmi : diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ocaml-augeas-0.6/augeas-c.c new/ocaml-augeas-0.7/augeas-c.c --- old/ocaml-augeas-0.6/augeas-c.c 2019-05-29 11:55:36.000000000 +0200 +++ new/ocaml-augeas-0.7/augeas-c.c 2025-05-08 11:01:44.000000000 +0200 @@ -86,7 +86,7 @@ static void raise_error_and_maybe_close (augeas_t t, const char *msg, bool close_handle) { - value *exn = caml_named_value ("Augeas.Error"); + const value *exn = caml_named_value ("Augeas.Error"); value args[5]; const int code = aug_error (t); const char *aug_err_msg; @@ -132,7 +132,7 @@ static void raise_init_error (const char *msg) { - value *exn = caml_named_value ("Augeas.Error"); + const value *exn = caml_named_value ("Augeas.Error"); value args[5]; args[0] = caml_alloc (1, 0); @@ -440,7 +440,9 @@ if (r == -1) raise_error (t, "Augeas.matches"); - /* Copy the paths to a list. */ + /* Copy the paths to a list. + * This builds the list in reverse order, but we call List.rev later. + */ rv = Val_int (0); for (i = 0; i < r; ++i) { v = caml_copy_string (matches[i]); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ocaml-augeas-0.6/augeas.ml new/ocaml-augeas-0.7/augeas.ml --- old/ocaml-augeas-0.6/augeas.ml 2019-05-29 11:55:36.000000000 +0200 +++ new/ocaml-augeas-0.7/augeas.ml 2025-05-08 11:03:02.000000000 +0200 @@ -76,8 +76,9 @@ = "ocaml_augeas_label" external rm : t -> path -> int = "ocaml_augeas_rm" -external matches : t -> path -> path list +external matches' : t -> path -> path list = "ocaml_augeas_match" +let matches aug path = List.rev (matches' aug path) external count_matches : t -> path -> int = "ocaml_augeas_count_matches" external save : t -> unit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ocaml-augeas-0.6/config.h.in new/ocaml-augeas-0.7/config.h.in --- old/ocaml-augeas-0.6/config.h.in 2019-08-20 15:59:52.000000000 +0200 +++ new/ocaml-augeas-0.7/config.h.in 2025-05-08 11:09:28.000000000 +0200 @@ -1,6 +1,6 @@ /* config.h.in. Generated from configure.ac by autoheader. */ -/* Define to 1 if you have the `aug_source' function. */ +/* Define to 1 if you have the 'aug_source' function. */ #undef HAVE_AUG_SOURCE /* Define to 1 if your C compiler doesn't accept -c and -o together. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/ocaml-augeas-0.6/configure.ac new/ocaml-augeas-0.7/configure.ac --- old/ocaml-augeas-0.6/configure.ac 2019-08-20 15:58:08.000000000 +0200 +++ new/ocaml-augeas-0.7/configure.ac 2025-05-08 11:06:32.000000000 +0200 @@ -19,7 +19,7 @@ AC_CONFIG_MACRO_DIR([m4]) -AC_INIT(ocaml-augeas,0.6) +AC_INIT(ocaml-augeas,0.7) dnl Check for basic C environment. AC_PROG_CC