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