## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 Name: ocaml-linenoise Version: 1.5.1 Release: %autorelease Summary: OCaml bindings to linenoise License: BSD-3-Clause URL: https://github.com/ocaml-community/%{name} Source0: https://github.com/ocaml-community/%{name}/archive/v%{version}/linenoise-v%{version}.tar.gz # Unbundle linenoise Patch0: unbundle-linenoise.patch # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 4.03 BuildRequires: ocaml-dune >= 1.1 BuildRequires: linenoise-devel %description Self-contained OCaml bindings to linenoise. %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 ocaml-linenoise-%{version} -p1 # Ensure the bundled linenoise sources are not used in the build rm src/linenoise_src.* %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc README.md CHANGES.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Thu Jul 24 2025 Fedora Release Engineering - 1.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jul 11 2025 Jerry James - 1.5.1-2 - Rebuild to fix OCaml dependencies * Thu Feb 27 2025 U2FsdGVkX1 - 1.5.1-1 - Version 1.5.1 ## END: Generated by rpmautospec