The package rpms/ocaml-gsl.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-gsl.git/commit/?id=6f09e92f....
Change:
+%ifarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit 6f09e92f69f9d3680c2d894f351a20677d98661c
Author: Richard W.M. Jones <rjones(a)redhat.com>
Date: Tue Aug 8 21:09:35 2017 +0100
Use ocaml_native_compiler macro instead of opt test.
diff --git a/ocaml-gsl.spec b/ocaml-gsl.spec
index 198477d..42b2704 100644
--- a/ocaml-gsl.spec
+++ b/ocaml-gsl.spec
@@ -1,8 +1,6 @@
-%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-
Name: ocaml-gsl
Version: 1.19.1
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Interface to GSL (GNU scientific library) for OCaml
License: GPLv2
@@ -62,7 +60,7 @@ make install
%files
%doc COPYING.txt
%{_libdir}/ocaml/gsl
-%if %opt
+%ifarch %{ocaml_native_compiler}
%exclude %{_libdir}/ocaml/gsl/*.a
%exclude %{_libdir}/ocaml/gsl/*.cmxs
%exclude %{_libdir}/ocaml/gsl/*.cmxa
@@ -74,7 +72,7 @@ make install
%files devel
%doc COPYING.txt AUTHORS.txt CHANGES.txt README.md NOTES.md
-%if %opt
+%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/gsl/*.a
%{_libdir}/ocaml/gsl/*.cmxs
%{_libdir}/ocaml/gsl/*.cmxa
@@ -83,8 +81,9 @@ make install
%changelog
-* Tue Aug 08 2017 Richard W.M. Jones <rjones(a)redhat.com> - 1.19.1-9
+* Tue Aug 08 2017 Richard W.M. Jones <rjones(a)redhat.com> - 1.19.1-10
- OCaml 4.05.0 rebuild.
+- Use ocaml_native_compiler macro instead of opt test.
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.19.1-8
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild