The package rpms/ocaml-re.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-re.git/commit/?id=f275b85ec....
Change:
+%ifarch %{ocaml_native_compiler}
Thanks.
Full change:
============
commit 93778da726c0aa1a994b29e0ded9c33e97777e44
Author: Richard W.M. Jones <rjones(a)redhat.com>
Date: Sat Dec 2 10:59:22 2017 +0000
OCaml 4.06.0 rebuild.
diff --git a/ocaml-re.spec b/ocaml-re.spec
index 60fcb2a..cfab9a6 100644
--- a/ocaml-re.spec
+++ b/ocaml-re.spec
@@ -6,7 +6,7 @@
Name: ocaml-re
Version: 1.7.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A regular expression library for OCaml
License: LGPLv2 with exceptions
@@ -73,6 +73,9 @@ rm -rf %{buildroot}%{_docdir}/re/
%{_libdir}/ocaml/re/*.mli
%changelog
+* Sat Dec 02 2017 Richard W.M. Jones <rjones(a)redhat.com> - 1.7.1-2
+- OCaml 4.06.0 rebuild.
+
* Tue Aug 15 2017 Ben Rosser <rosser.bjr(a)gmail.com> - 1.7.1-1
- Update to latest ocaml-re release.
- Use configure script directly in build section.
commit f275b85ec4e843cfc75678d4e9e62d156db6ce4c
Author: Richard W.M. Jones <rjones(a)redhat.com>
Date: Tue Aug 29 11:33:32 2017 +0100
Initial import.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..943ba6d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/ocaml-re-*.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index a0a57e4..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# ocaml-re
-
-The ocaml-re package
\ No newline at end of file
diff --git a/ocaml-re.spec b/ocaml-re.spec
new file mode 100644
index 0000000..60fcb2a
--- /dev/null
+++ b/ocaml-re.spec
@@ -0,0 +1,103 @@
+%ifarch %{ocaml_native_compiler}
+%global native_compiler 1
+%else
+%global native_compiler 0
+%endif
+
+Name: ocaml-re
+Version: 1.7.1
+Release: 1%{?dist}
+Summary: A regular expression library for OCaml
+
+License: LGPLv2 with exceptions
+URL:
https://github.com/ocaml/ocaml-re
+Source0:
https://github.com/ocaml/%{name}/archive/%{version}/ocaml-re-%{version}.t...
+
+BuildRequires: ocaml
+BuildRequires: ocaml-findlib
+BuildRequires: ocaml-ocamldoc
+BuildRequires: ocaml-ocamlbuild
+
+%description
+A pure OCaml regular expression library. Supports Perl-style regular
+expressions, Posix extended regular expressions, Emacs-style regular
+expressions, and shell-style file globbing. It is also possible to
+build regular expressions by combining simpler regular expressions.
+There is also a subset of the PCRE interface available in the Re.pcre
+library.
+
+%package devel
+Summary: Development files for %{name}
+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 ocaml-re-%{version}
+
+%build
+./configure --prefix %{prefix}
+make %{?_smp_mflags}
+make doc
+
+%install
+export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
+mkdir -p $OCAMLFIND_DESTDIR
+make install
+
+# We want to manually get the documentation anyway especially
+# since documentation gets put in _docdir/re by buildsystem.
+rm -rf %{buildroot}%{_docdir}/re/
+
+%files
+%doc CHANGES
+%doc README.md
+%license LICENSE
+%{_libdir}/ocaml/re
+%if %{native_compiler}
+%exclude %{_libdir}/ocaml/re/*.a
+%exclude %{_libdir}/ocaml/re/*.cmxa
+%exclude %{_libdir}/ocaml/re/*.cmx
+%endif
+%exclude %{_libdir}/ocaml/re/*.mli
+
+%files devel
+%doc re-api.docdir/*
+%if %{native_compiler}
+%{_libdir}/ocaml/re/*.a
+%{_libdir}/ocaml/re/*.cmx
+%{_libdir}/ocaml/re/*.cmxa
+%endif
+%{_libdir}/ocaml/re/*.mli
+
+%changelog
+* Tue Aug 15 2017 Ben Rosser <rosser.bjr(a)gmail.com> - 1.7.1-1
+- Update to latest ocaml-re release.
+- Use configure script directly in build section.
+- Do parallel build using smp_flags macro.
+
+* Thu Sep 3 2015 Jon Ludlam <jonathan.ludlam(a)citrix.com> - 1.4.1-1
+- New upstream release
+- Remove upstreamed patch
+
+* Tue Feb 24 2015 Jon Ludlam <jonathan.ludlam(a)citrix.com> - 1.2.2-4
+- Fix missing 'isa' macro in devel depends
+
+* Sat Jan 24 2015 Jon Ludlam <jonathan.ludlam(a)citrix.com> - 1.2.2-3
+- Change patch filename to have .patch suffix
+- Remove whitespace
+
+* Fri Dec 12 2014 Jon Ludlam <jonathan.ludlam(a)citrix.com> - 1.2.2-2
+- Minor updates to the SPEC file. Now rpmlint gives no errors.
+
+* Sat Jun 7 2014 David Scott <dave.scott(a)citrix.com> - 1.2.2-1
+- Update to 1.2.2
+
+* Fri May 30 2014 Euan Harris <euan.harris(a)citrix.com> - 1.2.1-2
+- Split files correctly between base and devel packages
+
+* Thu May 30 2013 David Scott <dave.scott(a)eu.citrix.com> - 1.2.1-1
+- Initial package
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..3fcff0d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ocaml-re-1.7.1.tar.gz) =
0df5b0db4c8ab7017576516adbd8edf2e7774afbdca63383cbdb0f2f2b023efb7215366a6679c8810f3b70d542e0181e6b6d4a212b30531cb5d0bef0a6033747