From 713049b3b1674f57f51dce798043c7a41d3e99b5 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 14 Mar 2025 10:02:34 -0600 Subject: [PATCH 01/15] Rebuild for ocaml-uutf 1.0.4 From 2e35c36883dbd346d60de37527279e949352c0c3 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 18 Mar 2025 14:31:00 -0600 Subject: [PATCH 02/15] Rebuild for ocaml-logs 0.8.0 From a8d829156bebff9478b04e3c05944e1449620fab Mon Sep 17 00:00:00 2001 From: Jerry James Date: Sat, 12 Jul 2025 21:12:48 -0600 Subject: [PATCH 03/15] Rebuild to fix OCaml dependencies From 1fe3a42786f7490bf35c83fd32f4cccbb41226f8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:54:37 +0000 Subject: [PATCH 04/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From c30ca20a608ae664cbd3bcf550dff72af025edb4 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 30 Jul 2025 15:22:03 -0600 Subject: [PATCH 05/15] Version 2.16.0 --- sources | 2 +- utop-version.patch | 24 ++++++++++++------------ utop.spec | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sources b/sources index cb07d04..60c3729 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utop-2.15.0.tar.gz) = f05aa85fbec3a4ecda6068b1ed350f61a0b3626969641c37508fde0fdeeffa80abd50b406c36884a81bc965d91d97d797490da1fe4edea0daa3936d47bbb1c70 +SHA512 (utop-2.16.0.tar.gz) = 0f6a7a85e9bbb442b217f5c28228c65fc63bafa033d178b696d461a200ef52d0d6c4f9b4ef04337e24dcd88bcf246f8163bd4851baa35a9c9e8de3aaee4d062d diff --git a/utop-version.patch b/utop-version.patch index 0cfd626..bb3c2d7 100644 --- a/utop-version.patch +++ b/utop-version.patch @@ -1,31 +1,31 @@ -diff -durpNw utop-2.15.0/dune-project utop-2.15.0-1/dune-project ---- utop-2.15.0/dune-project 2024-11-25 08:12:42.000000000 -0700 -+++ utop-2.15.0-1/dune-project 2025-01-10 08:50:45.000000000 -0700 +diff -durpNw utop-2.16.0/dune-project utop-2.16.0-1/dune-project +--- utop-2.16.0/dune-project 2025-07-22 07:19:24.000000000 -0600 ++++ utop-2.16.0-1/dune-project 2025-07-30 14:55:10.501079812 -0600 @@ -1,6 +1,7 @@ (lang dune 2.7) (formatting (enabled_for dune)) (name utop) -+(version 2.15.0) ++(version 2.16.0) (generate_opam_files) (source (github ocaml-community/utop)) -diff -durpNw utop-2.15.0/src/lib/uTop.ml utop-2.15.0-1/src/lib/uTop.ml ---- utop-2.15.0/src/lib/uTop.ml 2024-11-25 08:12:42.000000000 -0700 -+++ utop-2.15.0-1/src/lib/uTop.ml 2025-01-10 08:50:45.000000000 -0700 +diff -up utop-2.16.0/src/lib/uTop.ml utop-2.16.0-1/src/lib/uTop.ml +--- utop-2.16.0/src/lib/uTop.ml 2025-07-22 07:19:24.000000000 -0600 ++++ utop-2.16.0-1/src/lib/uTop.ml 2025-07-30 14:55:38.012927962 -0600 @@ -18,7 +18,7 @@ let (>>=) = Lwt.(>>=) module String_set = Set.Make(String) -let version = "%%VERSION%%" -+let version = "2.15.0" ++let version = "2.16.0" (* +-----------------------------------------------------------------+ | History | -diff -durpNw utop-2.15.0/utop.opam utop-2.15.0-1/utop.opam ---- utop-2.15.0/utop.opam 2024-11-25 08:12:42.000000000 -0700 -+++ utop-2.15.0-1/utop.opam 2025-01-10 08:50:45.000000000 -0700 +diff -up utop-2.16.0/utop.opam utop-2.16.0-1/utop.opam +--- utop-2.16.0/utop.opam 2025-07-22 07:19:24.000000000 -0600 ++++ utop-2.16.0-1/utop.opam 2025-07-30 14:55:53.988878072 -0600 @@ -1,3 +1,4 @@ -+version: "2.15.0" ++version: "2.16.0" # This file is generated by dune, edit dune-project instead opam-version: "2.0" synopsis: "Universal toplevel for OCaml" diff --git a/utop.spec b/utop.spec index a7f00f0..e546031 100644 --- a/utop.spec +++ b/utop.spec @@ -8,14 +8,14 @@ ExcludeArch: %{ix86} %global giturl https://github.com/ocaml-community/utop Name: utop -Version: 2.15.0 +Version: 2.16.0 Release: %autorelease Summary: Improved toplevel for OCaml License: BSD-3-Clause URL: https://ocaml-community.github.io/utop/ VCS : git:%{giturl}.git -Source: %{giturl}/releases/download/%{version}/%{name}-%{version}.tar.gz +Source: %{giturl}/archive/%{version}/%{name}-%{version}.tar.gz # Upstream patch to fix the version number Patch: %{name}-version.patch From d4257e9fc0b84f8f6ee44be079d4978f22e4b36f Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 30 Jul 2025 15:22:03 -0600 Subject: [PATCH 06/15] Version 2.16.0 --- sources | 2 +- utop-version.patch | 24 ++++++++++++------------ utop.spec | 4 ++-- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sources b/sources index cb07d04..60c3729 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utop-2.15.0.tar.gz) = f05aa85fbec3a4ecda6068b1ed350f61a0b3626969641c37508fde0fdeeffa80abd50b406c36884a81bc965d91d97d797490da1fe4edea0daa3936d47bbb1c70 +SHA512 (utop-2.16.0.tar.gz) = 0f6a7a85e9bbb442b217f5c28228c65fc63bafa033d178b696d461a200ef52d0d6c4f9b4ef04337e24dcd88bcf246f8163bd4851baa35a9c9e8de3aaee4d062d diff --git a/utop-version.patch b/utop-version.patch index 0cfd626..bb3c2d7 100644 --- a/utop-version.patch +++ b/utop-version.patch @@ -1,31 +1,31 @@ -diff -durpNw utop-2.15.0/dune-project utop-2.15.0-1/dune-project ---- utop-2.15.0/dune-project 2024-11-25 08:12:42.000000000 -0700 -+++ utop-2.15.0-1/dune-project 2025-01-10 08:50:45.000000000 -0700 +diff -durpNw utop-2.16.0/dune-project utop-2.16.0-1/dune-project +--- utop-2.16.0/dune-project 2025-07-22 07:19:24.000000000 -0600 ++++ utop-2.16.0-1/dune-project 2025-07-30 14:55:10.501079812 -0600 @@ -1,6 +1,7 @@ (lang dune 2.7) (formatting (enabled_for dune)) (name utop) -+(version 2.15.0) ++(version 2.16.0) (generate_opam_files) (source (github ocaml-community/utop)) -diff -durpNw utop-2.15.0/src/lib/uTop.ml utop-2.15.0-1/src/lib/uTop.ml ---- utop-2.15.0/src/lib/uTop.ml 2024-11-25 08:12:42.000000000 -0700 -+++ utop-2.15.0-1/src/lib/uTop.ml 2025-01-10 08:50:45.000000000 -0700 +diff -up utop-2.16.0/src/lib/uTop.ml utop-2.16.0-1/src/lib/uTop.ml +--- utop-2.16.0/src/lib/uTop.ml 2025-07-22 07:19:24.000000000 -0600 ++++ utop-2.16.0-1/src/lib/uTop.ml 2025-07-30 14:55:38.012927962 -0600 @@ -18,7 +18,7 @@ let (>>=) = Lwt.(>>=) module String_set = Set.Make(String) -let version = "%%VERSION%%" -+let version = "2.15.0" ++let version = "2.16.0" (* +-----------------------------------------------------------------+ | History | -diff -durpNw utop-2.15.0/utop.opam utop-2.15.0-1/utop.opam ---- utop-2.15.0/utop.opam 2024-11-25 08:12:42.000000000 -0700 -+++ utop-2.15.0-1/utop.opam 2025-01-10 08:50:45.000000000 -0700 +diff -up utop-2.16.0/utop.opam utop-2.16.0-1/utop.opam +--- utop-2.16.0/utop.opam 2025-07-22 07:19:24.000000000 -0600 ++++ utop-2.16.0-1/utop.opam 2025-07-30 14:55:53.988878072 -0600 @@ -1,3 +1,4 @@ -+version: "2.15.0" ++version: "2.16.0" # This file is generated by dune, edit dune-project instead opam-version: "2.0" synopsis: "Universal toplevel for OCaml" diff --git a/utop.spec b/utop.spec index a7f00f0..e546031 100644 --- a/utop.spec +++ b/utop.spec @@ -8,14 +8,14 @@ ExcludeArch: %{ix86} %global giturl https://github.com/ocaml-community/utop Name: utop -Version: 2.15.0 +Version: 2.16.0 Release: %autorelease Summary: Improved toplevel for OCaml License: BSD-3-Clause URL: https://ocaml-community.github.io/utop/ VCS : git:%{giturl}.git -Source: %{giturl}/releases/download/%{version}/%{name}-%{version}.tar.gz +Source: %{giturl}/archive/%{version}/%{name}-%{version}.tar.gz # Upstream patch to fix the version number Patch: %{name}-version.patch From 874c83ccc0a0111db73479d2848151a72308bbac Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 14 Oct 2025 22:28:10 +0100 Subject: [PATCH 07/15] OCaml 5.4.0 rebuild From ec38c4ad68a6ea232737d82b4308b0ae881834bc Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 14 Nov 2025 09:30:20 -0700 Subject: [PATCH 08/15] Rebuild for ocaml-logs 0.10.0 From a0c28c155e10307ae252a612608624b4f137b3e3 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 14 Jan 2026 08:52:25 -0700 Subject: [PATCH 09/15] Reflow the description text --- utop.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/utop.spec b/utop.spec index e546031..2aadb9d 100644 --- a/utop.spec +++ b/utop.spec @@ -39,10 +39,9 @@ BuildRequires: emacs-tuareg Provides: ocaml-%{name}%{?_isa} = %{version}-%{release} %description -utop is an improved toplevel (i.e., Read-Eval-Print Loop) for -OCaml. It can run in a terminal or in Emacs. It supports line -editing, history, real-time and context sensitive completion, -colors, and more. +utop is an improved toplevel (i.e., Read-Eval-Print Loop) for OCaml. It can +run in a terminal or in Emacs. It supports line editing, history, real-time +and context sensitive completion, colors, and more. %package devel Summary: Development files for %{name} @@ -64,8 +63,8 @@ Requires: emacs-tuareg Recommends: emacs-company %description -n emacs-utop -This package contains an Emacs front end for utop, an improved toplevel -for OCaml. +This package contains an Emacs front end for utop, an improved toplevel for +OCaml. %prep %autosetup -p1 From fbc94e7604439622bd97f844b1d49c25e66a500b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:43:49 +0000 Subject: [PATCH 10/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From f52539ff238028f73349c12664e500f2e0f45323 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 21 Feb 2026 09:15:36 +0000 Subject: [PATCH 11/15] OCaml 5.4.1 rebuild From 74fd06880338df0cf092b94851fa67e595ecc34d Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 30 Mar 2026 19:35:33 -0600 Subject: [PATCH 12/15] Version 2.17.0 --- sources | 2 +- utop.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 60c3729..8b46ffc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utop-2.16.0.tar.gz) = 0f6a7a85e9bbb442b217f5c28228c65fc63bafa033d178b696d461a200ef52d0d6c4f9b4ef04337e24dcd88bcf246f8163bd4851baa35a9c9e8de3aaee4d062d +SHA512 (utop-2.17.0.tar.gz) = 0d4665f72379ef7d294517a3e3cd4e6facb109a59faa6df71fa7f9837664771a919639f035ddc41f51a60cfd4fc03c911d87c20b943a601e0abc3a1248140eab diff --git a/utop.spec b/utop.spec index 2aadb9d..4b7a0a3 100644 --- a/utop.spec +++ b/utop.spec @@ -8,7 +8,7 @@ ExcludeArch: %{ix86} %global giturl https://github.com/ocaml-community/utop Name: utop -Version: 2.16.0 +Version: 2.17.0 Release: %autorelease Summary: Improved toplevel for OCaml From 9d4519c8d79f86a6e5b3b51fd30a972733cf11d8 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 16 Apr 2026 14:36:12 -0600 Subject: [PATCH 13/15] Rebuild for ocaml-lambda-term 3.4.0 From f5a196cff6cdf77bac6e826952a82b36f51a96a8 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 10 Jul 2026 10:19:06 -0600 Subject: [PATCH 14/15] OCaml 5.5.0 rebuild - Use the dune declarative buildsystem --- utop.spec | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/utop.spec b/utop.spec index 4b7a0a3..95ee2e4 100644 --- a/utop.spec +++ b/utop.spec @@ -1,6 +1,3 @@ -# OCaml packages not built on i686 since OCaml 5 / Fedora 39. -ExcludeArch: %{ix86} - # The OCaml code is byte compiled, not native compiled, so there are no ELF # objects in the binary RPM. %global debug_package %{nil} @@ -14,11 +11,15 @@ Summary: Improved toplevel for OCaml License: BSD-3-Clause URL: https://ocaml-community.github.io/utop/ -VCS : git:%{giturl}.git +VCS: git:%{giturl}.git Source: %{giturl}/archive/%{version}/%{name}-%{version}.tar.gz # Upstream patch to fix the version number Patch: %{name}-version.patch +# OCaml packages not built on i686 since OCaml 5 / Fedora 39. +ExcludeArch: %{ix86} + +BuildSystem: dune BuildRequires: ocaml >= 4.11.0 BuildRequires: ocaml-alcotest-devel BuildRequires: ocaml-cppo >= 1.1.2 @@ -69,26 +70,19 @@ OCaml. %prep %autosetup -p1 -%build -%dune_build - +%build -a cd src/top emacs -batch --no-init-file --no-site-file \ --eval "(let ((backup-inhibited t)) (loaddefs-generate \".\" \"$PWD/utop-loaddefs.el\"))" %_emacs_bytecompile utop.el cd - -%install -%dune_install - +%install -a # Install the Emacs interface mkdir -p %{buildroot}%{_emacs_sitestartdir} cp -p src/top/utop-loaddefs.* %{buildroot}%{_emacs_sitestartdir} cp -p src/top/utop.elc %{buildroot}%{_emacs_sitelispdir} -%check -%dune_check - %files -f .ofiles %license LICENSE %doc README.md CHANGES.md From 495b53fdd812d8556bc3d37ca681bdc9eb725671 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:18:29 +0000 Subject: [PATCH 15/15] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild