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-jst-config] rawhide: OCaml 5.5.0 rebuild
Date: Thu, 09 Jul 2026 22:57:12 GMT [thread overview]
Message-ID: <178363783219.1.1554285957927340190.rpms-ocaml-jst-config-45e6effece0e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ocaml-jst-config
Branch : rawhide
Commit : 45e6effece0ef8a86010df5aa186564f2b662cd9
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-09T16:57:01-06:00
Stats : +7/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-jst-config/c/45e6effece0ef8a86010df5aa186564f2b662cd9?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Use the dune declarative buildsystem
---
diff --git a/ocaml-jst-config.spec b/ocaml-jst-config.spec
index 8c6fe36..f0f4754 100644
--- a/ocaml-jst-config.spec
+++ b/ocaml-jst-config.spec
@@ -1,6 +1,3 @@
-# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
-ExcludeArch: %{ix86}
-
# This package contains generated C header files. They differ by architecture,
# so this package cannot be noarch, but there are no ELF objects in it.
%global debug_package %{nil}
@@ -17,6 +14,12 @@ Source: %{url}/archive/v%{version}/jst-config-%{version}.tar.gz
# Use the glibc wrapper for gettid instead of making a bare system call
Patch: %{name}-gettid.patch
+# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
+ExcludeArch: %{ix86}
+
+BuildSystem: dune
+BuildOption(install): -n
+
BuildRequires: ocaml >= 5.1.0
BuildRequires: ocaml-base-devel >= 0.17
BuildRequires: ocaml-dune >= 3.11.0
@@ -37,12 +40,7 @@ as Base, Core, and Async.
%prep
%autosetup -p1 -n jst-config-%{version}
-%build
-%dune_build
-
-%install
-%dune_install -n
-
+%install -a
# The generated config_h.ml file is empty, and so the rest of the compiled OCaml
# artifacts likewise contain nothing useful. No consumers need them either, so
# we remove them.
@@ -52,9 +50,6 @@ rm -f %{buildroot}%{ocamldir}/jst-config/*.{a,cma,cmi,cmt,cmx,cmxa,cmxs,ml}
sed -ri '/(archive|plugin)/d' \
%{buildroot}%{ocamldir}/jst-config/{dune-package,META}
-%check
-%dune_check
-
%files devel
%license LICENSE.md
%{ocamldir}/jst-config/
reply other threads:[~2026-07-09 22:57 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=178363783219.1.1554285957927340190.rpms-ocaml-jst-config-45e6effece0e@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