The package rpms/ocaml-findlib.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/ocaml-findlib.git/commit/?id=cd5d....
Change:
+%ifarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit cd5ddbb0b64ed8aae0a46a91c21703732e36f9e1
Author: Richard W.M. Jones <rjones(a)redhat.com>
Date: Fri Sep 22 10:53:37 2017 +0100
Enable stripping and debuginfo on s390x.
Use ocaml_native_compiler macro instead of opt test.
diff --git a/ocaml-findlib.spec b/ocaml-findlib.spec
index 5eb2b5b..2dd807e 100644
--- a/ocaml-findlib.spec
+++ b/ocaml-findlib.spec
@@ -1,16 +1,6 @@
-%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-# On s/390x, ocamlfind is still built using -custom option, so it must
-# not be stripped. See:
-#
https://fedoraproject.org/wiki/Packaging:OCaml?rd=Packaging/OCaml#Strippi...
-%if !%opt
-%global __strip /bin/true
-%global debug_package %{nil}
-%endif
-
-
Name: ocaml-findlib
Version: 1.7.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Objective CAML package manager and build helper
License: BSD
@@ -64,7 +54,7 @@ cat src/findlib/ocaml_args.ml
-mandir %{_mandir} \
-with-toolbox
make all
-%if %opt
+%ifarch %{ocaml_native_compiler}
make opt
%endif
rm doc/guide-html/TIMESTAMP
@@ -89,7 +79,7 @@ make install \
%{_libdir}/ocaml/*/META
%{_libdir}/ocaml/topfind
%{_libdir}/ocaml/findlib
-%if %opt
+%ifarch %{ocaml_native_compiler}
%exclude %{_libdir}/ocaml/findlib/*.a
%exclude %{_libdir}/ocaml/findlib/*.cmxa
%endif
@@ -102,7 +92,7 @@ make install \
%files devel
%doc LICENSE doc/README doc/guide-html
-%if %opt
+%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/findlib/*.a
%{_libdir}/ocaml/findlib/*.cmxa
%endif
@@ -111,6 +101,10 @@ make install \
%changelog
+* Fri Sep 22 2017 Richard W.M. Jones <rjones(a)redhat.com> - 1.7.3-6
+- Enable stripping and debuginfo on s390x.
+- Use ocaml_native_compiler macro instead of opt test.
+
* Mon Aug 07 2017 Richard W.M. Jones <rjones(a)redhat.com> - 1.7.3-5
- OCaml 4.05.0 rebuild.