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-gettext] rawhide: OCaml 5.5.0 rebuild
Date: Fri, 10 Jul 2026 02:02:40 GMT	[thread overview]
Message-ID: <178364896057.1.14024236401746563605.rpms-ocaml-gettext-0a273673b6e0@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ocaml-gettext
            Branch : rawhide
            Commit : 0a273673b6e07efb929802150444e1ea1763e944
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T20:02:19-06:00
            Stats  : +10/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-gettext/c/0a273673b6e07efb929802150444e1ea1763e944?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the dune declarative buildsystem

---
diff --git a/ocaml-gettext.spec b/ocaml-gettext.spec
index f3a42d7..ff95822 100644
--- a/ocaml-gettext.spec
+++ b/ocaml-gettext.spec
@@ -12,7 +12,7 @@ ExcludeArch: %{ix86}
 
 Name:           ocaml-gettext
 Version:        0.5.0
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        OCaml library for i18n
 
 License:        LGPL-2.1-or-later with OCaml-LGPL-linking-exception
@@ -31,6 +31,9 @@ Patch:          https://github.com/gildor478/ocaml-gettext/pull/37.patch
 # https://github.com/gildor478/ocaml-gettext/pull/41
 Patch:          0001-xgettext-Fix-type-for-OCaml-5.4.patch
 
+BuildSystem:    dune
+BuildOption(install): -s
+
 BuildRequires:  ocaml >= 4.03.0
 BuildRequires:  ocaml-fileutils-devel >= 0.6.6-1
 BuildRequires:  ocaml-dune >= 1.11.0
@@ -40,8 +43,6 @@ BuildRequires:  ocaml-cppo
 # needed to run the tests.
 # https://github.com/gildor478/ocaml-gettext/issues/35
 #BuildRequires: ocaml-seq-devel
-BuildRequires:  docbook-style-xsl
-BuildRequires:  libxslt
 BuildRequires:  libxml2
 %if %{with tests}
 BuildRequires:  ocaml-ounit-devel
@@ -122,19 +123,14 @@ awk -i inplace -v RS='^\\(package' -v ORS= \
 %endif
 
 
-%build
-%dune_build
-
-
-%install
-%dune_install -s
+%install -a
 sed -i '\@%{_bindir}@d;\@%{_mandir}@d' .ofiles-gettext
 cat .ofiles-gettext-stub >> .ofiles-gettext
 cat .ofiles-gettext-stub-devel >> .ofiles-gettext-devel
 
 
-%if %{with tests}
 %check
+%if %{with tests}
 %dune_check
 %endif
 
@@ -163,6 +159,10 @@ cat .ofiles-gettext-stub-devel >> .ofiles-gettext-devel
 
 
 %changelog
+* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 0.5.0-10
+- OCaml 5.5.0 rebuild
+- Use the dune declarative buildsystem
+
 * Fri Feb 20 2026 Richard W.M. Jones <rjones@redhat.com> - 0.5.0-9
 - OCaml 5.4.1 rebuild
 

                 reply	other threads:[~2026-07-10  2:02 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=178364896057.1.14024236401746563605.rpms-ocaml-gettext-0a273673b6e0@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