public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-ocamlgraph] rawhide: OCaml 5.5.0 rebuild
@ 2026-07-09 20:07 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-09 20:07 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-09 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-09 20:07 [rpms/ocaml-ocamlgraph] 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