public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/utop] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-10 16:19 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-10 16:19 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-10 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10 16:19 [rpms/utop] rawhide: OCaml 5.5.0 rebuild Jerry James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox