## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; 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 # Bump %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-unionfind Version: 20220122 Release: %autorelease Summary: OCaml implementations of the union-find data structure License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception URL: https://gitlab.inria.fr/fpottier/unionfind VCS: git:%{url}.git Source: %{url}/-/archive/%{version}/unionfind-%{version}.tar.bz2 # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 4.05 BuildRequires: ocaml-dune >= 1.4 %description The OCaml library unionFind offers two implementations of the union-find data structure. Both implementations are based on disjoint sets forests, with path compression and linking-by-rank, so as to guarantee good asymptotic complexity: every operation requires a quasi-constant number of accesses to the store. %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 unionfind-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %license LICENSE %doc AUTHORS CHANGES.md README.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Sun Dec 22 2024 Jerry James - 20220122-9 - Uncommitted changes * Thu Jul 18 2024 Fedora Release Engineering - 20220122-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Jerry James - 20220122-7 - Add VCS field * Wed Jun 19 2024 Richard W.M. Jones - 20220122-6 - OCaml 5.2.0 ppc64le fix * Thu May 30 2024 Richard W.M. Jones - 20220122-5 - OCaml 5.2.0 for Fedora 41 * Thu Jan 25 2024 Fedora Release Engineering - 20220122-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 20220122-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Dec 29 2023 Jerry James - 20220122-2 - Disable debuginfo on bytecode architectures * Fri Dec 29 2023 Jerry James - 20220122-1 - Initial RPM ## END: Generated by rpmautospec