The package rpms/ocaml-gen.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-gen.git/commit/?id=352e522d....
Change:
+%ifarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit 6593e90a7a5b0c93072a3220c62d6d34b4fdbd97
Author: Andy Li <andy(a)onthewings.net>
Date: Fri Nov 17 10:54:00 2017 +0800
New upstream version 0.5.
diff --git a/.gitignore b/.gitignore
index 216e574..b71dc04 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ocaml-gen-0.4.0.1.tar.gz
+/ocaml-gen-0.5.tar.gz
diff --git a/ocaml-gen.spec b/ocaml-gen.spec
index 57b4296..8eeb7f0 100644
--- a/ocaml-gen.spec
+++ b/ocaml-gen.spec
@@ -1,7 +1,7 @@
%global debug_package %{nil}
Name: ocaml-gen
-Version: 0.4.0.1
+Version: 0.5
Release: 1%{?dist}
Summary: Simple, efficient iterators for OCaml
@@ -32,10 +32,10 @@ developing applications that use %{name}.
%prep
%setup -q -n gen-%{version}
-./configure
%build
+./configure
%make_build
@@ -51,7 +51,7 @@ mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
%files
-%doc README.md
+%doc README.md CHANGELOG.md
%license LICENSE
%{_libdir}/ocaml/gen
%ifarch %{ocaml_native_compiler}
@@ -62,15 +62,9 @@ mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
%exclude %{_libdir}/ocaml/gen/*.ml
%exclude %{_libdir}/ocaml/gen/*.mli
-# These are empty files.
-%exclude %{_libdir}/ocaml/gen/genLabels.annot
-%exclude %{_libdir}/ocaml/gen/genLabels_intf.annot
-%exclude %{_libdir}/ocaml/gen/genM_intf.annot
-%exclude %{_libdir}/ocaml/gen/gen_intf.annot
-
%files devel
-%doc README.md gen.docdir/*
+%doc README.md CHANGELOG.md gen.docdir/*
%license LICENSE
%ifarch %{ocaml_native_compiler}
%{_libdir}/ocaml/gen/*.a
@@ -82,5 +76,8 @@ mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
%changelog
+* Fri Nov 17 2017 Andy Li <andy(a)onthewings.net> - 0.5-1
+- New upstream version 0.5.
+
* Fri Jul 07 2017 Andy Li <andy(a)onthewings.net> - 0.4.0.1-1
- Initial RPM release.
diff --git a/sources b/sources
index ac9a371..678d9cd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ocaml-gen-0.4.0.1.tar.gz) =
30722cca6d9b360a9a7d4a97f7553935d5425d5e3d49a7ae265bd0aee5961628a20d182775767a125cf367e1cd218ce4e782f025951468a4f95975163a1f4d76
+SHA512 (ocaml-gen-0.5.tar.gz) =
6d2650e5fae44c0476107044c15d53be546718cb6f568c81466df00d4bcdd01a614d7e6f1bcfff966eb2b23a11bb083006662c7a9030ba6b4b950f1b5d903563
commit 352e522df47a99b243291b65641155b8a64db802
Author: Andy Li <andy(a)onthewings.net>
Date: Thu Oct 12 09:52:51 2017 +0800
initial import (#1468939)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..216e574
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/ocaml-gen-0.4.0.1.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index e4efd9c..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# ocaml-gen
-
-The ocaml-gen package
\ No newline at end of file
diff --git a/ocaml-gen.spec b/ocaml-gen.spec
new file mode 100644
index 0000000..57b4296
--- /dev/null
+++ b/ocaml-gen.spec
@@ -0,0 +1,86 @@
+%global debug_package %{nil}
+
+Name: ocaml-gen
+Version: 0.4.0.1
+Release: 1%{?dist}
+Summary: Simple, efficient iterators for OCaml
+
+License: BSD
+URL:
https://github.com/c-cube/gen
+Source0:
https://github.com/c-cube/gen/archive/%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: ocaml
+BuildRequires: ocaml-ocamlbuild
+BuildRequires: ocaml-findlib
+BuildRequires: ocaml-ocamldoc
+
+%description
+Iterators for OCaml, both restartable and consumable.
+The implementation keeps a good balance between simplicity and performance.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+
+%description devel
+The %{name}-devel package contains libraries and signature files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q -n gen-%{version}
+./configure
+
+
+%build
+%make_build
+
+
+%install
+export DESTDIR=$RPM_BUILD_ROOT
+export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
+mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
+%make_install doc
+
+
+%check
+%make_build test
+
+
+%files
+%doc README.md
+%license LICENSE
+%{_libdir}/ocaml/gen
+%ifarch %{ocaml_native_compiler}
+%exclude %{_libdir}/ocaml/gen/*.a
+%exclude %{_libdir}/ocaml/gen/*.cmxa
+%exclude %{_libdir}/ocaml/gen/*.cmx
+%endif
+%exclude %{_libdir}/ocaml/gen/*.ml
+%exclude %{_libdir}/ocaml/gen/*.mli
+
+# These are empty files.
+%exclude %{_libdir}/ocaml/gen/genLabels.annot
+%exclude %{_libdir}/ocaml/gen/genLabels_intf.annot
+%exclude %{_libdir}/ocaml/gen/genM_intf.annot
+%exclude %{_libdir}/ocaml/gen/gen_intf.annot
+
+
+%files devel
+%doc README.md gen.docdir/*
+%license LICENSE
+%ifarch %{ocaml_native_compiler}
+%{_libdir}/ocaml/gen/*.a
+%{_libdir}/ocaml/gen/*.cmxa
+%{_libdir}/ocaml/gen/*.cmx
+%endif
+%{_libdir}/ocaml/gen/*.ml
+%{_libdir}/ocaml/gen/*.mli
+
+
+%changelog
+* Fri Jul 07 2017 Andy Li <andy(a)onthewings.net> - 0.4.0.1-1
+- Initial RPM release.
diff --git a/sources b/sources
new file mode 100644
index 0000000..ac9a371
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ocaml-gen-0.4.0.1.tar.gz) =
30722cca6d9b360a9a7d4a97f7553935d5425d5e3d49a7ae265bd0aee5961628a20d182775767a125cf367e1cd218ce4e782f025951468a4f95975163a1f4d76