From 0d83a0583a3f0a4cb98fd6f6c8bcd3f343b7050e9d96b4267eb813582358cb82 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 26 May 2016 07:40:07 +0000 Subject: [PATCH] bytecode OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-curses?expand=0&rev=7 --- ocaml-curses.spec | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/ocaml-curses.spec b/ocaml-curses.spec index 4b9d5ea..970c1c2 100644 --- a/ocaml-curses.spec +++ b/ocaml-curses.spec @@ -34,7 +34,6 @@ BuildRequires: ncurses-devel BuildRequires: ocaml >= 4.00.1 BuildRequires: ocaml-rpm-macros >= 4.02.1 BuildRequires: ocaml-findlib-devel >= 1.3.3-3 -BuildRequires: ocaml(ocaml.opt) BuildRoot: %{_tmppath}/%{name}-%{version}-build # ocaml autodep start for pkg: ocaml-curses # hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires @@ -50,11 +49,6 @@ OCaml bindings for ncurses. Summary: Development files for %{name} Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} -# On aarch64, it is reported that ncurses-devel is not pulled in -# implicitly by ocaml (as is the case on x86-64 for some reason). In -# any case, it is likely that people installing ocaml-curses-devel -# will desire ncurses-devel, hence: -Requires: ncurses-devel %description devel The %{name}-devel package contains libraries and signature files for @@ -63,10 +57,9 @@ developing applications that use %{name}. %prep %setup -q -autoreconf - %build +autoreconf # Parallel builds don't work (with bytecode) %configure --enable-widec make all @@ -101,8 +94,8 @@ ocamlfind install $OCAMLFILES %doc COPYING %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* -%{_libdir}/ocaml/*/*.a %if %{ocaml_native_compiler} +%{_libdir}/ocaml/*/*.a %{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmxa %endif