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-obuild] rawhide: OCaml 5.5.0 rebuild
Date: Thu, 09 Jul 2026 17:09:55 GMT [thread overview]
Message-ID: <178361699534.1.13310147085173277031.rpms-ocaml-obuild-9ae4c6b04497@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ocaml-obuild
Branch : rawhide
Commit : 9ae4c6b04497debaba0cd3dfd7fce1ce1cde5e78
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-07-09T11:09:43-06:00
Stats : +15/-43 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-obuild/c/9ae4c6b04497debaba0cd3dfd7fce1ce1cde5e78?branch=rawhide
Log:
OCaml 5.5.0 rebuild
- Version 0.2.2
- Drop upstreamed partial function patch
---
diff --git a/.gitignore b/.gitignore
index 15dc8d9..93a866f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/ocaml-obuild-0.1.10.tar.gz
/obuild-58459992ee9b3d56f09f6ff3dd434a52657b836c.tar.gz
/obuild-v0.1.11.tar.gz
+/obuild-v0.2.2.tar.gz
diff --git a/ocaml-obuild-partial.patch b/ocaml-obuild-partial.patch
deleted file mode 100644
index c536b3c..0000000
--- a/ocaml-obuild-partial.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fixes this warning:
-
-File "utils.ml", line 70, characters 23-73:
-70 | try let _ = List.find (fun n -> Filesystem.exists (n p)) names in true
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Warning 5 [ignored-partial-application]: this function application is partial,
-maybe some arguments are missing.
-
---- a/obuild/utils.ml 2023-01-15 04:16:15.000000000 -0700
-+++ b/obuild/utils.ml 2023-06-27 16:39:28.041858508 -0600
-@@ -67,10 +67,10 @@ let find_in_paths paths name =
-
- let find_choice_in_paths paths names =
- try List.find (fun p ->
-- try let _ = List.find (fun n -> Filesystem.exists (n p)) names in true
-+ try let _ = List.find (fun n -> Filesystem.exists (p </> n)) names in true
- with Not_found -> false
- ) paths
-- with Not_found -> raise (FilesNotFoundInPaths (paths, (List.map (fun n -> n (List.hd paths)) names)))
-+ with Not_found -> raise (FilesNotFoundInPaths (paths, (List.map (fun n -> (List.hd paths) </> n) names)))
-
- let exist_choice_in_paths paths names =
- try let _ = find_choice_in_paths paths names in true
diff --git a/ocaml-obuild.spec b/ocaml-obuild.spec
index a543f9a..0b384b0 100644
--- a/ocaml-obuild.spec
+++ b/ocaml-obuild.spec
@@ -5,20 +5,16 @@ ExcludeArch: %{ix86}
%global debug_package %{nil}
Name: ocaml-obuild
-Version: 0.1.11
+Version: 0.2.2
Summary: Simple package build system for OCaml
%forgemeta
-Release: 11%{?dist}
+Release: 1%{?dist}
License: BSD-2-Clause
URL: https://github.com/ocaml-obuild/obuild
VCS: git:%{url}.git
-Source0: %{url}/archive/obuild-v%{version}.tar.gz
-
-# Fix a partial function application
-# https://github.com/ocaml-obuild/obuild/issues/187
-Patch0: %{name}-partial.patch
+Source: %{url}/archive/v%{version}/obuild-v%{version}.tar.gz
BuildRequires: ocaml
BuildRequires: ocaml-findlib
@@ -40,7 +36,7 @@ way of working, adapting parts where necessary to fully support OCaml.
%prep
-%autosetup -p1 -n obuild-obuild-v%{version}
+%autosetup -p1 -n obuild-%{version}
%build
@@ -49,9 +45,9 @@ way of working, adapting parts where necessary to fully support OCaml.
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}
-cp "dist/build/obuild/obuild" "dist/build/obuild-simple/obuild-simple" "$RPM_BUILD_ROOT%{_bindir}"
+cp dist/build/obuild/obuild "$RPM_BUILD_ROOT%{_bindir}"
-# generate manpages
+# generate manpage
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
help2man \
--output "$RPM_BUILD_ROOT%{_mandir}/man1/obuild.1" \
@@ -60,23 +56,21 @@ help2man \
--no-discard-stderr \
--no-info \
dist/build/obuild/obuild
-help2man \
- --output "$RPM_BUILD_ROOT%{_mandir}/man1/obuild-simple.1" \
- --name "simple package build system for OCaml" \
- --version-string " " \
- --no-discard-stderr \
- --no-info \
- dist/build/obuild-simple/obuild-simple
%files
%doc README.md OBUILD_SPEC.md DESIGN.md
%license LICENSE
-%{_bindir}/obuild*
-%{_mandir}/man1/obuild*.1*
+%{_bindir}/obuild
+%{_mandir}/man1/obuild.1*
%changelog
+* Thu Jul 09 2026 Jerry James <loganjerry@gmail.com> - 0.2.2-1
+- OCaml 5.5.0 rebuild
+- Version 0.2.2
+- Drop upstreamed partial function patch
+
* Fri Feb 20 2026 Richard W.M. Jones <rjones@redhat.com> - 0.1.11-11
- OCaml 5.4.1 rebuild
diff --git a/sources b/sources
index 0980c01..4f1d353 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (obuild-v0.1.11.tar.gz) = 855f47e31bebacb2adcd0ed31e9d50f1f4803f91828afc192d306dc2cc28adc18dd91d0bf40f8ef814ac85822a20db16dce87a0bd6edf0ff9037b8dc039abff3
+SHA512 (obuild-v0.2.2.tar.gz) = de12f39b3774e0f5575c9beef1d41102aaec3dd2471cc67e4df67426fb0a92df8c7cc7f9115af0351906101d168f14bba9b6e088db991e5fb498b57dc74a47b1
reply other threads:[~2026-07-09 17:09 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=178361699534.1.13310147085173277031.rpms-ocaml-obuild-9ae4c6b04497@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