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-yaml] rawhide: OCaml 5.5.0 rebuild
Date: Fri, 10 Jul 2026 02:54:01 GMT	[thread overview]
Message-ID: <178365204179.1.6525410204566412510.rpms-ocaml-yaml-3a661d2e186d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ocaml-yaml
            Branch : rawhide
            Commit : 3a661d2e186d5e14539deb6dedb931fbfc35d34d
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T20:53:51-06:00
            Stats  : +7/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-yaml/c/3a661d2e186d5e14539deb6dedb931fbfc35d34d?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the dune declarative buildsystem

---
diff --git a/ocaml-yaml.spec b/ocaml-yaml.spec
index 5be1354..bb5721d 100644
--- a/ocaml-yaml.spec
+++ b/ocaml-yaml.spec
@@ -1,6 +1,3 @@
-# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
-ExcludeArch: %{ix86}
-
 # Fedora does not have ezjsonm or junit_alcotest
 %global run_tests 0
 
@@ -21,6 +18,12 @@ Source:         %{giturl}/releases/download/v%{version}/yaml-%{version}.tbz
 # - https://github.com/avsm/ocaml-yaml/issues/51
 Patch:          %{name}-unbundle-libyaml.patch
 
+# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
+ExcludeArch:    %{ix86}
+
+BuildSystem:    dune
+BuildOption(install): -s
+
 BuildRequires:  libyaml-devel
 BuildRequires:  ocaml >= 4.13.0
 BuildRequires:  ocaml-bos-devel
@@ -89,14 +92,8 @@ cp -p %{_includedir}/yaml.h vendor/yaml.h
 touch vendor/dummy.c
 ln -s %{_libdir}/libyaml.so ffi/lib/dllyaml.so
 
-%build
-%dune_build
-
-%install
-%dune_install -s
-
-%if %{run_tests}
 %check
+%if %{run_tests}
 %dune_check
 %endif
 

                 reply	other threads:[~2026-07-10  2:54 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=178365204179.1.6525410204566412510.rpms-ocaml-yaml-3a661d2e186d@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