Compare commits

..

No commits in common. "73f48943e3687517befe44b6394cf20a40136629" and "26513ae19c038a0246fb47d7ddab431434ef7163" have entirely different histories.

28
h2.spec
View File

@ -1,23 +1,23 @@
Name: h2 Name: h2
Version: 1.4.196 Version: 1.4.196
Release: 5 Release: 1
Summary: Java SQL database Summary: Java SQL database
License: (EPL-1.0 or MPLv2.0 or LGPLv3+) and ASL 2.0 License: (EPL or MPLv2.0 or LGPLv3+) and ASL 2.0
URL: http://www.h2database.com URL: http://www.h2database.com
Source0: http://www.h2database.com/h2-2017-06-10.zip Source0: http://www.h2database.com/h2-2017-06-10.zip
Source1: https://repo1.maven.org/maven2/com/h2database/h2/%{version}/h2-%{version}.pom Source1: https://repo1.maven.org/maven2/com/h2database/h2/%{version}/h2-%{version}.pom
Patch0: port-to-lucene-6.patch Patch0: port-to-lucene-6.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: javapackages-local lucene >= 6.1.0 lucene-analysis >= 6.1.0 BuildRequires: javapackages-local lucene >= 6.1.0 lucene-analysis >= 6.1.0
BuildRequires: lucene-queryparser >= 6.1.0 slf4j felix-osgi-core glassfish-servlet-api <= 3.1.0 jts BuildRequires: lucene-queryparser >= 6.1.0 slf4j felix-osgi-core glassfish-servlet-api jts
%description %description
H2 is a the Java SQL database. The main features of H2 are: Very fast, open H2 is a the Java SQL database. The main features of H2 are: Very fast, open
source, JDBC API; Embedded and server modes; In-memory databases; Browser source, JDBC API; Embedded and server modes; In-memory databases; Browser
based Console application; Small footprint: around 1 MB jar file size. based Console application; Small footprint: around 1 MB jar file size.
%package javadoc %package Javadoc
Summary: Javadocs for %{name} Summary: Javadocs for %{name}
%description javadoc %description Javadoc
This package contains the API documentation for %{name}. This package contains the API documentation for %{name}.
%prep %prep
@ -49,7 +49,7 @@ echo "classic queryparser" >> src/tools/org/h2/build/doc/dictionary.txt
%build %build
export JAVA_HOME=%{_jvmdir}/java export JAVA_HOME=%{_jvmdir}/java
sh build.sh jar docs sh build.sh jar docs testFast
%install %install
%mvn_artifact %SOURCE1 bin/h2-%{version}.jar %mvn_artifact %SOURCE1 bin/h2-%{version}.jar
@ -64,17 +64,5 @@ sh build.sh jar docs
%license src/docsrc/html/license.html %license src/docsrc/html/license.html
%changelog %changelog
* Mon Dec 16 2024 litian <dev11105@linx-info.com> - 1.4.196-5 * Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.4.196-1
- fix %patchN is deprecated warning - package init
* Fri Sep 23 2022 caodongxia <caodongxia@h-partners.com> - 1.4.196-4
- Add glassfish-servlet-api version limit
* Mon Jun 27 2022 Xinyi Gou <plerks@163.com> - 1.4.196-3
- Specify license version
* Fri Dec 25 2020 wutao <wutao61@huawei.com> - 1.4.196-2
- Turn off testFast to solve probabilistic failures
* Mon Aug 3 2020 yanan li <liyanan032@huawei.com> - 1.4.196-1
- Package init