From 7c44be72bc252523908ff643eb9d3f4ff015ce1c2eff07b873c61701498060f0 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 24 May 2016 06:18:35 +0000 Subject: [PATCH] wildcard filelist OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=45 --- ocaml-findlib.spec | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec index d88135f..1a1dbd4 100644 --- a/ocaml-findlib.spec +++ b/ocaml-findlib.spec @@ -96,37 +96,31 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild %config(noreplace) %{_sysconfdir}/ocamlfind.conf %{_bindir}/* %{_mandir}/man?/* -%{_libdir}/ocaml/bigarray -%{_libdir}/ocaml/bytes -%{_libdir}/ocaml/camlp4 -%{_libdir}/ocaml/compiler-libs -%{_libdir}/ocaml/dynlink -%{_libdir}/ocaml/findlib -%{_libdir}/ocaml/graphics -%{_libdir}/ocaml/labltk -%{_libdir}/ocaml/num -%{_libdir}/ocaml/ocamldoc -%{_libdir}/ocaml/stdlib -%{_libdir}/ocaml/str -%{_libdir}/ocaml/threads +%{_libdir}/ocaml/*/make_wizard +%{_libdir}/ocaml/*/make_wizard.pattern %{_libdir}/ocaml/topfind -%{_libdir}/ocaml/unix +# +%dir %{_libdir}/ocaml/* %if %{ocaml_native_compiler} -%exclude %{_libdir}/ocaml/findlib/*.a -%exclude %{_libdir}/ocaml/findlib/*.cmxa +#{_libdir}/ocaml/*/*.cmx +%{_libdir}/ocaml/*/*.cmxs %endif -%exclude %{_libdir}/ocaml/findlib/*.mli -%exclude %{_libdir}/ocaml/findlib/Makefile.config -%{_libdir}/ocaml/num-top +%{_libdir}/ocaml/*/*.mli %files devel %defattr(-,root,root,-) %doc LICENSE doc/README doc/guide-html +%{_libdir}/ocaml/*/Makefile.config +# +%dir %{_libdir}/ocaml/* +%{_libdir}/ocaml/*/META %if %{ocaml_native_compiler} -%{_libdir}/ocaml/findlib/*.a -%{_libdir}/ocaml/findlib/*.cmxa +%{_libdir}/ocaml/*/*.a +%{_libdir}/ocaml/*/*.cma +%{_libdir}/ocaml/*/*.cmxa +#{_libdir}/ocaml/*/*.o %endif -%{_libdir}/ocaml/findlib/*.mli -%{_libdir}/ocaml/findlib/Makefile.config +%{_libdir}/ocaml/*/*.cmi +#{_libdir}/ocaml/*/*.cmo %changelog