[packages/java-rhino] Rel 3; fix build
arekm
arekm at pld-linux.org
Thu Feb 12 08:53:15 CET 2026
commit c8dffcaff5172a866c499f60ec6d485eced892cc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Feb 12 08:53:08 2026 +0100
Rel 3; fix build
build.patch | 14 ++++++++++++++
java-rhino.spec | 12 +++++++-----
2 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/java-rhino.spec b/java-rhino.spec
index 74f342e..5b2655c 100644
--- a/java-rhino.spec
+++ b/java-rhino.spec
@@ -5,16 +5,17 @@ Summary: Rhino - JavaScript for Java
Summary(pl.UTF-8): Rhino - JavaScript dla Javy
Name: java-rhino
Version: 1.7R3
-Release: 2
+Release: 3
License: MPL 1.1 or GPL v2+
Group: Development/Languages/Java
-Source0: http://ftp.mozilla.org/pub/mozilla.org/js/rhino%{fver}.zip
+Source0: https://ftp.mozilla.org/pub/mozilla.org/js/rhino%{fver}.zip
# Source0-md5: 99d94103662a8d0b571e247a77432ac5
-Source1: http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip
+Source1: https://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip
# Source1-md5: ab016c8f81812bb930fc0f7a69e053c5
-Source2: http://www.apache.org/dist/xmlbeans/binaries/xmlbeans-2.2.0.zip
+Source2: https://www.apache.org/dist/xmlbeans/binaries/xmlbeans-2.2.0.zip
# Source2-md5: f279d25e2dccbb524e406543c38b4aae
-URL: http://www.mozilla.org/rhino/
+Patch0: build.patch
+URL: https://www.mozilla.org/rhino/
BuildRequires: ant
BuildRequires: jdk >= 1.5
BuildRequires: jpackage-utils
@@ -53,6 +54,7 @@ Javadoc pour Rhino.
%prep
%setup -q -n rhino%{fver}
+%patch -P0 -p1
cat <<'EOF' >> build.properties
# use local path
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..b445a65
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,14 @@
+diff -ur rhino1_7R3.org/build.properties rhino1_7R3/build.properties
+--- rhino1_7R3.org/build.properties 2011-05-09 20:04:38.000000000 +0200
++++ rhino1_7R3/build.properties 2026-02-12 08:51:56.540947400 +0100
+@@ -53,8 +53,8 @@
+
+ # compilation settings
+ debug: on
+-target-jvm: 1.5
+-source-level: 1.5
++target-jvm: 1.6
++source-level: 1.6
+
+ # jar generation settings
+ jar-compression: true
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-rhino.git/commitdiff/c8dffcaff5172a866c499f60ec6d485eced892cc
More information about the pld-cvs-commit
mailing list