[packages/ocaml-cstruct] - fix install

baggins baggins at pld-linux.org
Fri Apr 24 23:34:11 CEST 2026


commit f9134e5e1122ccc5e9174386052779d9a99e5d37
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Apr 24 23:34:10 2026 +0200

    - fix install

 ocaml-cstruct.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ocaml-cstruct.spec b/ocaml-cstruct.spec
index 50a75e6..947f7df 100644
--- a/ocaml-cstruct.spec
+++ b/ocaml-cstruct.spec
@@ -261,7 +261,7 @@ dune install --destdir=$RPM_BUILD_ROOT
 # sources
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/{cstruct,cstruct-*,ppx_cstruct}/*.ml
 # packaged as %doc
-%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/{cstruct,cstruct-*,ppx_cstruct}
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/{cstruct,cstruct-*,ppx_cstruct}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-cstruct.git/commitdiff/f9134e5e1122ccc5e9174386052779d9a99e5d37



More information about the pld-cvs-commit mailing list