This commit is contained in:
parent
4a05643968
commit
516b3f5e65
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 18 16:32:33 UTC 2018 - Fridrich Strba <fstrba@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 06:51:14 UTC 2017 - fstrba@suse.com
|
||||
|
||||
|
15
rhino.spec
15
rhino.spec
@ -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/
|
||||
#
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@ Patch100: rhino-1.7-gcj.patch
|
||||
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 @@ mkdir -p %{buildroot}%{_javadir}
|
||||
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 @@ cp -a build/%{name}%{cvs_version}/%{name}-examples.jar %{buildroot}%{_javadir}/%
|
||||
%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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user