Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
73f48943e3
!11 [sync] PR-10: fix build warnings: patchN is deprecated, use patch N (or %patch -P N)
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-12-17 07:02:51 +00:00
李恬
c3b160231f fix build warnings: patchN is deprecated, use patch N (or %patch -P N)
(cherry picked from commit 9f29c1364fa5d0823b9027eba2727db9dbb92d9e)
2024-12-17 11:54:59 +08:00
openeuler-ci-bot
bfd4552812
!9 [sync] PR-8: Add glassfish-servlet-api version limit
From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2022-09-30 08:47:39 +00:00
caodongxia
49eee6d5cc Add glassfish-servlet-api version limit
(cherry picked from commit 5d4752d17ae3975bf1cf86f7a318d1d1ebaef795)
2022-09-29 15:28:07 +08:00
openeuler-ci-bot
9e73676787
!7 [合规提升]spec文件的License声明有歧义
From: @plerks 
Reviewed-by: @bzhaoop 
Signed-off-by: @bzhaoop
2022-06-28 10:14:26 +00:00
plerks
93be83b5fa license compliance rectification 2022-06-27 14:58:05 +08:00
openeuler-ci-bot
0cfd4e5b47 !2 fix build error
From: @jackie_wu123
Reviewed-by: @zhuchunyi
Signed-off-by: @zhuchunyi
2020-12-25 14:33:56 +08:00
jackie_wu
1eac32e043 fix build faulure 2020-12-25 09:55:17 +08:00
openeuler-ci-bot
f3f30f7f29 !1 Package init
Merge pull request !1 from lyn/master
2020-08-25 14:22:46 +08:00
lyn1001
612ad97d1c package init 2020-08-25 10:33:06 +08:00

28
h2.spec
View File

@ -1,23 +1,23 @@
Name: h2 Name: h2
Version: 1.4.196 Version: 1.4.196
Release: 1 Release: 5
Summary: Java SQL database Summary: Java SQL database
License: (EPL or MPLv2.0 or LGPLv3+) and ASL 2.0 License: (EPL-1.0 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 jts BuildRequires: lucene-queryparser >= 6.1.0 slf4j felix-osgi-core glassfish-servlet-api <= 3.1.0 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 testFast sh build.sh jar docs
%install %install
%mvn_artifact %SOURCE1 bin/h2-%{version}.jar %mvn_artifact %SOURCE1 bin/h2-%{version}.jar
@ -64,5 +64,17 @@ sh build.sh jar docs testFast
%license src/docsrc/html/license.html %license src/docsrc/html/license.html
%changelog %changelog
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.4.196-1 * Mon Dec 16 2024 litian <dev11105@linx-info.com> - 1.4.196-5
- package init - fix %patchN is deprecated warning
* 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