Hello community, here is the log from the commit of package postgresql-jdbc for openSUSE:Factory checked in at 2017-09-20 17:11:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postgresql-jdbc (Old) and /work/SRC/openSUSE:Factory/.postgresql-jdbc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postgresql-jdbc" Wed Sep 20 17:11:21 2017 rev:9 rq:527253 version:9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/postgresql-jdbc/postgresql-jdbc.changes 2015-07-12 22:52:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.postgresql-jdbc.new/postgresql-jdbc.changes 2017-09-20 17:11:21.780771254 +0200 @@ -1,0 +2,8 @@ +Tue Sep 19 08:47:08 UTC 2017 - [email protected] + +- Build with java compatibility 1.6 +- Modified file: + * build.xml + + Detect correctly java 9 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postgresql-jdbc.spec ++++++ --- /var/tmp/diff_new_pack.NjdyRh/_old 2017-09-20 17:11:22.596656402 +0200 +++ /var/tmp/diff_new_pack.NjdyRh/_new 2017-09-20 17:11:22.600655839 +0200 @@ -1,7 +1,7 @@ # # spec file for package postgresql-jdbc # -# Copyright (c) 2015 SUSE LINUX 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 @@ -29,9 +29,9 @@ Source1: build.xml Patch0: jdbc-postgresql-9.4_p1201-remove-sspi.patch BuildRequires: ant +BuildRequires: fdupes BuildRequires: java-devel BuildRequires: javapackages-tools -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -63,16 +63,12 @@ rm -f org/postgresql/sspi/SSPIClient.java %build -ant +ant -Djava.specification.version=1.6 # build the public api -ant publicapi +ant -Djava.specification.version=1.6 publicapi %install -%if 0%{?suse_version} == 1110 -export NO_BRP_CHECK_BYTECODE_VERSION=true -%endif - # create directory for installing the jars install -d -m 755 %{buildroot}%{_javadir} install -m 655 $RPM_BUILD_DIR/%{name}-%{version}-%{buildnum}.src/jars/postgresql.jar \ @@ -82,14 +78,13 @@ # javadoc install -d -m 755 %{buildroot}/%{_javadocdir}/%{name} cp -pr build/publicapi/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} %files -%defattr(-,root,root,0755) %{_javadir}/%{name}-%{version}.jar %{_javadir}/%{name}.jar %files javadoc -%defattr(-,root,root) %{_javadocdir}/%{name} %changelog ++++++ build.xml ++++++ --- /var/tmp/diff_new_pack.NjdyRh/_old 2017-09-20 17:11:22.648649083 +0200 +++ /var/tmp/diff_new_pack.NjdyRh/_new 2017-09-20 17:11:22.648649083 +0200 @@ -50,6 +50,8 @@ <or> <equals arg1="${java.specification.version}" arg2="1.7"/> <equals arg1="${java.specification.version}" arg2="1.8"/> + <equals arg1="${java.specification.version}" arg2="1.9"/> + <equals arg1="${java.specification.version}" arg2="9"/> </or> </condition> <condition property="jdbc4any">
