Accepting request 523589 from Java:packages

1

OBS-URL: https://build.opensuse.org/request/show/523589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmldb-api?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2017-09-13 20:27:45 +00:00 committed by Git OBS Bridge
commit a9466a65a1
2 changed files with 28 additions and 17 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Sep 11 20:09:31 UTC 2017 - jengelh@inai.de
- Fix grammar problems in descriptions.
-------------------------------------------------------------------
Mon Sep 11 17:03:15 UTC 2017 - fstrba@suse.com
- Specify java source and target level 1.6 in order to allow
building with jdk9
-------------------------------------------------------------------
Fri Jul 11 14:05:29 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package xmldb-api
#
# 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
@ -39,9 +39,9 @@ BuildArch: noarch
%description
The API interfaces are what driver developers must implement when
creating a new driver and are the interfaces that applications are
developed against. Along with the interfaces a concrete DriverManager
implementation is also provides.
creating a new driver, and are the interfaces that applications are
developed against. Along with the interfaces, a concrete DriverManager
implementation is also provided.
%package sdk
Summary: SDK for XML:DB API
@ -51,17 +51,17 @@ Requires: %{name} = %{version}
%description sdk
The reference implementation provides a very simple file system based
implementation of the XML:DB API. This provides what is basically a
very simple native XML database that uses directories to represent
collections and just stores the XML in files.
native XML database that uses directories to represent
collections, and just stores the XML in files.
The driver development kit provides a set of base classes that can be
extended to simplify and speed the development of XML:DB API drivers.
These classes are used to provide the basis for the reference
implementation and therefore a simple example of how a driver can be
implementation, and therefore a simple example of how a driver can be
implemented. Using the SDK classes significantly reduces the amount of
code that must be written to create a new driver.
Along with the SDK base classes the SDK also contains a set of jUnit
Along with the SDK base classes, the SDK also contains a set of jUnit
test cases that can be used to help validate the driver while it is
being developed. The test cases are still in development but there are
enough tests currently to be useful.
@ -73,19 +73,19 @@ Requires: %{name} = %{version}
%description -n xmldb-common
The API interfaces are what driver developers must implement when
creating a new driver and are the interfaces that applications are
developed against. Along with the interfaces a concrete DriverManager
implementation is also provides.
creating a new driver, and are the interfaces that applications are
developed against. Along with the interfaces, a concrete DriverManager
implementation is also provided.
%package javadoc
Summary: XML:DB API for Java
Group: Development/Libraries/Java
Summary: Documentation for XML:DB API for Java
Group: Documentation/HTML
%description javadoc
The API interfaces are what driver developers must implement when
creating a new driver and are the interfaces that applications are
developed against. Along with the interfaces a concrete DriverManager
implementation is also provides.
creating a new driver, and are the interfaces that applications are
developed against. Along with the interfaces, a concrete DriverManager
implementation is also provided.
%prep
%setup -q -n xapi
@ -102,7 +102,7 @@ rm src/common/org/xmldb/common/xml/queries/xt/XPathQueryFactoryImpl.java
export CLASSPATH=$(build-classpath junit xalan-j2)
export OPT_JAR_LIST=:
ant \
-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
-Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
-Djarname=%{name} -Dsdk.jarname=%{name}-sdk \
dist