Name: ocaml-stdlib-random Version: 1.1.0 Release: %autorelease Summary: Versioned Random module from the OCaml standard library License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception URL: https://github.com/ocaml/stdlib-random Source0: %{url}/releases/download/%{version}/stdlib-random-%{version}.tbz # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 4.08.0 BuildRequires: ocaml-cppo >= 1.1.0 BuildRequires: ocaml-dune >= 2.7 %description The stdlib-random package provides a stable and compiler-independent implementation of all the PRNGs used in the Random module. Those PRNGs are available in the various libraries: - stdlib-random.v3: OCaml 3.07 to 3.11 PRNG - stdlib-random.v4: OCaml 3.12 to 4.14 PRNG - stdlib-random.v5: current OCaml 5.0 PRNG - stdlib-random.v5o: pure OCaml version of the OCaml 5 PRNG All those libraries can be used together and the signature of their Random$n module has been extended to the latest signature whenever possible. %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 stdlib-random-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc Changelog.md README.md %license LICENSE %files devel -f .ofiles-devel %changelog %autochangelog