From b81ea517da23dd037bc0b7b49be3cfc456ccf8c5 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Oct 06 2023 10:34:29 +0000 Subject: Revert "Update names of the Unix and Camlstr libraries for OCaml 5.1.0" This reverts commit 67766db26bee1b61371277ebcadfa2e0e051d426. RWMJ: Will be replaced by an upstream patch --- diff --git a/libguestfs.spec b/libguestfs.spec index d1c097f..e723ddd 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -696,17 +696,6 @@ for %{name}. %setup -q %autopatch -p1 -# The names of the Unix and Camlstr libraries changed in OCaml 5.1.0, and -# linking with libzstd is now necessary -%if 0%{?fedora} > 39 -sed -i 's/-ldl/& -lzstd/' daemon/Makefile.am -%ifarch %{ocaml_native_compiler} -sed -ri 's/-l(camlstr|unix)/&nat/' daemon/Makefile.am -%else -sed -ri 's/-l(camlstr|unix)/&byt/' daemon/Makefile.am -%endif -%endif - %if 0%{patches_touch_autotools} autoreconf -i %endif