public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-uucp] rawhide: Test with ocaml-b0 and ocaml-uucd
@ 2026-08-07 19:36 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-08-07 19:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ocaml-uucp
Branch : rawhide
Commit : 29bc2b5c8788c7f25a886cfc9749aa47ae4c4b13
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-08-07T13:36:25-06:00
Stats  : +13/-1 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/ocaml-uucp/c/29bc2b5c8788c7f25a886cfc9749aa47ae4c4b13?branch=rawhide

Log:
Test with ocaml-b0 and ocaml-uucd

---
diff --git a/.gitignore b/.gitignore
index 225d2af..3357907 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /uucp-*.tbz
+/ucd.all.grouped.zip

diff --git a/ocaml-uucp.spec b/ocaml-uucp.spec
index 481dce2..d4d983f 100644
--- a/ocaml-uucp.spec
+++ b/ocaml-uucp.spec
@@ -11,6 +11,9 @@ License:        ISC
 URL:            https://erratique.ch/software/uucp
 VCS:            git:https://erratique.ch/repos/uucp.git
 Source:         %{url}/releases/uucp-%{version}.tbz
+# Unicode character database, used by the tests
+# See B0.ml for the supported Unicode version
+Source:         https://www.unicode.org/Public/17.0.0/ucdxml/ucd.all.grouped.zip
 
 # OCaml packages not built on i686 since OCaml 5 / Fedora 39.
 ExcludeArch:    %{ix86}
@@ -22,13 +25,15 @@ BuildOption(build): --with-cmdliner true
 BuildOption(build): --tests true
 
 BuildRequires:  ocaml >= 4.14.0
+BuildRequires:  ocaml-b0-devel
 BuildRequires:  ocaml-cmdliner-devel >= 1.1.0
 BuildRequires:  ocaml-compiler-libs
 BuildRequires:  ocaml-findlib
 BuildRequires:  ocaml-ocamlbuild
 BuildRequires:  ocaml-rpm-macros
 BuildRequires:  ocaml-topkg-devel >= 1.1.0
-BuildRequires:  ocaml-uunf-devel
+BuildRequires:  ocaml-uucd-devel >= 17.0.0
+BuildRequires:  ocaml-uunf-devel >= 17.0.0
 
 %description
 Uucp is an OCaml library providing efficient access to a selection of
@@ -48,6 +53,11 @@ developing applications that use %{name}.
 
 %prep
 %autosetup -n uucp-%{version}
+unzip -d support %{SOURCE1}
+mv support/ucd.all.grouped.xml support/ucd.xml
+
+%check
+b0 test
 
 %files -f .ofiles
 %license LICENSE.md

diff --git a/sources b/sources
index 0cf4c04..62f32d3 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 SHA512 (uucp-17.0.0.tbz) = c2b5c883c2ed1ee8e7bc9102339dfbca5940e68cd2af59a10abc827fb64c91ad03f85cfc12d4c79605c10e9b3a90743267af8b069143fefeeff6658ec8ed843f
+SHA512 (ucd.all.grouped.zip) = bfe632ab01d3ef4f91f97dcf69f770cf6e2906e5fa9a4199219875d7964d46e09aa0b06f50efe3792c41e546d08d4e087aec7ac4f0e78dabe9e72a96b30f8438

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 19:36 [rpms/ocaml-uucp] rawhide: Test with ocaml-b0 and ocaml-uucd Jerry James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox