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-astring] rawhide: OCaml 5.5.0 rebuild
Date: Thu, 09 Jul 2026 18:07:57 GMT	[thread overview]
Message-ID: <178362047744.1.17092503899660597573.rpms-ocaml-astring-4d119eaac734@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ocaml-astring
            Branch : rawhide
            Commit : 4d119eaac734a706700bac6efe2512788cfb2aa9
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T12:07:46-06:00
            Stats  : +10/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-astring/c/4d119eaac734a706700bac6efe2512788cfb2aa9?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-astring.spec b/ocaml-astring.spec
index afefebf..20b55e7 100644
--- a/ocaml-astring.spec
+++ b/ocaml-astring.spec
@@ -7,7 +7,7 @@ ExcludeArch: %{ix86}
 
 Name:           ocaml-astring
 Version:        0.8.5
-Release:        34%{?dist}
+Release:        35%{?dist}
 Summary:        Alternative String module for OCaml
 
 License:        ISC
@@ -19,6 +19,9 @@ Source:         https://github.com/dbuenzli/astring/archive/v%{version}/astring-
 # This affects x86_64, but not bytecode-only architectures.
 Patch:          %{name}-ocaml5.patch
 
+BuildSystem:    topkg
+BuildOption(build): --tests true
+
 BuildRequires:  ocaml >= 4.05.0
 BuildRequires:  ocaml-compiler-libs
 BuildRequires:  ocaml-findlib
@@ -27,7 +30,7 @@ BuildRequires:  ocaml-rpm-macros
 BuildRequires:  ocaml-topkg-devel
 
 # 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 Oprint -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Toploop -i Type_immediacy -i Types -i Unit_info -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 Oprint -i Outcometree -i Parsetree -i Path -i Primitive -i Shape -i Subst -i Toploop -i Type_immediacy -i Types -i Unit_info -i Warnings
 
 %description
 Astring exposes an alternative `String` module for OCaml.  This module tries
@@ -68,16 +71,6 @@ for fil in $(find . -type f); do
   rm $fil.orig
 done
 
-%build
-# Build the library and the tests
-ocaml pkg/pkg.ml build --tests true
-
-%install
-%ocaml_install
-
-%check
-ocaml pkg/pkg.ml test
-
 %files -f .ofiles
 %doc CHANGES.md README.md
 %license LICENSE.md
@@ -85,6 +78,11 @@ ocaml pkg/pkg.ml test
 %files devel -f .ofiles-devel
 
 %changelog
+* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 0.8.5-35
+- OCaml 5.5.0 rebuild
+- Use the topkg declarative buildsystem
+- Update __ocaml_requires_opts for OCaml 5.5.0
+
 * Fri Feb 27 2026 Richard W.M. Jones <rjones@redhat.com> - 0.8.5-34
 - Rebuild for OCaml 5.4.1 with aarch64 frame pointers fix
 

                 reply	other threads:[~2026-07-09 18:07 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=178362047744.1.17092503899660597573.rpms-ocaml-astring-4d119eaac734@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