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

            A new commit has been pushed.

            Repo   : rpms/ocaml-uuseg
            Branch : rawhide
            Commit : b6dd92e39961ab70831659afe8f0d539d5ef4496
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T15:28:50-06:00
            Stats  : +6/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-uuseg/c/b6dd92e39961ab70831659afe8f0d539d5ef4496?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the topkg declarative buildsystem

---
diff --git a/ocaml-uuseg.spec b/ocaml-uuseg.spec
index 4aaebbe..1be131f 100644
--- a/ocaml-uuseg.spec
+++ b/ocaml-uuseg.spec
@@ -15,6 +15,12 @@ Source:         %{url}/releases/uuseg-%{version}.tbz
 # OCaml packages not built on i686 since OCaml 5 / Fedora 39.
 ExcludeArch:    %{ix86}
 
+BuildSystem:    topkg
+BuildOption(build): --dev-pkg false
+BuildOption(build): --with-uutf true
+BuildOption(build): --with-cmdliner true
+BuildOption(build): --tests true
+
 BuildRequires:  ocaml >= 4.14.0
 BuildRequires:  ocaml-cmdliner-devel >= 1.1.0
 BuildRequires:  ocaml-compiler-libs
@@ -55,17 +61,6 @@ developing applications that use %{name}.
 # Files needed for the tests
 cp -p %{_datadir}/unicode/ucd/auxiliary/*BreakTest.txt test
 
-%build
-# Build the library and the tests
-ocaml pkg/pkg.ml build --dev-pkg false --with-uutf true --with-cmdliner true \
-  --tests true
-
-%install
-%ocaml_install
-
-%check
-ocaml pkg/pkg.ml test
-
 %files -f .ofiles
 %license LICENSE.md
 %doc CHANGES.md README.md

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

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

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