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-cmdliner] rawhide: Rebuild for OCaml 5.5.0
Date: Thu, 09 Jul 2026 15:03:32 GMT	[thread overview]
Message-ID: <178360941240.1.16119204375763417934.rpms-ocaml-cmdliner-c6234ca3269a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ocaml-cmdliner
            Branch : rawhide
            Commit : c6234ca3269a30519ce6b7dab636af1f673e63ff
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-07-09T09:03:16-06:00
            Stats  : +37/-8 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-cmdliner/c/c6234ca3269a30519ce6b7dab636af1f673e63ff?branch=rawhide

            Log:
            Rebuild for OCaml 5.5.0

- New upstream version 2.1.1
- New tools subpackage
- Skip the tests, which now require b0

---
diff --git a/.gitignore b/.gitignore
index 10707bf..b1e1a97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /cmdliner-1.3.0.tbz
 /cmdliner-2.0.0.tbz
 /cmdliner-2.1.0.tbz
+/cmdliner-2.1.1.tbz

diff --git a/ocaml-cmdliner.spec b/ocaml-cmdliner.spec
index 0f863dc..2e0d0fe 100644
--- a/ocaml-cmdliner.spec
+++ b/ocaml-cmdliner.spec
@@ -6,7 +6,7 @@ ExcludeArch: %{ix86}
 %endif
 
 Name:           ocaml-cmdliner
-Version:        2.1.0
+Version:        2.1.1
 Release:        1%{?dist}
 Summary:        Declarative definition of command line interfaces for OCaml
 
@@ -15,8 +15,9 @@ URL:            https://erratique.ch/software/cmdliner
 VCS:            git:%{url}.git
 Source0:        %{url}/releases/cmdliner-%{version}.tbz
 
-BuildRequires:  ocaml
-BuildRequires:  ocaml-dune
+BuildRequires:  make
+BuildRequires:  ocaml >= 4.08.0
+BuildRequires:  ocaml-rpm-macros
 
 %description
 Cmdliner allows the declarative definition of command line
@@ -35,22 +36,36 @@ the ISC license.
 %package        devel
 Summary:        Development files for %{name}
 Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       %{name}-tools%{?_isa} = %{version}-%{release}
 
 %description    devel
 The %{name}-devel package contains libraries and signature files for
 developing applications that use %{name}.
 
+%package        tools
+Summary:        Installation tool for projects that use cmdliner
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    tools
+This package contains a helper for tools using the cmdliner command line
+interface library.  It helps with installing command line completion scripts
+and manpages.
+
 %prep
 %autosetup -n cmdliner-%{version}
 
 %build
-%dune_build
+%make_build
 
 %install
-%dune_install
+%make_install LIBDIR=%{buildroot}%{ocamldir}/cmdliner
+%ocaml_files
 
-%check
-%dune_check
+# We don't want powershell completions
+rm -fr %{buildroot}%{_datadir}/powershell
+
+# Remove entries for the tools subpackage
+sed -i '\@/usr/bin@d;/bash-completion/d;/powershell/d;/zsh/d' .ofiles
 
 %files -f .ofiles
 %license LICENSE.md
@@ -60,7 +75,20 @@ developing applications that use %{name}.
 %doc README.md CHANGES.md
 %license LICENSE.md
 
+%files tools
+%{_bindir}/cmdliner
+%{bash_completions_dir}/_cmdliner_generic
+%{bash_completions_dir}/cmdliner
+%{zsh_completions_dir}/_cmdliner
+%{zsh_completions_dir}/_cmdliner_generic
+
 %changelog
+* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 2.1.1-1
+- Rebuild for OCaml 5.5.0
+- New upstream version 2.1.1
+- New tools subpackage
+- Skip the tests, which now require b0
+
 * Thu Apr 16 2026 Jerry James <loganjerry@gmail.com> - 2.1.0-1
 - New upstream version 2.1.0
 

diff --git a/sources b/sources
index 645becb..5055871 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cmdliner-2.1.0.tbz) = 2ca8c9a2b392e031f88aa0e76f2ab50c8e9e28d77852d04ca2d5b62326630ca41567ce0832e9a9334d9b130b48deede66c7880a9d0aee75a1afe7541097e249f
+SHA512 (cmdliner-2.1.1.tbz) = cdc338ae2e56a72b7c75dae9564c57cca4e1fbfac454aabbf8303fcb612346284aede5984dfde7e8a7a496cc870bbd57ddf28cab3a38667279b31657f85c15dd

                 reply	other threads:[~2026-07-09 15:03 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=178360941240.1.16119204375763417934.rpms-ocaml-cmdliner-c6234ca3269a@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