[packages/ocaml-findlib] - fixed duplicate files - check-files cleanup wrt. graphics package

qboosh qboosh at pld-linux.org
Fri Sep 10 21:58:17 CEST 2021


commit e72d91e8e44064cc14eba7ae0972584792e2f0f1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Sep 10 22:02:53 2021 +0200

    - fixed duplicate files
    - check-files cleanup wrt. graphics package

 ocaml-findlib.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec
index c3e5345..5870757 100644
--- a/ocaml-findlib.spec
+++ b/ocaml-findlib.spec
@@ -96,6 +96,8 @@ rm -rf $RPM_BUILD_ROOT
 
 # now provided by ocaml-dbm.spec (might not exist if building without ocaml-dbm installed)
 %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/ocaml/dbm
+# now provided by ocaml-graphics
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/ocaml/graphics
 # now provided by ocaml-labltk.spec (might not exist if building without ocaml-labltk installed)
 %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk
 # now provided by ocaml-ocamlbuild.spec (might not exist if building without ocaml-ocamlbuild installed)
@@ -119,6 +121,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/ocaml/findlib/make_wizard
 %{_libdir}/ocaml/findlib/make_wizard.pattern
 %endif
+%{_libdir}/ocaml/findlib/META
 %{_libdir}/ocaml/findlib/Makefile.config
 %{_libdir}/ocaml/findlib/Makefile.packages
 %{_libdir}/ocaml/findlib/findlib.cma
@@ -129,7 +132,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/ocaml/findlib/findlib_dynload.cmxs
 %attr(755,root,root) %{_libdir}/ocaml/findlib/findlib_top.cmxs
 %endif
-%{_libdir}/ocaml/findlib
 # META files for base ocaml packages
 %{_libdir}/ocaml/bigarray
 %{_libdir}/ocaml/bytes
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-findlib.git/commitdiff/e72d91e8e44064cc14eba7ae0972584792e2f0f1



More information about the pld-cvs-commit mailing list