public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-ctypes] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-09 23:18 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-09 23:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ocaml-ctypes
Branch : rawhide
Commit : fce5870278e971f33004aa21409941b0204ef7c8
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-09T17:17:56-06:00
Stats : +2/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-ctypes/c/fce5870278e971f33004aa21409941b0204ef7c8?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Use the dune declarative buildsystem
- Update __ocaml_requires_opts for OCaml 5.5.0
---
diff --git a/ocaml-ctypes.spec b/ocaml-ctypes.spec
index d8f08fb..ea03d00 100644
--- a/ocaml-ctypes.spec
+++ b/ocaml-ctypes.spec
@@ -13,8 +13,8 @@ URL: https://yallop.github.io/ocaml-ctypes/
VCS: git:%{giturl}.git
Source: %{giturl}/archive/%{version}/%{name}-%{version}.tar.gz
+BuildSystem: dune
BuildRequires: ocaml >= 4.07.0
-BuildRequires: ocaml-bisect-ppx-devel
BuildRequires: ocaml-dune >= 3.9
BuildRequires: ocaml-dune-configurator-devel
BuildRequires: ocaml-integers-devel >= 0.2.2
@@ -24,12 +24,8 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(libffi)
BuildRequires: pkgconfig(ncurses)
-# This can be removed when F42 reaches EOL
-Obsoletes: %{name}-doc < 0.21.0
-Provides: %{name}-doc = %{version}-%{release}
-
# 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
Ctypes is a library for binding to C libraries using pure OCaml. The primary
@@ -57,15 +53,6 @@ developing applications that use %{name}.
# Use Fedora flags
sed -i 's/ "-cclib"; "-Wl,--no-as-needed";//' src/ctypes-foreign/config/discover.ml
-%build
-%dune_build
-
-%install
-%dune_install
-
-%check
-%dune_check
-
%files -f .ofiles
%license LICENSE
%doc CHANGES.md README.md
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-09 23:18 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:18 [rpms/ocaml-ctypes] 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