Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ocaml-result for openSUSE:Factory checked in at 2021-01-27 18:57:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-result (Old) and /work/SRC/openSUSE:Factory/.ocaml-result.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-result" Wed Jan 27 18:57:41 2021 rev:5 rq:866884 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-result/ocaml-result.changes 2019-11-11 13:01:25.153755692 +0100 +++ /work/SRC/openSUSE:Factory/.ocaml-result.new.28504/ocaml-result.changes 2021-01-27 18:57:42.648384737 +0100 @@ -1,0 +2,6 @@ +Thu Jan 21 21:21:21 UTC 2021 - oher...@suse.de + +- Update to version 1.5 + Make Result an alias of Stdlib.Result on OCaml >= 4.08. + +------------------------------------------------------------------- Old: ---- ocaml-result-1.4.tar.xz New: ---- ocaml-result-1.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-result.spec ++++++ --- /var/tmp/diff_new_pack.S8rdE0/_old 2021-01-27 18:57:43.120385467 +0100 +++ /var/tmp/diff_new_pack.S8rdE0/_new 2021-01-27 18:57:43.120385467 +0100 @@ -1,7 +1,7 @@ # # spec file for package ocaml-result # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -17,17 +17,17 @@ Name: ocaml-result -Version: 1.4 +Version: 1.5 Release: 0 %{?ocaml_preserve_bytecode} Summary: Compatibility OCaml Result module License: BSD-3-Clause Group: Development/Languages/OCaml -Url: https://github.com/janestreet/result +URL: https://opam.ocaml.org/packages/result Source0: %{name}-%{version}.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune -BuildRequires: ocaml-rpm-macros >= 20191101 +BuildRequires: ocaml-rpm-macros >= 20210114 %description Projects that want to use the new result type defined in OCaml >= 4.03 while ++++++ _service ++++++ --- /var/tmp/diff_new_pack.S8rdE0/_old 2021-01-27 18:57:43.156385523 +0100 +++ /var/tmp/diff_new_pack.S8rdE0/_new 2021-01-27 18:57:43.160385529 +0100 @@ -1,12 +1,13 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">ocaml-result</param> - <!-- 1.4 --> - <param name="revision">5f7f1a4423ca3b9db4b4048d561f31fd6bfd9ab0</param> + <param name="revision">b0b9cd6e9cce8d2b7ad11127a6135540ec3f8a92</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://github.com/janestreet/result.git</param> <param name="versionformat">@PARENT_TAG@</param> + <param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param> + <param name="versionrewrite-replacement">\1</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ ocaml-result-1.4.tar.xz -> ocaml-result-1.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/CHANGES.md new/ocaml-result-1.5/CHANGES.md --- old/ocaml-result-1.4/CHANGES.md 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/CHANGES.md 2020-02-20 08:48:47.000000000 +0100 @@ -1,4 +1,15 @@ +1.5 (17/02/2020) +---------------- + +- Make Result an alias of Stdlib.Result on OCaml >= 4.08. + +1.4 (27/03/2019) +---------------- + +- Switch to Dune. +- Do not refer to Pervasives; it is deprecated. + 1.3 (05/02/2018) ---------------- -- Switch to jbuilder +- Switch to jbuilder. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/Makefile new/ocaml-result-1.5/Makefile --- old/ocaml-result-1.4/Makefile 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/Makefile 2020-02-20 08:48:47.000000000 +0100 @@ -1,20 +1,17 @@ INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),) default: - jbuilder build @install + dune build @install install: - jbuilder install $(INSTALL_ARGS) + dune install $(INSTALL_ARGS) uninstall: - jbuilder uninstall $(INSTALL_ARGS) + dune uninstall $(INSTALL_ARGS) reinstall: uninstall reinstall clean: - jbuilder clean + dune clean -all-supported-ocaml-versions: - jbuilder build --workspace jbuild-workspace.dev - -.PHONY: default install uninstall reinstall clean all-supported-ocaml-versions +.PHONY: default install uninstall reinstall clean diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/jbuild-workspace.dev new/ocaml-result-1.5/jbuild-workspace.dev --- old/ocaml-result-1.4/jbuild-workspace.dev 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/jbuild-workspace.dev 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -;; Install the following opam switches, copy this file as -;; jbuild-workspace and run: -;; -;; $ jbuilder build @install -;; -;; This will build result against all these version of OCaml - -(context ((switch 4.02.3))) -(context ((switch 4.03.0))) -(context ((switch 4.04.2))) -(context ((switch 4.05.0))) -(context ((switch 4.06.0))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/pkg/pkg.ml new/ocaml-result-1.5/pkg/pkg.ml --- old/ocaml-result-1.4/pkg/pkg.ml 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/pkg/pkg.ml 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -#use "topfind" -#require "topkg-jbuilder.auto" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/result-as-alias-4.08.ml new/ocaml-result-1.5/result-as-alias-4.08.ml --- old/ocaml-result-1.4/result-as-alias-4.08.ml 1970-01-01 01:00:00.000000000 +0100 +++ new/ocaml-result-1.5/result-as-alias-4.08.ml 2020-02-20 08:48:47.000000000 +0100 @@ -0,0 +1,2 @@ +include Stdlib.Result +type ('a, 'b) result = ('a, 'b) Stdlib.Result.t = Ok of 'a | Error of 'b diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/result-as-alias.ml new/ocaml-result-1.5/result-as-alias.ml --- old/ocaml-result-1.4/result-as-alias.ml 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/result-as-alias.ml 2020-02-20 08:48:47.000000000 +0100 @@ -1 +1,2 @@ type nonrec ('a, 'b) result = ('a, 'b) result = Ok of 'a | Error of 'b +type ('a, 'b) t = ('a, 'b) result diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/result-as-newtype.ml new/ocaml-result-1.5/result-as-newtype.ml --- old/ocaml-result-1.4/result-as-newtype.ml 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/result-as-newtype.ml 2020-02-20 08:48:47.000000000 +0100 @@ -1 +1,2 @@ type ('a, 'b) result = Ok of 'a | Error of 'b +type ('a, 'b) t = ('a, 'b) result diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/result.opam new/ocaml-result-1.5/result.opam --- old/ocaml-result-1.4/result.opam 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/result.opam 2020-02-20 08:48:47.000000000 +0100 @@ -1,9 +1,17 @@ -opam-version: "1.2" +opam-version: "2.0" maintainer: "opensou...@janestreet.com" authors: ["Jane Street Group, LLC <opensou...@janestreet.com>"] homepage: "https://github.com/janestreet/result" -dev-repo: "https://github.com/janestreet/result.git" +dev-repo: "git+https://github.com/janestreet/result.git" bug-reports: "https://github.com/janestreet/result/issues" -license: "BSD3" +license: "BSD-3-Clause" build: [["dune" "build" "-p" name "-j" jobs]] -depends: ["dune" {build}] +depends: [ + "ocaml" + "dune" {>= "1.0"} +] +synopsis: "Compatibility Result module" +description: """ +Projects that want to use the new result type defined in OCaml >= 4.03 +while staying compatible with older version of OCaml should use the +Result module defined in this library.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ocaml-result-1.4/which_result.ml new/ocaml-result-1.5/which_result.ml --- old/ocaml-result-1.4/which_result.ml 2019-04-04 09:57:52.000000000 +0200 +++ new/ocaml-result-1.5/which_result.ml 2020-02-20 08:48:47.000000000 +0100 @@ -6,6 +6,9 @@ if version < (4, 03) then "result-as-newtype.ml" else - "result-as-alias.ml" + if version < (4, 08) then + "result-as-alias.ml" + else + "result-as-alias-4.08.ml" in print_string file