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/ocaml-bin-prot] rawhide: OCaml 5.5.0 rebuild
Date: Fri, 10 Jul 2026 15:10:38 GMT [thread overview]
Message-ID: <178369623802.1.16549775231146017425.rpms-ocaml-bin-prot-45fd211a249c@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-10 15:10 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=178369623802.1.16549775231146017425.rpms-ocaml-bin-prot-45fd211a249c@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