]> git.pld-linux.org Git - packages/ocaml-num.git/commitdiff
- fix non-opt bild
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Mar 2021 19:04:43 +0000 (21:04 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Mar 2021 19:04:43 +0000 (21:04 +0200)
ocaml-num.spec

index bc6dc3557fc315b0ab6040cae1ff35616e722ab0..628780af9db142082439522000bc3845912119cb 100644 (file)
@@ -49,12 +49,20 @@ developing applications that use %{name}.
 %setup -q -n num-%{version}
 
 %build
-%{__make} %{?_smp_mflags} all
+%{__make} all \
+%if %{without ocaml_opt}
+       BNG_ARCH=generic \
+       ARCH=none
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+%if %{without ocaml_opt}
+       BNG_ARCH=generic \
+       ARCH=none \
+%endif
        DESTDIR=$RPM_BUILD_ROOT \
        OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
 
@@ -80,8 +88,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/*.cmi
 %{_libdir}/ocaml/*.cmti
 %{_libdir}/ocaml/*.mli
+%{_libdir}/ocaml/libnums.a
 %if %{with ocaml_opt}
-%{_libdir}/ocaml/*.[ao]
 %{_libdir}/ocaml/*.cmx
 %{_libdir}/ocaml/*.cmxa
 %endif
This page took 0.076678 seconds and 4 git commands to generate.