public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-mdx] rawhide: Version 2.7.0
@ 2026-10-06 16:50 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-10-06 16:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/ocaml-mdx
            Branch : rawhide
            Commit : 567c5fe52b35dc697f9a1fafa292497673527afe
            Author : Jerry James <loganjerry@gmail.com>
            Date   : 2026-10-06T10:50:28-06:00
            Stats  : +2/-29 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/ocaml-mdx/c/567c5fe52b35dc697f9a1fafa292497673527afe?branch=rawhide

            Log:
            Version 2.7.0

- Drop upstreamed dune 3.24 patch

---
diff --git a/ocaml-mdx-dune-3.24.patch b/ocaml-mdx-dune-3.24.patch
deleted file mode 100644
index 13719ba..0000000
--- a/ocaml-mdx-dune-3.24.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- mdx-2.5.2/bin/dune_gen.ml.orig	2026-03-23 09:36:09.000000000 -0600
-+++ mdx-2.5.2/bin/dune_gen.ml	2026-07-09 08:52:46.209310440 -0600
-@@ -34,7 +34,7 @@ let run (`Setup ()) (`Prelude prelude) (
-   in
- 
-   let pp_prelude ppf (env, filename) =
--    Fmt.pf ppf "(%a, %S)" pp_env env filename
-+    Fmt.pf ppf "(%a, %S)" pp_env env (Filename.basename filename)
-   in
- 
-   let pp_preludes ppf preludes =
---- mdx-2.5.2/bin/pp.ml.orig	2026-03-23 09:36:09.000000000 -0600
-+++ mdx-2.5.2/bin/pp.ml	2026-07-09 08:40:43.625271270 -0600
-@@ -30,7 +30,10 @@ let vpad_of_lines t =
-   in
-   aux 0 t
- 
--let pp_line_directive ppf (file, line) = Fmt.pf ppf "#%d %S" line file
-+let pp_line_directive ppf (file, line) =
-+  let len = String.length file in
-+  let fixedfile = if String.starts_with ~prefix:"./" file then String.sub file 2 (len - 2) else file in
-+  Fmt.pf ppf "#%d %S" line fixedfile
- 
- let rec add_semi_semi = function
-   | [] -> []

diff --git a/ocaml-mdx.spec b/ocaml-mdx.spec
index 4674f76..11b4905 100644
--- a/ocaml-mdx.spec
+++ b/ocaml-mdx.spec
@@ -1,7 +1,7 @@
 %global giturl  https://github.com/realworldocaml/mdx
 
 Name:           ocaml-mdx
-Version:        2.6.0
+Version:        2.7.0
 Release:        %autorelease
 Summary:        Executable code blocks inside markdown files
 
@@ -9,8 +9,6 @@ License:        ISC
 URL:            https://realworldocaml.github.io/mdx/
 VCS:            git:%{giturl}.git
 Source:         %{giturl}/releases/download/%{version}/mdx-%{version}.tbz
-# Adapt to pathname changes in dune 3.24
-Patch:          %{name}-dune-3.24.patch
 
 # OCaml packages not built on i686 since OCaml 5 / Fedora 39.
 ExcludeArch:    %{ix86}

diff --git a/sources b/sources
index edc5d81..a58d83b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mdx-2.6.0.tbz) = 9c5c26abfb5437aa89dff4c2f24c68e788d9d564a0210d5fa0857a259e50c82e0cf642e24c8bbb1f25f6bb04287cdb369f135220172478c7dd02429a5879410b
+SHA512 (mdx-2.7.0.tbz) = 261d731b32e2faa1f3db54fbe463a03b80a12b56f218a5786980f93e80b93bca8b46a85bf6bacb3cc45e2d5bf94a29003677ae7f73dd6fc0164ca5a88337c697

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

only message in thread, other threads:[~2026-10-06 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 16:50 [rpms/ocaml-mdx] rawhide: Version 2.7.0 Jerry James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox