The package rpms/ocaml-ounit.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-ounit.git/commit/?id=3b4819....
Change:
+%ifarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit 3b481949d9f6f32a9808f658165f649e83bf7aa5
Author: Richard W.M. Jones <rjones(a)redhat.com>
Date: Wed Nov 8 16:09:01 2017 +0000
New upstream version 2.0.6.
diff --git a/.gitignore b/.gitignore
index 2ac5742..2d49a35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ ounit-1.0.3.tar.gz
/ounit-1.1.0.tar.gz
/ounit-1.1.2.tar.gz
/ounit-2.0.0.tar.gz
+/ounit-2.0.6.tar.gz
diff --git a/ocaml-ounit.spec b/ocaml-ounit.spec
index 4700bc9..dcf61af 100644
--- a/ocaml-ounit.spec
+++ b/ocaml-ounit.spec
@@ -1,16 +1,11 @@
-%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%if ! %opt
-%global debug_package %{nil}
-%endif
-
Name: ocaml-ounit
-Version: 2.0.0
-Release: 30%{?dist}
+Version: 2.0.6
+Release: 1%{?dist}
Summary: Unit test framework for OCaml
License: MIT
URL:
http://ounit.forge.ocamlcore.org/
-Source0:
http://forge.ocamlcore.org/frs/download.php/1258/ounit-%{version}.tar.gz
+Source0:
http://forge.ocamlcore.org/frs/download.php/1722/ounit-2.0.6.tar.gz
BuildRequires: ocaml >= 3.10.0
BuildRequires: ocaml-findlib-devel
@@ -61,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT/usr/local/share/doc
%files
%doc LICENSE.txt
%{_libdir}/ocaml/oUnit
-%if %opt
+%ifarch %{ocaml_native_compiler}
%exclude %{_libdir}/ocaml/oUnit/*.a
%exclude %{_libdir}/ocaml/oUnit/*.cmxa
%endif
@@ -71,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT/usr/local/share/doc
%files devel
%doc LICENSE.txt README.txt
%doc _build/src/api-ounit.docdir/*
-%if %opt
+%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/oUnit/*.a
%{_libdir}/ocaml/oUnit/*.cmxa
%endif
@@ -79,11 +74,8 @@ rm -rf $RPM_BUILD_ROOT/usr/local/share/doc
%changelog
-* Wed Nov 08 2017 Richard W.M. Jones <rjones(a)redhat.com> - 2.0.0-30
-- Bump release and rebuild.
-
-* Wed Nov 08 2017 Richard W.M. Jones <rjones(a)redhat.com> - 2.0.0-29
-- Bump release and rebuild.
+* Wed Nov 08 2017 Richard W.M. Jones <rjones(a)redhat.com> - 2.0.6-1
+- New upstream version 2.0.6.
* Tue Nov 07 2017 Richard W.M. Jones <rjones(a)redhat.com> - 2.0.0-28
- OCaml 4.06.0 rebuild.
diff --git a/sources b/sources
index f0e8974..9391661 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2e0a24648c55005978d4923eb4925b28 ounit-2.0.0.tar.gz
+SHA512 (ounit-2.0.6.tar.gz) =
466ec1f691a81e0abd93f698c7328e6db4fa2d617d8f5262d9f18b57ede3d389a3ee122ed7bccc8dff20600826fbbae1d17dd88d7c1329562798792fae54417d