Hello community,

here is the log from the commit of package rhino for openSUSE:Factory checked 
in at 2018-12-07 14:31:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rhino (Old)
 and      /work/SRC/openSUSE:Factory/.rhino.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rhino"

Fri Dec  7 14:31:16 2018 rev:33 rq:653651 version:1.7R3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rhino/rhino.changes      2017-10-06 
10:54:39.325124806 +0200
+++ /work/SRC/openSUSE:Factory/.rhino.new.19453/rhino.changes   2018-12-07 
14:31:18.091376235 +0100
@@ -1,0 +2,7 @@
+Sun Nov 18 16:32:33 UTC 2018 - Fridrich Strba <fst...@suse.com>
+
+- Actually use the rhino-js.pom file in the source package.
+- Add "org.mozilla:rhino" alias, since the later 1.7.x versions
+  are distributed as such
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rhino.spec ++++++
--- /var/tmp/diff_new_pack.eEQUDG/_old  2018-12-07 14:31:18.759375406 +0100
+++ /var/tmp/diff_new_pack.eEQUDG/_new  2018-12-07 14:31:18.759375406 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rhino
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2000-2009, JPackage Project
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,7 +22,7 @@
 Version:        1.7R3
 Release:        0
 Summary:        JavaScript for Java
-License:        MPL-1.1 OR GPL-2.0+
+License:        MPL-1.1 OR GPL-2.0-or-later
 Group:          Development/Libraries/Java
 Url:            http://www.mozilla.org/rhino/
 # wget ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino%{cvs_version}.zip
@@ -49,7 +49,7 @@
 BuildRequires:  ant
 BuildRequires:  bea-stax-api
 BuildRequires:  java-devel >= 1.6
-BuildRequires:  javapackages-tools
+BuildRequires:  javapackages-local
 BuildRequires:  jline
 BuildRequires:  xmlbeans-mini
 #!BuildIgnore:  antlr
@@ -123,6 +123,11 @@
 cp -a build/%{name}%{cvs_version}/js.jar %{buildroot}%{_javadir}
 ln -s js.jar %{buildroot}%{_javadir}/%{name}.jar
 
+# pom
+mkdir -p %{buildroot}%{_mavenpomdir}
+cp -a %{SOURCE6} %{buildroot}%{_mavenpomdir}/js.pom
+%add_maven_depmap js.pom js.jar -a "org.mozilla:rhino"
+
 # scripts
 mkdir -p %{buildroot}%{_bindir}
 install -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/%{name}
@@ -142,6 +147,12 @@
 %attr(0755,root,root) %{_bindir}/%{name}-idswitch
 %attr(0755,root,root) %{_bindir}/%{name}-jsc
 %{_javadir}/*.jar
+%{_mavenpomdir}/*.pom
+%if %{defined _maven_repository}
+%config(noreplace) %{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml
+%endif
 
 %files demo
 %{_datadir}/%{name}


Reply via email to