The package rpms/ocaml-menhir.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-menhir.git/commit/?id=ec1d7....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit ec1d7a310218d2528acf59c9ab578a7ac8ae3e36
Author: Jerry James <loganjerry(a)gmail.com>
Date: Wed Dec 2 16:19:48 2020 -0700
Coq is currently unavailable on s390x.
diff --git a/ocaml-menhir.spec b/ocaml-menhir.spec
index f845f40..4220d05 100644
--- a/ocaml-menhir.spec
+++ b/ocaml-menhir.spec
@@ -2,7 +2,12 @@
%global debug_package %{nil}
%endif
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1874879
+%ifarch s390x
+%bcond_with coq
+%else
%bcond_without coq
+%endif
Name: ocaml-menhir
Version: 20201201
commit 218d4aca6e0c54b1b55375846c2d969b4bec07a3
Author: Jerry James <loganjerry(a)gmail.com>
Date: Wed Dec 2 16:08:48 2020 -0700
Version 20201201.
diff --git a/ocaml-menhir.spec b/ocaml-menhir.spec
index 43492db..f845f40 100644
--- a/ocaml-menhir.spec
+++ b/ocaml-menhir.spec
@@ -2,11 +2,11 @@
%global debug_package %{nil}
%endif
-%bcond_with coq
+%bcond_without coq
Name: ocaml-menhir
-Version: 20200624
-Release: 3%{?dist}.1
+Version: 20201201
+Release: 1%{?dist}
Summary: LR(1) parser generator for OCaml
# The generator is GPLv2
@@ -81,12 +81,6 @@ parser is correct and complete with respect to the grammar).
%prep
%setup -q -n menhir-%{version}
-# Enable debuginfo
-sed -i 's/-j 0/-cflag -g -lflag -g &/' src/Makefile
-
-# Do not ship the obsolete demos
-rm -fr demos/obsolete
-
%build
dune build %{?_smp_mflags}
%if %{with coq}
@@ -158,11 +152,14 @@ find %{buildroot}%{_libdir}/ocaml -name \*.cmxs -exec chmod a+x {}
\+
%files -n coq-menhirlib
%doc coq-menhirlib/CHANGES.md coq-menhirlib/README.md
%license coq-menhirlib/LICENSE
-%{_libdir}/coq/user-contrib/MenhirLib/
+%{_libdir}/ocaml/coq/user-contrib/MenhirLib/
%{_libdir}/ocaml/coq-menhirlib/
%endif
%changelog
+* Wed Dec 2 2020 Jerry James <loganjerry(a)gmail.com> - 20201201-1
+- Version 20201201
+
* Wed Sep 02 2020 Richard W.M. Jones <rjones(a)redhat.com> - 20200624-3.1
- Bump release and rebuild.
diff --git a/sources b/sources
index 91edca0..e9b6cc4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (menhir-20200624.tar.bz2) =
18e89bf33fbed5862ffe48ac803d67e5556e00ed2683775d323c47826d069113faca89d5cee5a644936a50a1533d7f38aefff0ef65b9fb7d1342412d6be44679
+SHA512 (menhir-20201201.tar.bz2) =
2ea322a17e02fa96a0b9ef60ea334b55cd52f0794723f930c3b2c7e4905444305c674db586663e75f0ac7076f3a1a7540dfced6c6617b84ce4b59e17d76a5ca0
commit fa49b1255935756513d50faaca15c099c03364b8
Author: Jerry James <loganjerry(a)gmail.com>
Date: Mon Nov 9 16:46:24 2020 -0700
Explicitly BR make.
diff --git a/ocaml-menhir.spec b/ocaml-menhir.spec
index 83cc4d0..43492db 100644
--- a/ocaml-menhir.spec
+++ b/ocaml-menhir.spec
@@ -19,6 +19,7 @@ BuildRequires: coq
%endif
BuildRequires: hevea
BuildRequires: ImageMagick
+BuildRequires: make
BuildRequires: ocaml
BuildRequires: ocaml-dune
BuildRequires: ocaml-odoc