Hello community, here is the log from the commit of package werken-xpath for openSUSE:Factory checked in at 2017-09-20 17:14:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/werken-xpath (Old) and /work/SRC/openSUSE:Factory/.werken-xpath.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "werken-xpath" Wed Sep 20 17:14:02 2017 rev:17 rq:527494 version:0.9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/werken-xpath/werken-xpath.changes 2017-06-01 16:32:25.313766695 +0200 +++ /work/SRC/openSUSE:Factory/.werken-xpath.new/werken-xpath.changes 2017-09-20 17:14:03.593992954 +0200 @@ -1,0 +2,6 @@ +Wed Sep 20 09:39:48 UTC 2017 - [email protected] + +- Fix build with jdk9: specify java source and target level 1.6 +- Clean spec file and fix rpmlint errors and warnings + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ werken-xpath.spec ++++++ --- /var/tmp/diff_new_pack.JWyd4w/_old 2017-09-20 17:14:04.413877540 +0200 +++ /var/tmp/diff_new_pack.JWyd4w/_new 2017-09-20 17:14:04.417876977 +0200 @@ -37,6 +37,7 @@ Patch8: %{name}-runtests_sh.patch BuildRequires: ant >= 1.6 BuildRequires: antlr +BuildRequires: fdupes BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: jdom @@ -44,8 +45,7 @@ BuildRequires: xml-commons-apis Requires: jdom Provides: werken.xpath = %{version}-%{release} -Obsoletes: werken.xpath <= 0.9.4 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Obsoletes: werken.xpath < 0.9.4 BuildArch: noarch %description @@ -60,7 +60,7 @@ Summary: Javadoc for %{name} Group: Documentation/HTML Provides: werken.xpath-javadoc = %{version}-%{release} -Obsoletes: werken.xpath-javadoc <= 0.9.4 +Obsoletes: werken.xpath-javadoc < 0.9.4 %description javadoc werken.xpath is an implementation of the W3C XPath Recommendation, on @@ -85,15 +85,10 @@ for j in $(find . -name "*.jar"); do mv $j $j.no done -#pushd lib -#ln -sf $(build-classpath antlr) antlr-runtime.jar -#ln -sf $(build-classpath jdom) jdom.jar -#ln -sf $(build-classpath xerces-j2) xerces.jar -#popd %build export CLASSPATH=$(build-classpath jdom antlr xerces-j2 xml-commons-apis) -ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -Dbuild.compiler=modern package javadoc compile-test +ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 -Dbuild.compiler=modern package javadoc compile-test # Note that you'll have to java in PATH for this to work, it is by default # when using a JPackage JVM. CLASSPATH=$CLASSPATH:build/werken.xpath.jar:build/test/classes @@ -112,16 +107,15 @@ # javadoc mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -pr build/apidocs/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} %files -%defattr(0644,root,root,0755) -%doc INSTALL LICENSE LIMITATIONS README TODO +%doc LICENSE LIMITATIONS README TODO %{_javadir}/* %{_mavenpomdir}/* %{_datadir}/maven-metadata/%{name}.xml* %files javadoc -%defattr(0644,root,root,0755) %{_javadocdir}/%{name} %changelog
