public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-uucd] rawhide: Test with ocaml-b0
@ 2026-08-07 18:05 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-08-07 18:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ocaml-uucd
Branch : rawhide
Commit : 19b4e7cb8a7c1c5028cd1b975eec934e0c2144c6
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-08-07T12:04:55-06:00
Stats : +11/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-uucd/c/19b4e7cb8a7c1c5028cd1b975eec934e0c2144c6?branch=rawhide
Log:
Test with ocaml-b0
---
diff --git a/.gitignore b/.gitignore
index 4b0b69b..05a835a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/uucd-*.tbz
+/ucd.all.grouped.zip
diff --git a/ocaml-uucd.spec b/ocaml-uucd.spec
index 4d3e8a0..5afd4f6 100644
--- a/ocaml-uucd.spec
+++ b/ocaml-uucd.spec
@@ -11,6 +11,9 @@ License: ISC
URL: https://erratique.ch/software/uucd
VCS: git:https://erratique.ch/repos/uucd.git
Source: %{url}/releases/uucd-%{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}
@@ -20,6 +23,7 @@ BuildOption(build): --dev-pkg false
BuildOption(build): --tests true
BuildRequires: ocaml >= 4.08.0
+BuildRequires: ocaml-b0-devel
BuildRequires: ocaml-compiler-libs
BuildRequires: ocaml-findlib
BuildRequires: ocaml-ocamlbuild
@@ -48,6 +52,11 @@ developing applications that use %{name}.
%prep
%autosetup -n uucd-%{version}
+unzip -d test %{SOURCE1}
+mv test/ucd.all.grouped.xml test/ucd.xml
+
+%check
+b0 test
%files -f .ofiles
%license LICENSE.md
diff --git a/sources b/sources
index 8d67e48..7a9b4fc 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
SHA512 (uucd-17.0.0.tbz) = adcbf252bdb1851221b226b086f58d9c73b78ffa4fbfe02d98e8f8203e10d4f0d6d26f6a624a16cf9cff5f7043a26ebdf6fef5980ab7b24e48f35ff87a92f3a4
+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 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 18:05 [rpms/ocaml-uucd] rawhide: Test with ocaml-b0 Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox