The package rpms/ocaml-ppxlib.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-ppxlib.git/commit/?id=97f63....
Change:
-%ifnarch %{arm}
Thanks.
Full change:
============
commit 97f6393922d50c199a804e881ce30428f938b10e
Author: Jerry James <loganjerry(a)gmail.com>
Date: Wed Sep 1 15:16:23 2021 -0600
Version 0.23.0. Reenable tests on ARM.
diff --git a/ocaml-ppxlib-stdlib-shims.patch b/ocaml-ppxlib-stdlib-shims.patch
index 0d233d9..30b3477 100644
--- a/ocaml-ppxlib-stdlib-shims.patch
+++ b/ocaml-ppxlib-stdlib-shims.patch
@@ -1,41 +1,77 @@
---- a/ast/dune 2021-06-23 13:21:00.000000000 -0600
-+++ b/ast/dune 2021-07-29 14:17:44.220394609 -0600
-@@ -6,7 +6,7 @@
+--- a/ast/dune 2021-08-31 06:52:05.000000000 -0600
++++ b/ast/dune 2021-09-01 09:24:02.193068151 -0600
+@@ -5,7 +5,7 @@
+ (library
(name ppxlib_ast)
(public_name ppxlib.ast)
- (libraries ocaml-compiler-libs.shadow ocaml-compiler-libs.common
-- compiler-libs.common ocaml-migrate-parsetree stdlib-shims)
-+ compiler-libs.common ocaml-migrate-parsetree)
+- (libraries astlib stdlib-shims)
++ (libraries astlib)
(flags
- (:standard -open Ocaml_shadow -safe-string)
+ (:standard -safe-string)
-w
---- a/dune-project 2021-06-23 13:21:00.000000000 -0600
-+++ b/dune-project 2021-07-29 14:18:00.268428628 -0600
+--- a/dune-project 2021-08-31 06:52:05.000000000 -0600
++++ b/dune-project 2021-09-01 09:25:13.279201740 -0600
@@ -20,7 +20,6 @@
- (ocaml-migrate-parsetree (>= 2.2.0))
+ (ocaml-compiler-libs (>= v0.11.0))
(ppx_derivers (>= 1.0))
- sexplib0
+ (sexplib0 (>= v0.12))
- stdlib-shims
(ocamlfind :with-test)
(re (and :with-test (>= 1.9.0)))
(cinaps (and :with-test (>= v0.12.1)))
---- a/ppxlib.opam 2021-06-23 13:21:00.000000000 -0600
-+++ b/ppxlib.opam 2021-07-29 14:18:07.900444805 -0600
-@@ -26,7 +26,6 @@ depends: [
- "ocaml-migrate-parsetree" {>= "2.2.0"}
+--- a/metaquot_lifters/dune 2021-08-31 06:52:05.000000000 -0600
++++ b/metaquot_lifters/dune 2021-09-01 09:25:29.440232074 -0600
+@@ -3,4 +3,4 @@
+ (public_name ppxlib.metaquot_lifters)
+ (flags
+ (:standard -safe-string))
+- (libraries ppxlib ppxlib_traverse_builtins stdppx stdlib-shims))
++ (libraries ppxlib ppxlib_traverse_builtins stdppx))
+--- a/ppxlib.opam 2021-08-31 06:52:05.000000000 -0600
++++ b/ppxlib.opam 2021-09-01 09:24:15.993094078 -0600
+@@ -25,7 +25,6 @@ depends: [
+ "ocaml-compiler-libs" {>= "v0.11.0"}
"ppx_derivers" {>= "1.0"}
- "sexplib0"
+ "sexplib0" {>= "v0.12"}
- "stdlib-shims"
"ocamlfind" {with-test}
"re" {with-test & >= "1.9.0"}
"cinaps" {with-test & >= "v0.12.1"}
---- a/stdppx/dune 2021-06-23 13:21:00.000000000 -0600
-+++ b/stdppx/dune 2021-07-29 14:18:19.708469836 -0600
+--- a/src/dune 2021-08-31 06:52:05.000000000 -0600
++++ b/src/dune 2021-09-01 09:24:44.977148546 -0600
+@@ -9,7 +9,6 @@
+ ppx_derivers
+ ppxlib_traverse_builtins
+ stdppx
+- stdlib-shims
+ sexplib0)
+ (flags
+ (:standard -safe-string))
+--- a/src/gen/dune 2021-08-31 06:52:05.000000000 -0600
++++ b/src/gen/dune 2021-09-01 09:24:57.866172770 -0600
+@@ -2,4 +2,4 @@
+ (names gen_ast_pattern gen_ast_builder)
+ (flags
+ (:standard -safe-string))
+- (libraries ppxlib_ast astlib ppxlib_traverse_builtins stdppx stdlib-shims))
++ (libraries ppxlib_ast astlib ppxlib_traverse_builtins stdppx))
+--- a/stdppx/dune 2021-08-31 06:52:05.000000000 -0600
++++ b/stdppx/dune 2021-09-01 09:24:34.025127963 -0600
@@ -1,6 +1,6 @@
(library
(name stdppx)
(public_name ppxlib.stdppx)
-- (libraries ocaml-compiler-libs.shadow sexplib0 stdlib-shims)
-+ (libraries ocaml-compiler-libs.shadow sexplib0)
+- (libraries sexplib0 stdlib-shims)
++ (libraries sexplib0)
+ (flags
+ (:standard -safe-string)))
+--- a/traverse/dune 2021-08-31 06:52:05.000000000 -0600
++++ b/traverse/dune 2021-09-01 09:23:48.745042886 -0600
+@@ -4,6 +4,6 @@
+ (kind ppx_deriver)
(flags
- (:standard -open Ocaml_shadow -safe-string)))
+ (:standard -safe-string))
+- (libraries ppxlib ppxlib_ast ppxlib_traverse_builtins stdppx stdlib-shims)
++ (libraries ppxlib ppxlib_ast ppxlib_traverse_builtins stdppx)
+ (preprocess
+ (pps ppxlib_metaquot)))
diff --git a/ocaml-ppxlib.spec b/ocaml-ppxlib.spec
index f7cff56..a96e98b 100644
--- a/ocaml-ppxlib.spec
+++ b/ocaml-ppxlib.spec
@@ -10,7 +10,7 @@
Name: ocaml-%{srcname}
Epoch: 1
-Version: 0.22.2
+Version: 0.23.0
Release: 1%{?dist}
Summary: Base library and tools for ppx rewriters
@@ -29,7 +29,7 @@ BuildRequires: ocaml-findlib
BuildRequires: ocaml-migrate-parsetree-devel >= 2.2.0
BuildRequires: ocaml-ppx-derivers-devel >= 1.0
BuildRequires: ocaml-re-devel >= 1.9.0
-BuildRequires: ocaml-sexplib0-devel
+BuildRequires: ocaml-sexplib0-devel >= 0.12
BuildRequires: ocaml-stdio-devel
%if %{with doc}
@@ -101,16 +101,8 @@ rm -fr %{buildroot}%{_prefix}/doc
# We do not want to install the test binaries
rm -fr %{buildroot}%{_bindir}
-# FIXME: On arm only, building the tests fails:
-# /usr/bin/ld: src/.cinaps/.cinaps.eobjs/native/dune__exe__Cinaps.o: relocation
R_ARM_THM_MOVW_ABS_NC against `camlCinaps_runtime' can not be used when making a
shared object; recompile with -fPIC
-# src/.cinaps/.cinaps.eobjs/native/dune__exe__Cinaps.o: in function `.L297':
:(.text+0xdec): dangerous relocation: unsupported relocation
-# <many more such warnings>
-#
-# Disable the tests on arm until we can figure out what is going wrong.
-%ifnarch %{arm}
%check
dune runtest
-%endif
%files
%doc CHANGES.md HISTORY.md README.md
@@ -162,6 +154,10 @@ dune runtest
%endif
%changelog
+* Wed Sep 1 2021 Jerry James <loganjerry(a)gmail.com> - 1:0.23.0-1
+- Version 0.23.0
+- Reenable tests on ARM
+
* Thu Jul 29 2021 Jerry James <loganjerry(a)gmail.com> - 1:0.22.2-1
- Version 0.22.2
diff --git a/sources b/sources
index 6b61689..8cd4dd6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ppxlib-0.22.2.tar.gz) =
3a83693551f11965b219a9caa4eaffbf358ea1311e05a38bfd531b8ad225d6571d86db7282e1d5bdc09775f2ba47791c03351402720cf5c2adefc52926d498e4
+SHA512 (ppxlib-0.23.0.tar.gz) =
9d6692ec4247031f26aed3bdc59808a5f929c34dbac3515a8b2a61c59ec118f0e90d12948d22aea40e9f01b1ed782e9dfa5b0263314b967217b2ac4006446c53