Olaf Hering 2016-05-26 07:40:07 +00:00 committed by Git OBS Bridge
parent 3c71d95c45
commit 0d83a0583a

View File

@ -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