Name: ocaml-ppx-typerep-conv Version: 0.17.0 Release: %autorelease Summary: Generate runtime types from OCaml type declarations License: MIT URL: https://github.com/janestreet/ppx_typerep_conv VCS: git:%{url}.git Source: %{url}/archive/v%{version}/ppx_typerep_conv-%{version}.tar.gz # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 5.1.0 BuildRequires: ocaml-base-devel >= 0.17 BuildRequires: ocaml-dune >= 3.11.0 BuildRequires: ocaml-ppxlib-devel >= 0.28.0 BuildRequires: ocaml-typerep-devel >= 0.17 %description Ppx_typerep_conv is a syntax extension that defines the type-conv generator `[@@deriving typerep]`, which creates a (runtime) value (called `typerep_of_$typename`) representing the type definition (see `typerep` for more information). It is intended to be the main creator of values of type `Typerep.t`. This generator supports mostly core types, not all fancy types like union of polymorphic variants. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: ocaml-base-devel%{?_isa} Requires: ocaml-ppxlib-devel%{?_isa} Requires: ocaml-typerep-devel%{?_isa} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n ppx_typerep_conv-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc CHANGES.md README.md %license LICENSE.md %files devel -f .ofiles-devel %changelog %autochangelog