%undefine _package_note_flags %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-bigarray-compat Version: 1.1.0 Release: 3%{?dist} Summary: Compatibility library to use Stdlib.Bigarray when possible License: ISC URL: https://github.com/mirage/bigarray-compat Source0: %{url}/archive/v%{version}/bigarray-compat-%{version}.tar.gz BuildRequires: ocaml >= 4.03.0 BuildRequires: ocaml-dune >= 1.0 %description Bigarray-compat is an OCaml library that exposes `Stdlib.Bigarray` when possible (OCaml >= 4.07) but can fallback to `Bigarray`. The compability bigarray module is exposed under `Bigarray_compat`. %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 bigarray-compat-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc README.md %license LICENSE.md %files devel -f .ofiles-devel %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Jerry James - 1.1.0-2 - Use new OCaml macros * Sat Jun 18 2022 Richard W.M. Jones - 1.1.0-2 - OCaml 4.14.0 rebuild * Wed Apr 27 2022 Jerry James - 1.1.0-1 - Version 1.1.0 - Upstream tarball now includes the license file * Fri Feb 04 2022 Richard W.M. Jones - 1.0.0-6 - OCaml 4.13.1 rebuild to remove package notes * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Oct 04 2021 Richard W.M. Jones - 1.0.0-4 - OCaml 4.13.1 build * Thu Jul 22 2021 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Mar 1 12:17:30 GMT 2021 Richard W.M. Jones - 1.0.0-2 - OCaml 4.12.0 build * Tue Feb 09 2021 Jerry James - 1.0.0-1 - Initial package