Hello community, here is the log from the commit of package dom2-core-tests for openSUSE:Factory checked in at 2017-09-15 22:31:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dom2-core-tests (Old) and /work/SRC/openSUSE:Factory/.dom2-core-tests.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dom2-core-tests" Fri Sep 15 22:31:38 2017 rev:18 rq:526283 version:0.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dom2-core-tests/dom2-core-tests.changes 2013-11-15 13:14:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dom2-core-tests.new/dom2-core-tests.changes 2017-09-15 22:31:38.860622692 +0200 @@ -1,0 +2,8 @@ +Fri Sep 15 07:46:31 UTC 2017 - [email protected] + +- Don't hardcode dependency on java-gcj-compat + * use java-devel >= 1.6 instead +- Specify java source and target levels 1.6 in order to allow + building with jdk9 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dom2-core-tests.spec ++++++ --- /var/tmp/diff_new_pack.k8bzHt/_old 2017-09-15 22:31:39.664509453 +0200 +++ /var/tmp/diff_new_pack.k8bzHt/_new 2017-09-15 22:31:39.664509453 +0200 @@ -1,7 +1,7 @@ # # spec file for package dom2-core-tests # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,22 @@ %define section free - Name: dom2-core-tests +Version: 0.0.1 +Release: 0 Summary: DOM Conformance Test Suite License: W3C Group: Development/Libraries/Java -Version: 0.0.1 -Release: 0 Url: http://www.w3.org/DOM/Test/ -BuildArch: noarch Source0: http://www.w3.org/2004/04/dom2-core-tests-20040405.jar Source1: LICENSE.html Patch0: dom2-core-tests-build_xml.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ant -BuildRequires: java-1_5_0-gcj-compat-devel +BuildRequires: java-devel >= 1.6 BuildRequires: javapackages-tools BuildRequires: junit BuildRequires: unzip +BuildArch: noarch %description The DOM Test Suites (DOM TS) will consist of a number of tests for each @@ -45,9 +43,8 @@ be automatically generated from the DOM specifications themselves, to ensure stability and correctness. - %prep -%setup -q -c -n %{name}-%{version} +%setup -q -c rm -rf junit find . -name "*.class" -exec rm {} \; %patch0 -b .orig @@ -57,19 +54,18 @@ %build export CLASSPATH=$(build-classpath junit) -ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 dist +ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 dist %install # jars -install -d -m 0755 $RPM_BUILD_ROOT%{_javadir} +install -d -m 0755 %{buildroot}%{_javadir} vjar=$(echo %{name}.jar | sed s+.jar+-%{version}.jar+g) -install -m 644 %{name}-%{version}/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/$vjar -pushd $RPM_BUILD_ROOT%{_javadir} +install -m 644 %{name}-%{version}/%{name}.jar %{buildroot}%{_javadir}/$vjar +pushd %{buildroot}%{_javadir} ln -fs $vjar %{name}.jar popd %files -%defattr(0644,root,root,0755) %doc LICENSE.html %{_javadir}/*
