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

            A new commit has been pushed.

            Repo   : rpms/ocaml-mysql
            Branch : rawhide
            Commit : aeb775ba9d6148c64fdc1dac929f582faabab0f9
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T11:04:42-06:00
            Stats  : +11/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-mysql/c/aeb775ba9d6148c64fdc1dac929f582faabab0f9?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- BR gpgverify instead of gnupg2

---
diff --git a/ocaml-mysql.spec b/ocaml-mysql.spec
index 695f79d..de67419 100644
--- a/ocaml-mysql.spec
+++ b/ocaml-mysql.spec
@@ -5,7 +5,7 @@ ExcludeArch: %{ix86}
 
 Name:           ocaml-mysql
 Version:        1.2.4
-Release:        21%{?dist}
+Release:        22%{?dist}
 Summary:        OCaml library for accessing MySQL databases
 License:        LGPL-2.1-or-later
 
@@ -20,11 +20,10 @@ Source2:        KEYS
 # https://github.com/ygrek/ocaml-mysql/pull/19
 Patch0:         %{name}-custom-fixed-length.patch
 
-BuildRequires:  gnupg2
+BuildRequires:  gpgverify
 BuildRequires:  make
 BuildRequires:  ocaml >= 3.10.0
 BuildRequires:  ocaml-findlib
-BuildRequires:  ocaml-ocamldoc
 BuildRequires:  ocaml-rpm-macros
 BuildRequires:  mariadb-connector-c-devel
 
@@ -51,6 +50,11 @@ developing applications that use %{name}.
 
 
 %build
+# The ocaml tools (ocamlc, ocamlopt, ocamlmklib) already have Fedora LDFLAGS
+# baked in. The Makefile passes LDFLAGS directly to ocamlmklib, without -ldopt,
+# which is an error with OCaml 5.5.  This is the only flag we need.
+export LDFLAGS=-g
+
 # Parallel builds of this package fail.
 unset MAKEFLAGS
 %configure
@@ -77,6 +81,10 @@ mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
 
 
 %changelog
+* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 1.2.4-22
+- OCaml 5.5.0 rebuild
+- BR gpgverify instead of gnupg2
+
 * Fri Feb 20 2026 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-21
 - OCaml 5.4.1 rebuild
 

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

only message in thread, other threads:[~2026-07-09 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 17:04 [rpms/ocaml-mysql] 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