[packages/ocaml-core] - fix install

baggins baggins at pld-linux.org
Fri Apr 24 23:30:44 CEST 2026


commit 9cef008bd6165ad9b08facdaca4511c90b6b08b7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Apr 24 23:30:43 2026 +0200

    - fix install

 ocaml-core.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ocaml-core.spec b/ocaml-core.spec
index c34ab94..d872acd 100644
--- a/ocaml-core.spec
+++ b/ocaml-core.spec
@@ -86,7 +86,7 @@ dune install --destdir=$RPM_BUILD_ROOT
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/core/*.ml
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/core/*/*.ml
 # packaged as %doc
-%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/core
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/core
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-core.git/commitdiff/9cef008bd6165ad9b08facdaca4511c90b6b08b7



More information about the pld-cvs-commit mailing list