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

            A new commit has been pushed.

            Repo   : rpms/ocaml-jsonm
            Branch : rawhide
            Commit : 47768e379e89f70e996941d3b92213f8ddbcf91f
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T14:06:21-06:00
            Stats  : +4/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-jsonm/c/47768e379e89f70e996941d3b92213f8ddbcf91f?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the topkg declarative buildsystem

---
diff --git a/ocaml-jsonm.spec b/ocaml-jsonm.spec
index 040fc2c..c712bce 100644
--- a/ocaml-jsonm.spec
+++ b/ocaml-jsonm.spec
@@ -15,6 +15,10 @@ Source:         https://github.com/dbuenzli/jsonm/archive/v%{version}/jsonm-%{ve
 # OCaml packages not built on i686 since OCaml 5 / Fedora 39.
 ExcludeArch:    %{ix86}
 
+BuildSystem:    topkg
+BuildOption(build): --tests true
+BuildOption(build): --dev-pkg false
+
 BuildRequires:  ocaml >= 4.05.0
 BuildRequires:  ocaml-compiler-libs
 BuildRequires:  ocaml-findlib
@@ -54,16 +58,6 @@ for fil in $(find . -type f); do
   rm $fil.orig
 done
 
-%build
-# Build the library and the tests
-ocaml pkg/pkg.ml build --tests true --dev-pkg false
-
-%install
-%ocaml_install
-
-%check
-ocaml pkg/pkg.ml test
-
 %files -f .ofiles
 %doc CHANGES.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 20:06 UTC | newest]

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