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

            A new commit has been pushed.

            Repo   : rpms/ocaml-ppxlib
            Branch : rawhide
            Commit : 639ad1cc4f67786f313a271bcc7900d8e9f62dcd
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T15:21:38-06:00
            Stats  : +7/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-ppxlib/c/639ad1cc4f67786f313a271bcc7900d8e9f62dcd?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the dune declarative buildsystem

---
diff --git a/ocaml-ppxlib.spec b/ocaml-ppxlib.spec
index 2665e9d..333d5bc 100644
--- a/ocaml-ppxlib.spec
+++ b/ocaml-ppxlib.spec
@@ -13,6 +13,12 @@ Source:         %{giturl}/archive/%{version}/ppxlib-%{version}.tar.gz
 # Fedora does not have, and does not need, stdlib-shims
 Patch:          %{name}-stdlib-shims.patch
 
+BuildSystem:    dune
+# Do not build, install, or test the benchmark suite
+BuildOption(build): -p ppxlib,ppxlib-tools
+BuildOption(install): -s ppxlib ppxlib-tools
+BuildOption(check): -p ppxlib,ppxlib-tools
+
 BuildRequires:  ocaml >= 4.08.0
 BuildRequires:  ocaml-cinaps-devel >= 0.12.1
 BuildRequires:  ocaml-cmdliner-devel >= 1.3.0
@@ -63,21 +69,10 @@ developing applications that use %{name}.
 %prep
 %autosetup -n ppxlib-%{version} -p1
 
-%build
-# Do not build the benchmark suite
-%dune_build -p ppxlib,ppxlib-tools
-
-%install
-# Do not install the benchmark suite
-%dune_install -s ppxlib ppxlib-tools
-
+%install -a
 # Merge the tools devel package into the tools package
 cat .ofiles-ppxlib-tools-devel >> .ofiles-ppxlib-tools
 
-%check
-# Do not run the benchmark suite
-%dune_check -p ppxlib,ppxlib-tools
-
 %files -f .ofiles-ppxlib
 %doc CHANGES.md HISTORY.md README.md
 %license LICENSE.md

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

only message in thread, other threads:[~2026-07-09 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 21:21 [rpms/ocaml-ppxlib] 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