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

            A new commit has been pushed.

            Repo   : rpms/ocaml-uutf
            Branch : rawhide
            Commit : 64df15d18b1af78301689a98ffcd0f592e43810c
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T13:41:16-06:00
            Stats  : +6/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-uutf/c/64df15d18b1af78301689a98ffcd0f592e43810c?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the topkg declarative buildsystem

---
diff --git a/ocaml-uutf.spec b/ocaml-uutf.spec
index ca64e72..00638f7 100644
--- a/ocaml-uutf.spec
+++ b/ocaml-uutf.spec
@@ -15,6 +15,11 @@ URL:            https://erratique.ch/software/uutf
 VCS:            git:https://erratique.ch/repos/uutf.git
 Source:         https://github.com/dbuenzli/uutf/archive/v%{version}/uutf-%{version}.tar.gz
 
+BuildSystem:    topkg
+BuildOption(build): --dev-pkg false
+BuildOption(build): --tests true
+BuildOption(build): --with-cmdliner true
+
 BuildRequires:  ocaml >= 4.08.0
 BuildRequires:  ocaml-cmdliner-devel >= 1.3.0
 BuildRequires:  ocaml-findlib
@@ -55,20 +60,11 @@ for fil in $(find . -type f); do
   rm $fil.orig
 done
 
-%build
-# Build the library and the tests
-ocaml pkg/pkg.ml build --dev-pkg false --tests true --with-cmdliner true
-
+%build -a
 # Build the documentation
 mkdir html
 ocamldoc -html -d html -I _build/src _build/src/uutf.mli
 
-%install
-%ocaml_install
-
-%check
-ocaml pkg/pkg.ml test
-
 %files -f .ofiles
 %doc CHANGES.md README.md
 %license LICENSE.md

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

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

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