Bug 2014770
Summary: | Consider to build from other forks due to new upstream | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> |
Component: | python-javabridge | Assignee: | Raphael Groner <projects.rg> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | didiksupriadi41, projects.rg |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-javabridge-1.0.19-7.20211221git61942d2.fc36 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-01-23 18:53:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2007626 | ||
Bug Blocks: |
Description
Raphael Groner
2021-10-16 15:29:56 UTC
(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. |