public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-bin-prot] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-10 15:10 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-10 15:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ocaml-bin-prot
Branch : rawhide
Commit : 45fd211a249c35d9b6dcddadfdceba65e71767e1
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-10T09:10:20-06:00
Stats : +12/-10 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-bin-prot/c/45fd211a249c35d9b6dcddadfdceba65e71767e1?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Use the dune declarative buildsystem
- Add patch to adapt to dune 3.24
---
diff --git a/ocaml-bin-prot-dune-3.24.patch b/ocaml-bin-prot-dune-3.24.patch
new file mode 100644
index 0000000..8eb8445
--- /dev/null
+++ b/ocaml-bin-prot-dune-3.24.patch
@@ -0,0 +1,8 @@
+--- bin_prot-0.17.0/test/dune.orig 2024-05-07 12:46:09.000000000 -0600
++++ bin_prot-0.17.0/test/dune 2026-07-09 15:15:26.882909517 -0600
+@@ -10,4 +10,4 @@
+ integers_repr_tests_64bit.ml integers_repr_tests_js.ml)
+ (action
+ (bash
+- "diff <(echo '869e6b3143f14201f406eac9c05c4cdb blob_stability_tests.ml'\necho '714ea0b2dcb175b3f87a9aff0890c091 integers_repr_tests_32bit.ml'\necho '2db396dfced6ae8d095f308acb4c80eb integers_repr_tests_64bit.ml'\necho 'f54ad24b4e4e601d16bef7d8c79358d8 integers_repr_tests_js.ml'\n ) <(md5sum %{deps})")))
++ "diff <(echo '869e6b3143f14201f406eac9c05c4cdb ./blob_stability_tests.ml'\necho '714ea0b2dcb175b3f87a9aff0890c091 ./integers_repr_tests_32bit.ml'\necho '2db396dfced6ae8d095f308acb4c80eb ./integers_repr_tests_64bit.ml'\necho 'f54ad24b4e4e601d16bef7d8c79358d8 ./integers_repr_tests_js.ml'\n ) <(md5sum %{deps})")))
diff --git a/ocaml-bin-prot.spec b/ocaml-bin-prot.spec
index 7d7e500..ad3b5a5 100644
--- a/ocaml-bin-prot.spec
+++ b/ocaml-bin-prot.spec
@@ -13,7 +13,10 @@ License: MIT AND BSD-3-Clause
URL: https://github.com/janestreet/bin_prot
VCS: git:%{url}.git
Source: %{url}/archive/v%{version}/bin_prot-%{version}.tar.gz
+# Adapt to pathname changes in dune 3.24
+Patch: %{name}-dune-3.24.patch
+BuildSystem: dune
BuildRequires: ocaml >= 5.1.0
BuildRequires: ocaml-base-devel >= 0.17
BuildRequires: ocaml-dune >= 3.11.0
@@ -54,16 +57,7 @@ The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%prep
-%autosetup -n bin_prot-%{version}
-
-%build
-%dune_build
-
-%install
-%dune_install
-
-%check
-%dune_check
+%autosetup -n bin_prot-%{version} -p1
%files -f .ofiles
%doc CHANGES.md README.md
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-10 15:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10 15:10 [rpms/ocaml-bin-prot] 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