Hello community,
here is the log from the commit of package apache-commons-validator for
openSUSE:Factory checked in at 2017-09-23 21:34:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-validator (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-validator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-validator"
Sat Sep 23 21:34:57 2017 rev:4 rq:528156 version:1.3.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-validator/apache-commons-validator.changes
2014-07-16 16:49:36.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.apache-commons-validator.new/apache-commons-validator.changes
2017-09-23 21:34:57.856097461 +0200
@@ -1,0 +2,7 @@
+Thu Sep 14 15:12:50 UTC 2017 - [email protected]
+
+- Build with java source and target 1.6
+- Use java-devel < 1.9 because with jdk9, some unit tests fail
+- Clean spec file
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-validator.spec ++++++
--- /var/tmp/diff_new_pack.uCtNet/_old 2017-09-23 21:34:58.727974846 +0200
+++ /var/tmp/diff_new_pack.uCtNet/_new 2017-09-23 21:34:58.739973158 +0200
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-validator
#
-# Copyright (c) 2014 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
@@ -45,8 +45,8 @@
Obsoletes: %{short_name} < %{version}-%{release}
Provides: jakarta-%{short_name} = %{version}-%{release}
Obsoletes: jakarta-%{short_name} < %{version}-%{release}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
+BuildConflicts: java-devel >= 1.9
%if 0%{?suse_version} == 1110
BuildRequires: ant-apache-oro
Requires: ant-apache-oro
@@ -64,8 +64,7 @@
%package javadoc
Summary: Javadoc for jakarta-commons-validator
Group: Development/Libraries/Java
-# FIXME: use proper Requires(pre/post/preun/...)
-PreReq: coreutils
+Requires(pre): coreutils
%description javadoc
A common issue when receiving data either electronically or from user
@@ -101,7 +100,10 @@
junit \
jakarta-oro )
-ant -Dskip.download=true -Dbuild.sysclasspath=first dist
+ant \
+ -Dcompile.source=1.6 -Dcompile.target=1.6 \
+ -Dskip.download=true -Dbuild.sysclasspath=first \
+ dist
%check
export CLASSPATH=$(build-classpath \
@@ -111,8 +113,10 @@
commons-beanutils \
junit \
jakarta-oro )
-
-ant -Dskip.download=true -Dbuild.sysclasspath=first test
+ant \
+ -Dcompile.source=1.6 -Dcompile.target=1.6 \
+ -Dskip.download=true -Dbuild.sysclasspath=first \
+ test
%install
@@ -126,13 +130,11 @@
cp -pr dist/docs/api*/* %{buildroot}%{_javadocdir}/%{name}/
%files
-%defattr(-,root,root,-)
%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
%{_javadir}/%{name}.jar
%{_javadir}/%{short_name}.jar
%files javadoc
-%defattr(-,root,root,-)
%doc LICENSE.txt
%doc %{_javadocdir}/%{name}