## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname optint %global giturl https://github.com/mirage/optint Name: ocaml-%{srcname} Version: 0.3.1 Release: %autorelease Summary: Efficient integer types on 64-bit architectures License: MIT URL: https://mirage.github.io/optint/ VCS: git:%{giturl}.git Source: %{giturl}/archive/v%{version}/%{srcname}-%{version}.tar.gz # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildSystem: dune BuildRequires: ocaml >= 4.07.0 BuildRequires: ocaml-dune # Test dependencies # The ocaml-crowbar package is only available on x86_64 %ifarch %{x86_64} BuildRequires: ocaml-crowbar-devel >= 0.2 BuildRequires: ocaml-fmt-devel BuildRequires: ocaml-monolith-devel %endif %description This library provides two new integer types, Optint.t and Optint.Int63.t, which guarantee efficient representation on 64-bit architectures and provide a best-effort boxed representation on 32-bit architectures. %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 %{srcname}-%{version} %check %ifarch %{x86_64} %dune_check %endif %files -f .ofiles %doc CHANGES.md README.md %license LICENSE.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Fri Nov 20 2026 Jerry James - 0.3.1-1 - Uncommitted changes * Tue Oct 20 2026 Jerry James - 0.3.0-1 - Initial RPM ## END: Generated by rpmautospec