%ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-opam-0install-cudf Version: 0.4.3 Release: %autorelease -b 2 Summary: A generic CUDF solver library meant to be used in opam License: ISC URL: https://github.com/ocaml-opam/opam-0install-cudf VCS: git:%{url}.git Source: %{url}/archive/v%{version}/opam-0install-cudf-%{version}.tar.gz # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 4.08.0 BuildRequires: ocaml-0install-solver-devel BuildRequires: ocaml-cudf-devel BuildRequires: ocaml-dune >= 2.7 %description Opam's default solver is designed to maintain a set of packages over time, minimizing disruption when installing new programs and finding a compromise solution across all packages (e.g. avoiding upgrading some library to prevent uninstalling another program). In many situations (e.g. a CI system building in a clean environment, a project-local opam root, or a duniverse build) this is not necessary, and we can get a solution much faster by using a different algorithm. This package provides a generic solver library which uses 0install's solver library. The CUDF library is used in order to interface with opam as it is the format used to talk to the supported solvers. %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 opam-0install-cudf-%{version} %build %dune_build -p opam-0install-cudf %install %dune_install opam-0install-cudf %check %dune_check -p opam-0install-cudf %files -f .ofiles %doc CHANGES.md README.md %license LICENSE.md %files devel -f .ofiles-devel %changelog %autochangelog