From 3c71d95c45e11cbaf27407f542fa87a9f3d92b5bfc048f3ed705963846a07114 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 25 May 2016 11:56:53 +0000 Subject: [PATCH] filellist OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-curses?expand=0&rev=6 --- ocaml-curses.spec | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/ocaml-curses.spec b/ocaml-curses.spec index f018882..4b9d5ea 100644 --- a/ocaml-curses.spec +++ b/ocaml-curses.spec @@ -69,7 +69,10 @@ autoreconf %build # Parallel builds don't work (with bytecode) %configure --enable-widec -make all opt +make all +%if %{ocaml_native_compiler} +make opt +%endif %install @@ -88,24 +91,24 @@ ocamlfind install $OCAMLFILES %files %defattr(-,root,root,-) %doc COPYING -%{_libdir}/ocaml/curses -%if %{ocaml_native_compiler} -%exclude %{_libdir}/ocaml/curses/*.a -%exclude %{_libdir}/ocaml/curses/*.cmxa -%exclude %{_libdir}/ocaml/curses/*.cmx -%endif -%exclude %{_libdir}/ocaml/curses/*.mli -%{_libdir}/ocaml/stublibs/*.so -%{_libdir}/ocaml/stublibs/*.so.owner +%dir %{_libdir}/ocaml +%dir %{_libdir}/ocaml/* +%{_libdir}/ocaml/*/*.so +%{_libdir}/ocaml/*/*.so.owner %files devel %defattr(-,root,root,-) %doc COPYING +%dir %{_libdir}/ocaml +%dir %{_libdir}/ocaml/* +%{_libdir}/ocaml/*/*.a %if %{ocaml_native_compiler} -%{_libdir}/ocaml/curses/*.a -%{_libdir}/ocaml/curses/*.cmxa -%{_libdir}/ocaml/curses/*.cmx +%{_libdir}/ocaml/*/*.cmx +%{_libdir}/ocaml/*/*.cmxa %endif -%{_libdir}/ocaml/curses/*.mli +%{_libdir}/ocaml/*/*.cma +%{_libdir}/ocaml/*/*.cmi +%{_libdir}/ocaml/*/*.mli +%{_libdir}/ocaml/*/META %changelog