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-ocamlgraph] rawhide: OCaml 5.5.0 rebuild
Date: Thu, 09 Jul 2026 20:07:13 GMT	[thread overview]
Message-ID: <178362763331.1.8321653749131363591.rpms-ocaml-ocamlgraph-7c460024ac78@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ocaml-ocamlgraph
            Branch : rawhide
            Commit : 7c460024ac78b6c2ca958c6a8687c4fdc89cfeca
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T14:06:57-06:00
            Stats  : +8/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-ocamlgraph/c/7c460024ac78b6c2ca958c6a8687c4fdc89cfeca?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the dune declarative buildsystem

---
diff --git a/ocaml-ocamlgraph.spec b/ocaml-ocamlgraph.spec
index 1bcc9b5..5c22f7f 100644
--- a/ocaml-ocamlgraph.spec
+++ b/ocaml-ocamlgraph.spec
@@ -1,6 +1,3 @@
-# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
-ExcludeArch: %{ix86}
-
 %global giturl  https://github.com/backtracking/ocamlgraph
 
 Name:           ocaml-ocamlgraph
@@ -13,6 +10,13 @@ URL:            https://backtracking.github.io/ocamlgraph/
 VCS:            git:%{giturl}.git
 Source:         %{giturl}/releases/download/%{version}/ocamlgraph-%{version}.tbz
 
+# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
+ExcludeArch:    %{ix86}
+
+BuildSystem:    dune
+BuildOption(build): @default editor
+BuildOption(install): -s
+
 BuildRequires:  ocaml >= 4.08.0
 BuildRequires:  ocaml-dune >= 2.0
 BuildRequires:  ocaml-graphics-devel
@@ -75,12 +79,7 @@ for fil in COPYING TODO.md; do
   mv -f $fil.utf8 $fil
 done
 
-%build
-%dune_build @default editor
-
-%install
-%dune_install -s
-
+%install -a
 # Install the graph editing tools
 mkdir -p %{buildroot}%{_bindir}
 install -m 0755 -p _build/default/editor/editor.exe \
@@ -94,9 +93,6 @@ install -m 0755 -p _build/default/dgraph/dGraphViewer.exe \
 install -m 0755 -p _build/default/view_graph/viewGraph_test.exe \
         %{buildroot}%{_bindir}/ocamlgraph-viewgraph
 
-%check
-%dune_check
-
 %files -f .ofiles-ocamlgraph
 %doc CREDITS FAQ
 %license COPYING LICENSE

                 reply	other threads:[~2026-07-09 20: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=178362763331.1.8321653749131363591.rpms-ocaml-ocamlgraph-7c460024ac78@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