## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; 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 # OCaml 5.5.2 rebuild %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-logs Version: 0.10.0 Release: %autorelease Summary: Logging infrastructure for OCaml License: ISC URL: https://erratique.ch/software/logs VCS: git:https://erratique.ch/repos/logs.git Source: %{url}/releases/logs-%{version}.tbz # Remove js_of_ocaml dependency in the tests, since Fedora does not have it Patch: %{name}-js-of-ocaml.patch # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildSystem: topkg BuildOption(build): --dev-pkg false BuildOption(build): --tests true BuildOption(build): --with-js_of_ocaml-compiler false BuildOption(build): --with-fmt true BuildOption(build): --with-cmdliner true BuildOption(build): --with-lwt true BuildOption(build): --with-base-threads true BuildRequires: ocaml >= 4.14.0 BuildRequires: ocaml-b0-devel BuildRequires: ocaml-cmdliner-devel >= 1.3.0 BuildRequires: ocaml-compiler-libs BuildRequires: ocaml-findlib BuildRequires: ocaml-fmt-devel >= 0.9.0 BuildRequires: ocaml-lwt-devel BuildRequires: ocaml-mtime-devel BuildRequires: ocaml-ocamlbuild BuildRequires: ocaml-rpm-macros BuildRequires: ocaml-topkg-devel >= 1.1.0 # Do not require ocaml-compiler-libs at runtime %global __ocaml_requires_opts -i Asttypes -i Build_path_prefix_map -i Cmi_format -i Data_types -i Env -i Format_doc -i Ident -i Identifiable -i Load_path -i Location -i Longident -i Misc -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Toploop -i Type_immediacy -i Types -i Warnings %description Logs provides a logging infrastructure for OCaml. Logging is performed on sources whose reporting level can be set independently. The log message report is decoupled from logging and is handled by a reporter. A few optional log reporters are distributed with the base library and the API lets you easily implement your own. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: ocaml-cmdliner-devel%{?_isa} Requires: ocaml-fmt-devel%{?_isa} Requires: ocaml-lwt-devel%{?_isa} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n logs-%{version} -p1 %check b0 test %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.10.0-11 - Uncommitted changes * Tue Sep 15 2026 Richard W.M. Jones - 0.10.0-10 - OCaml 5.5.1 rebuild * Fri Aug 07 2026 Jerry James - 0.10.0-9 - Test with ocaml-b0 - Remove test dependency on js-of-ocaml * Thu Jul 16 2026 Fedora Release Engineering - 0.10.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Thu Jul 09 2026 Jerry James - 0.10.0-7 - OCaml 5.5.0 rebuild - Use the topkg declarative buildsystem - Update __ocaml_requires_opts for OCaml 5.5.0 * Thu Apr 16 2026 Jerry James - 0.10.0-6 - Rebuild for ocaml-lwt 6.1.1 * Fri Feb 27 2026 Richard W.M. Jones - 0.10.0-5 - Rebuild for OCaml 5.4.1 with aarch64 frame pointers fix * Fri Feb 20 2026 Richard W.M. Jones - 0.10.0-4 - OCaml 5.4.1 rebuild * Fri Jan 16 2026 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Jan 13 2026 Jerry James - 0.10.0-2 - Reflow the description text * Fri Nov 14 2025 Jerry James - 0.10.0-1 - Version 0.10.0 * Tue Oct 14 2025 Richard W.M. Jones - 0.9.0-4 - OCaml 5.4.0 rebuild * Mon Aug 25 2025 Jerry James - 0.9.0-3 - Rebuild for ocaml-fmt 0.11.0 * Thu Jul 24 2025 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat Jul 12 2025 Jerry James - 0.9.0-1 - Version 0.9.0 * Tue Mar 18 2025 Jerry James - 0.8.0-1 - Version 0.8.0 - Drop all patches and workarounds * Mon Mar 10 2025 Jerry James - 0.7.0-26 - Rebuild for ocaml-fmt 0.10.0 * Fri Jan 17 2025 Fedora Release Engineering - 0.7.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jan 9 2025 Jerry James - 0.7.0-24 - OCaml 5.3.0 rebuild for Fedora 42 * Tue Oct 08 2024 Richard W.M. Jones - 0.7.0-23 - Rebuild for ocaml-lwt 5.8.0 * Thu Sep 12 2024 Jerry James - 0.7.0-22 - Rebuild for ocaml-mtime 2.1.0 * Thu Jul 18 2024 Fedora Release Engineering - 0.7.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jun 19 2024 Richard W.M. Jones - 0.7.0-20 - OCaml 5.2.0 ppc64le fix * Wed May 29 2024 Richard W.M. Jones - 0.7.0-19 - OCaml 5.2.0 for Fedora 41 * Mon Jan 29 2024 Richard W.M. Jones - 0.7.0-18 - Bump and rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.7.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.7.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Richard W.M. Jones - 0.7.0-15 - OCaml 5.1.1 + s390x code gen fix for Fedora 40 * Tue Dec 12 2023 Richard W.M. Jones - 0.7.0-14 - OCaml 5.1.1 rebuild for Fedora 40 * Thu Oct 05 2023 Richard W.M. Jones - 0.7.0-13 - OCaml 5.1 rebuild for Fedora 40 * Wed Oct 4 2023 Jerry James - 0.7.0-12 - Add patch to fix building tests with OCaml 5.1.0 * Thu Jul 20 2023 Fedora Release Engineering - 0.7.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Richard W.M. Jones - 0.7.0-11 - OCaml 5.0 rebuild for Fedora 39 * Mon Jul 10 2023 Jerry James - 0.7.0-10 - OCaml 5.0.0 rebuild - Add patch to adapt to ocaml-mtime 2.0.0 * Tue Jan 24 2023 Richard W.M. Jones - 0.7.0-9 - Rebuild OCaml packages for F38 * Thu Jan 19 2023 Fedora Release Engineering - 0.7.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Sep 20 2022 Jerry James - 0.7.0-7 - Rebuild for ocaml-cmdliner 1.1.1 * Thu Aug 18 2022 Jerry James - 0.7.0-6 - Rebuild for ocaml-lwt 5.6.1 - Add patch to fix the tests * Fri Jul 22 2022 Fedora Release Engineering - 0.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Jerry James - 0.7.0-4 - Use new OCaml macros * Sat Jun 18 2022 Richard W.M. Jones - 0.7.0-4 - OCaml 4.14.0 rebuild * Fri Feb 04 2022 Richard W.M. Jones - 0.7.0-3 - OCaml 4.13.1 rebuild to remove package notes * Thu Jan 20 2022 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 6 2021 Jerry James - 0.7.0-1 - Initial RPM ## END: Generated by rpmautospec