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-cairo] rawhide: OCaml 5.5.0 rebuild
Date: Thu, 09 Jul 2026 19:58:17 GMT	[thread overview]
Message-ID: <178362709701.1.12880094615375065294.rpms-ocaml-cairo-ab3ae9bec516@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ocaml-cairo
            Branch : rawhide
            Commit : ab3ae9bec51689bd29438a5832103ba8e64a1212
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T13:58:05-06:00
            Stats  : +9/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-cairo/c/ab3ae9bec51689bd29438a5832103ba8e64a1212?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the dune declarative buildsystem

---
diff --git a/ocaml-cairo.spec b/ocaml-cairo.spec
index 0a0481c..523356a 100644
--- a/ocaml-cairo.spec
+++ b/ocaml-cairo.spec
@@ -14,7 +14,7 @@ ExcludeArch: %{ix86}
 Name:           ocaml-cairo
 Epoch:          2
 Version:        0.6.5
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        OCaml library for accessing cairo graphics
 
 License:        LGPL-3.0-or-later WITH OCaml-LGPL-linking-exception
@@ -26,6 +26,9 @@ Source0:        %{url}/releases/download/%{version}/cairo2-%{version}.tbz
 # See https://github.com/Chris00/ocaml-cairo/issues/36
 Patch0:         https://github.com/Chris00/ocaml-cairo/pull/37.patch
 
+BuildSystem:    dune
+BuildOption(install): -s
+
 BuildRequires:  ocaml >= 4.03
 BuildRequires:  ocaml-dune >= 2.7.0
 BuildRequires:  ocaml-dune-configurator-devel >= 2.7.0
@@ -113,7 +116,7 @@ for developing applications that use %{name}-pango.
 %autosetup -n cairo2-%{version} -p1
 
 
-%build
+%build -p
 cairo_cflags="$(pkgconf --cflags cairo)"
 cairo_libs="$(pkgconf --libs cairo)"
 gtk_cflags="$(pkgconf --cflags gtk+-2.0)"
@@ -122,15 +125,6 @@ export CAIRO_CFLAGS="%{build_cflags} $cairo_cflags"
 export CAIRO_LIBS="%{build_ldflags} $cairo_libs"
 export GTK_CFLAGS="%{build_cflags} $gtk_cflags"
 export GTK_LIBS="%{build_ldflags} $gtk_libs"
-%dune_build
-
-
-%install
-%dune_install -s
-
-
-%check
-%dune_check
 
 
 %files -f .ofiles-cairo2
@@ -156,6 +150,10 @@ export GTK_LIBS="%{build_ldflags} $gtk_libs"
 
 
 %changelog
+* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 2:0.6.5-8
+- OCaml 5.5.0 rebuild
+- Use the dune declarative buildsystem
+
 * Fri Feb 20 2026 Richard W.M. Jones <rjones@redhat.com> - 2:0.6.5-7
 - OCaml 5.4.1 rebuild
 

                 reply	other threads:[~2026-07-09 19:58 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=178362709701.1.12880094615375065294.rpms-ocaml-cairo-ab3ae9bec516@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