public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ocaml-logs] rawhide: OCaml 5.5.0 rebuild
Date: Thu, 09 Jul 2026 22:57:56 GMT	[thread overview]
Message-ID: <178363787617.1.15712331228042639308.rpms-ocaml-logs-47230bb58463@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ocaml-logs
            Branch : rawhide
            Commit : 47230bb58463ba918bd792129afc4f88fec81a42
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T16:57:33-06:00
            Stats  : +10/-17 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-logs/c/47230bb58463ba918bd792129afc4f88fec81a42?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the topkg declarative buildsystem
- Update __ocaml_requires_opts for OCaml 5.5.0

---
diff --git a/ocaml-logs.spec b/ocaml-logs.spec
index 63b162a..8f91209 100644
--- a/ocaml-logs.spec
+++ b/ocaml-logs.spec
@@ -15,6 +15,15 @@ Source:         %{url}/releases/logs-%{version}.tbz
 # 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-cmdliner-devel >= 1.3.0
 BuildRequires:  ocaml-compiler-libs
@@ -27,7 +36,7 @@ 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 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
+%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
@@ -51,22 +60,6 @@ developing applications that use %{name}.
 %prep
 %autosetup -n logs-%{version} -p1
 
-%build
-ocaml pkg/pkg.ml build \
-  --dev-pkg false \
-  --tests true \
-  --with-js_of_ocaml-compiler false \
-  --with-fmt true \
-  --with-cmdliner true \
-  --with-lwt true \
-  --with-base-threads true
-
-%install
-%ocaml_install
-
-%check
-ocaml pkg/pkg.ml test
-
 %files -f .ofiles
 %doc CHANGES.md README.md
 %license LICENSE.md

                 reply	other threads:[~2026-07-09 22:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178363787617.1.15712331228042639308.rpms-ocaml-logs-47230bb58463@fedoraproject.org \
    --to=loganjerry@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox