The package rpms/jpype.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/jpype.git/commit/?id=ef130f113b10....
Change:
+%ifnarch s390x
Thanks.
Full change:
============
commit ef130f113b10a595d06bf093976e741900e95f50
Author: Raphael Groner <raphgro(a)fedoraproject.org>
Date: Mon Sep 20 19:38:07 2021 +0200
bump to v1.3.0
diff --git a/.gitignore b/.gitignore
index 2276e34..99da18f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/jpype-0.7.4.tar.gz
/jpype-0.7.5.tar.gz
/jpype-1.0.2.tar.gz
+/jpype-1.3.0.tar.gz
diff --git a/jpype.spec b/jpype.spec
index 5542b8e..d9bcd6c 100644
--- a/jpype.spec
+++ b/jpype.spec
@@ -1,11 +1,9 @@
-%bcond_with doc
-
%global srcurl
https://github.com/jpype-project/%{name}
%global sum Full access for Python programs to Java class libraries
Name: jpype
-Version: 1.0.2
-Release: 4%{?dist}
+Version: 1.3.0
+Release: 1%{?dist}
Summary: %{sum}
# Some files come from JDK (jni_md.h) and Python (capsulethunk.h)
@@ -63,26 +61,17 @@ Requires: js-jquery >= 3
find . -name '*.py' -or -name '*.java' -or -name '*.TXT' \
-or -name '*.sh' -or -name '*.xml' -or -name '*.js' \
|xargs sed -i "s|\r||g"
-# unittest2 is not needed for python3 only
-sed -i "s|'unittest2'||" setup.py
-sed -i -r "s|(import unittest)2 as unittest|\1|" test/jpypetest/*.py
-# disable doclint for javadoc to avoid nasty errors
-sed -i -r "s|javadoc|\0 -Xdoclint:none|" setupext/test_java.py
-# skip explicit checks for python3
-sed -i -r /requirePythonAfter/d test/jpypetest/test_collection.py
%build
%py3_build
# generate html documentation
-%if %{with doc}
-sphinx-build-3 -d doctrees doc html
+sphinx-build -d doctrees doc html
rm html/.buildinfo
# unbundle jquery,
https://fedoraproject.org/wiki/Changes/jQuery
rm -v html/_static/jquery*.js
ln -fs %{_jsdir}/jquery/3/jquery.min.js html/_static/jquery.js
-%endif
%install
@@ -91,25 +80,34 @@ find %{buildroot} -name '*.so' |xargs chmod 0755
%check
+# FIXME s390x execution of tests lets jvm core dump on shutdown, rhbz#2005829
+%ifnarch s390x
+# disable doclint for javadoc to avoid nasty errors
+sed -i -r "s|javadoc|\0 -Xdoclint:none|" setupext/test_java.py
+# pyinstaller isn't packaged yet
+rm %{name}/_pyinstaller/test_%{name}_pyinstaller.py
+# python module multiprocessing with spawn fails inside mock and koji
pushd test/%{name}test
-# FIXME skip b0rken tests, maybe due to jdk8?
rm test_imports.py
rm test_leak.py test_legacy.py
rm test_module.py test_properties.py
rm test_shutdown.py test_startup.py
rm test_proxy.py
+# no database available
+rm test_sql_*.py
popd
# FIXME slices behavior is strange
%ifarch i686 armv7hl
sed -i -r 's:addopts.*:\0 -k "JClass and not AsArray":' setup.cfg
%endif
%{__python3} setup.py test
-ant -f test/build.xml
+%endif
%files -n python%{python3_pkgversion}-%{name}
%license LICENSE
%doc AUTHORS.rst README.rst
+%{python3_sitearch}/org.%{name}.jar
%{python3_sitearch}/_%{name}.cpython-*.so
%{python3_sitearch}/%{name}/
%{python3_sitearch}/JPype1-%{version}-py%{python3_version}.egg-info/
@@ -117,14 +115,15 @@ ant -f test/build.xml
%files doc
%license LICENSE
%doc examples/
-%if %{with doc}
%doc html/
-%else
-%doc doc/*.rst doc/*.png doc/*.py
-%endif
%changelog
+* Fri Sep 17 2021 Raphael Groner <raphgro(a)fedoraproject.org> - 1.3.0-1
+- bump to v1.3.0
+- ensure compatibility with python 3.10, rhbz#1899449
+- generate html documentation
+
* Thu Jul 22 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index 8610142..1f8d94f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jpype-1.0.2.tar.gz) =
1875fca615fbc58e2b7d5ba2740ca10f2dcc9f8190b929a0cb8eb64a71237421a5d3ed6744baf5116b654453d3acebdbcef68cf63d15f024e460c493d06b61cb
+SHA512 (jpype-1.3.0.tar.gz) =
8dcee2e0b548a1fad2d89c772063084974f84be9f69aef89988c693db8be10cbdfe5dff7e01cf9163e356ae8782a705d9698993232e8e3945e1e627fe1c1d128