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 1/9] 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 2/9] 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 3/9] 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 4/9] 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 5/9] 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 6/9] 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 7/9] 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 8/9] 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 9/9] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild