public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/utop] rawhide: OCaml 5.5.0 rebuild
Date: Fri, 10 Jul 2026 16:19:19 GMT [thread overview]
Message-ID: <178370035985.1.2785117422461298647.rpms-utop-f5a196cff6cd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/utop
Branch : rawhide
Commit : f5a196cff6cdf77bac6e826952a82b36f51a96a8
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-10T10:19:06-06:00
Stats : +7/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/utop/c/f5a196cff6cdf77bac6e826952a82b36f51a96a8?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Use the dune declarative buildsystem
---
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
reply other threads:[~2026-07-10 16:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178370035985.1.2785117422461298647.rpms-utop-f5a196cff6cd@fedoraproject.org \
--to=loganjerry@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox