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

            A new commit has been pushed.

            Repo   : rpms/ocaml-uunf
            Branch : rawhide
            Commit : 6d0578c29b156e02d57fcffe7160d911558ea92e
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T14:32:44-06:00
            Stats  : +8/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-uunf/c/6d0578c29b156e02d57fcffe7160d911558ea92e?branch=rawhide

            Log:
            OCaml 5.5.0 rebuild

- Use the topkg declarative buildsystem

---
diff --git a/ocaml-uunf.spec b/ocaml-uunf.spec
index 441570d..f534c96 100644
--- a/ocaml-uunf.spec
+++ b/ocaml-uunf.spec
@@ -17,6 +17,12 @@ Source1:        https://www.unicode.org/Public/%{version}/ucd/NormalizationTest.
 # 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 false
+
 BuildRequires:  ocaml >= 4.14.0
 BuildRequires:  ocaml-cmdliner-devel >= 1.1.0
 BuildRequires:  ocaml-compiler-libs
@@ -24,7 +30,6 @@ BuildRequires:  ocaml-findlib
 BuildRequires:  ocaml-ocamlbuild
 BuildRequires:  ocaml-rpm-macros
 BuildRequires:  ocaml-topkg-devel >= 1.1.0
-BuildRequires:  ocaml-uucd-devel >= 17.0.0
 BuildRequires:  ocaml-uutf-devel >= 1.0.0
 
 %description
@@ -49,23 +54,13 @@ developing applications that use %{name}.
 %autosetup -n uunf-%{version} -p1
 cp -p %{SOURCE1} test
 
-%build
-ocaml pkg/pkg.ml build \
-  --dev-pkg false \
-  --with-uutf true \
-  --with-cmdliner true \
-  --tests false
-
-%install
-# Install the binary and library
-%ocaml_install
-
+%install -a
 # Generate the man page
 mkdir -p %{buildroot}%{_mandir}/man1
 %{buildroot}/%{_bindir}/unftrip --help=groff > %{buildroot}%{_mandir}/man1/unftrip.1
 
+%check
 # FIXME: The tests now require b0
-#%%check
 #ocaml pkg/pkg.ml test
 
 %files -f .ofiles

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

only message in thread, other threads:[~2026-07-09 20:33 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:33 [rpms/ocaml-uunf] 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