Description of problem: Newer releases available from other github forks as it seems to be more current upstream. Possible options: o https://github.com/BjarneHerland/python-javabridge o https://github.com/CellProfiler/python-javabridge Version-Release number of selected component (if applicable): - How reproducible: yes Steps to Reproduce: 1. dnf install python3-javabridge 2. 3. Actual results: old version gets installed Expected results: new version Additional info:
(In reply to Didik Supriadi from comment #7, bug #2007626) > as suggested by mizdebsk, you could also Requires javapackages-tools and > execute `find-jar org.mozilla:rhino` to find the jar. (In reply to Didik Supriadi from comment #6) > The location of rhino is moved to %{_javadir}/rhino/rhino.jar instead of > %{_javadir}/rhino.jar. > Since previously this is not the case, I've added some backward > compatibility in rhino: > https://src.fedoraproject.org/rpms/rhino/c/ > 3ab80676f2e841b57c35c65836baab3c9cd22ca5.patch > > You might try to build it once again.
I don't know how to build python packages. here's the snippet of my patch for the current javabridge: diff --git a/python-javabridge.spec b/python-javabridge.spec index 58772e8..b15e27a 100644 --- a/python-javabridge.spec +++ b/python-javabridge.spec @@ -31,7 +31,9 @@ BuildRequires: python%{python3_pkgversion}-sphinx BuildRequires: python%{python3_pkgversion}-numpy BuildRequires: python%{python3_pkgversion}-nose BuildRequires: gcc +BuildRequires: javapackages-tools BuildRequires: rhino +BuildRequires: xmvn-tools Requires: rhino %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} @@ -45,7 +47,7 @@ ExclusiveArch: i686 x86_64 %autosetup -p1 # unbundle find . -name \*.jar -print -delete -ln -s %{_javadir}/rhino.jar %{modname}/jars +ln -s $(find-jar org.mozilla:rhino) %{modname}/jars %build export JAVA_HOME=%{_prefix}/lib/jvm/java
Thanks. Could you send as a pull request in pagure? That would be even more helpful.