public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-jst-config] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-09 22:57 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-09 22:57 UTC (permalink / raw)
To: git-commits
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/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-09 22:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 22:57 [rpms/ocaml-jst-config] 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