- Version bump to 2.3.3:

* Various serveral minor issues
  * No obvious detailed changelog
- Fix build with jdk8 by tweaking doclint:
  * hsqldb-apidocs.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/hsqldb?expand=0&rev=20
This commit is contained in:
Tomáš Chvátal 2015-07-29 11:27:09 +00:00 committed by Git OBS Bridge
parent cf64d37833
commit 783d0b7dbe
6 changed files with 45 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:573082ab3f1c8f02c1f496b9aae15b74f1b5aedf3812ef300e90ead3047e5fb0
size 7734168

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.3.2</version>
<version>2.3.3</version>
<name>HyperSQL Database</name>
<description>HSQLDB - Lightweight 100% Java SQL Database Engine</description>
<url>http://hsqldb.org</url>
@ -28,8 +28,8 @@
</developer>
</developers>
<scm>
<connection>scm:svn:http://hsqldb.svn.sourceforge.net/svnroot/hsqldb/base</connection>
<tag>2.3.2</tag>
<url>http://hsqldb.svn.sourceforge.net/viewvc/hsqldb/base/tags/2.3.2</url>
<connection>scm:svn:http://svn.code.sf.net/p/hsqldb/svn/base/</connection>
<tag>2.3.3</tag>
<url>http://sourceforge.net/p/hsqldb/svn/HEAD/tree/base/tags/2.3.3</url>
</scm>
</project>

3
hsqldb-2.3.3.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9a84c79a62fd0ca4af126f49aed8a6d21440f1007f1e13e8cfeb8a67dbd473e
size 7768831

View File

@ -1,8 +1,8 @@
diff --git a/build/build.xml b/build/build.xml
index 3a2b77f..c18fda0 100644
index 9c46389..c523220 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -130,6 +130,7 @@ examples:
@@ -128,6 +128,7 @@ examples:
There is no performance penalty, since the javadoc task regenerates
everything each run.
-->
@ -10,3 +10,12 @@ index 3a2b77f..c18fda0 100644
<copy todir="doc/apidocs">
<!-- IMPORTANT:
Add a fixcrlf if we add non-binary files to doc/apidocs. -->
@@ -974,7 +975,7 @@ examples:
src/org/hsqldb/auth/LdapAuthBean.java,
src/org/hsqldb/auth/LdapAuthBeanTester.java"
destdir="doc/apidocs"
- stylesheetfile="doc/apidocs/javadoc.css"
+ additionalparam="-Xdoclint:none"
docencoding="UTF-8"
charset="UTF-8"
author="true"

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jul 29 11:17:12 UTC 2015 - tchvatal@suse.com
- Version bump to 2.3.3:
* Various serveral minor issues
* No obvious detailed changelog
- Fix build with jdk8 by tweaking doclint:
* hsqldb-apidocs.patch
-------------------------------------------------------------------
Wed Mar 18 09:46:07 UTC 2015 - tchvatal@suse.com

View File

