public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ocaml-uunf] rawhide: OCaml 5.5.0 rebuild
Date: Thu, 09 Jul 2026 20:33:00 GMT	[thread overview]
Message-ID: <178362918004.1.1618134394184773310.rpms-ocaml-uunf-6d0578c29b15@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-09 20:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178362918004.1.1618134394184773310.rpms-ocaml-uunf-6d0578c29b15@fedoraproject.org \
    --to=loganjerry@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox