public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-gettext] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-10  2:02 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-10  2:02 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-10  2:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-10  2:02 [rpms/ocaml-gettext] rawhide: OCaml 5.5.0 rebuild Jerry James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox