public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-bos] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-09 23:17 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-09 23:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ocaml-bos
Branch : rawhide
Commit : 616b3c59d6796fd4972850ab3e3ef2efa8bd1d14
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-09T17:16:43-06:00
Stats : +5/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-bos/c/616b3c59d6796fd4972850ab3e3ef2efa8bd1d14?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Use the topkg declarative buildsystem
- Update __ocaml_requires_opts for OCaml 5.5.0
---
diff --git a/ocaml-bos.spec b/ocaml-bos.spec
index 1e1f2b4..b5b2b45 100644
--- a/ocaml-bos.spec
+++ b/ocaml-bos.spec
@@ -15,6 +15,10 @@ Source: %{url}/releases/bos-%{version}.tbz
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
ExcludeArch: %{ix86}
+BuildSystem: topkg
+BuildOption(build): --dev-pkg false
+BuildOption(build): --tests true
+
BuildRequires: ocaml >= 4.14.0
BuildRequires: ocaml-astring-devel
BuildRequires: ocaml-compiler-libs
@@ -29,7 +33,7 @@ BuildRequires: ocaml-rresult-devel >= 0.7.0
BuildRequires: ocaml-topkg-devel >= 1.1.0
# Do not require ocaml-compiler-libs at runtime
-%global __ocaml_requires_opts -i Asttypes -i Build_path_prefix_map -i Cmi_format -i Env -i Format_doc -i Ident -i Identifiable -i Load_path -i Location -i Longident -i Misc -i Oprint -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Toploop -i Type_immediacy -i Types -i Unit_info -i Warnings
+%global __ocaml_requires_opts -i Asttypes -i Build_path_prefix_map -i Cmi_format -i Data_types -i Env -i Format_doc -i Ident -i Identifiable -i Load_path -i Location -i Longident -i Misc -i Oprint -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Toploop -i Type_immediacy -i Types -i Unit_info -i Warnings
%description
Bos provides support for basic and robust interaction with the operating
@@ -53,15 +57,6 @@ developing applications that use %{name}.
%prep
%autosetup -n bos-%{version}
-%build
-ocaml pkg/pkg.ml build --dev-pkg false --tests true
-
-%install
-%ocaml_install
-
-%check
-ocaml pkg/pkg.ml test
-
%files -f .ofiles
%doc CHANGES.md README.md
%license LICENSE.md
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-09 23:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 23:17 [rpms/ocaml-bos] 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