%ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-bigstringaf Version: 0.10.0 Release: 1%{?dist} Summary: Bigstring intrinsics and fast blits based on memcpy/memmove License: MIT %global forgeurl0 https://github.com/inhabitedtype/bigstringaf %global tag %{version} %forgemeta URL: %{forgeurl0} Source: %{forgesource0} BuildRequires: ocaml >= 4.08.0 BuildRequires: ocaml-dune >= 3.0 BuildRequires: ocaml-dune-configurator-devel >= 3.0 BuildRequires: ocaml-alcotest-devel %description Bigstring intrinsics and fast blits based on memcpy/memmove The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not widely-known, sometimes misused, and so programs that use Bigstrings are slower than they have to be. And even if a library got that part right and exposed the intrinsics properly, the compiler doesn't have any fast blits between Bigstrings and other string-like types. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n bigstringaf-%{version} %build %dune_build #dune_build @doc %install %dune_install %check %dune_check %files -f .ofiles %doc README.md %license LICENSE %files devel -f .ofiles-devel #odoc_package %changelog * Sat Aug 23 2025 Jashank Jeremy - 0.10.0-1 - Initial packaging.