@ -17,7 +17,7 @@
Name: hsqldb
Version: 2.3.2
Version: 2.3.3
Release: 0
Summary: HyperSQL Database Engine
License: BSD-3-Clause
@ -28,29 +28,17 @@ Source1: hsqldb-1.8.0-standard.cfg
Source2: hsqldb-1.8.0-standard-server.properties
Source3: hsqldb-1.8.0-standard-webserver.properties
Source4: hsqldb-1.8.0-standard-sqltool.rc
#Source5: http://www.hsqldb.org/repos/org/hsqldb/hsqldb/%{version}/hsqldb-%{version}.pom
# The maven pom file related to 2.3.2 version is not yet released
Source5: hsqldb-%{version}.pom
Source5: http://www.hsqldb.org/repos/org/hsqldb/hsqldb/%{version}/hsqldb-%{version}.pom
# Custom systemd files - talking with upstream about incorporating them, see
# http://sourceforge.net/projects/hsqldb/forums/forum/73673/topic/5367103
Source6: hsqldb.systemd
Source7: hsqldb-wrapper
Source8: hsqldb-post
Source9: hsqldb-stop
# Javadoc fails to create since apidocs folder is deleted and not recreated
Patch0: %{name}-apidocs.patch
# Package org.hsqldb.cmdline was only compiled with java 1.5
Patch1: %{name}-cmdline.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: java
Requires: servletapi5
%{systemd_requires}
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: javapackages-tools
@ -58,6 +46,11 @@ BuildRequires: junit
BuildRequires: servletapi5
BuildRequires: systemd
BuildRequires: unzip
Requires: java
Requires: servletapi5
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%systemd_requires
%description
HSQLdb is a relational database engine written in JavaTM , with a JDBC
@ -85,7 +78,6 @@ Group: Documentation/Other
%description manual
Manual for %{name}.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation/HTML
@ -93,7 +85,6 @@ Group: Documentation/HTML
%description javadoc
Javadoc for %{name}.
%package demo
Summary: Demo for %{name}
Group: Development/Libraries/Java
@ -121,14 +112,13 @@ chmod -R go=u-w *
# Fix doc location
sed -i -e 's/doc-src/doc/g' build/build.xml
sed -i -e 's|doc/apidocs|%{_javadocdir}/%{name}|g' index.html
%patch0 -p1
%patch1 -p1
%build
export CLASSPATH=$(build-classpath \
servletapi5 \
junit)
export CLASSPATH=$(build-classpath servletapi5 junit)
pushd build
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
@ -142,15 +132,15 @@ install -m 644 lib/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
# systemd
install -d -m 755 %{buildroot}%{_unitdir}
install -d -m 755 %{buildroot}%{_prefix}/lib/%{name}
install -d -m 755 %{buildroot}%{_libexecdir}/%{name}
install -m 644 %{SOURCE6} %{buildroot}%{_unitdir}/%{name}.service
install -m 755 %{SOURCE7} %{buildroot}%{_prefix}/lib/%{name}/%{name}-wrapper
install -m 755 %{SOURCE8} %{buildroot}%{_prefix}/lib/%{name}/%{name}-post
install -m 755 %{SOURCE9} %{buildroot}%{_prefix}/lib/%{name}/%{name}-stop
install -m 755 %{SOURCE7} %{buildroot}%{_libexecdir}/%{name}/%{name}-wrapper
install -m 755 %{SOURCE8} %{buildroot}%{_libexecdir}/%{name}/%{name}-post
install -m 755 %{SOURCE9} %{buildroot}%{_libexecdir}/%{name}/%{name}-stop
# rchsqldb link
install -d -m 0755 %{buildroot}/%{_sbindir}/
ln -sf ../../sbin/service %{buildroot}/%{_sbindir}/rc%{name}
ln -sf service %{buildroot}/%{_sbindir}/rc%{name}
# sysconfig
#install -d -m 0755 %{buildroot}/var/adm/fillup-templates
@ -231,10 +221,10 @@ fi
%{_javadir}/*
%{_sbindir}/rc%{name}
%{_unitdir}/%{name}.service
%dir %{_prefix}/lib/%{name}/
%attr(0755,root,root) %{_prefix}/lib/%{name}/%{name}-post
%attr(0755,root,root) %{_prefix}/lib/%{name}/%{name}-stop
%attr(0755,root,root) %{_prefix}/lib/%{name}/%{name}-wrapper
%dir %{_libexecdir}/%{name}/
%attr(0755,root,root) %{_libexecdir}/%{name}/%{name}-post
%attr(0755,root,root) %{_libexecdir}/%{name}/%{name}-stop
%attr(0755,root,root) %{_libexecdir}/%{name}/%{name}-wrapper
%{_localstatedir}/lib/%{name}/lib
%attr(0700,hsqldb,hsqldb) %{_localstatedir}/lib/%{name}/data
%attr(0644,root,root) %{_localstatedir}/lib/%{name}/server.properties