|
|
|
@ -25,7 +25,8 @@
|
|
|
|
|
%define V_mybatis 3.5.9 |
|
|
|
|
%define V_jdbc_mysql 5.1.49 |
|
|
|
|
%define V_jdbc_pgsql 42.3.1 |
|
|
|
|
%define V_jdbc_h2 2019-03-13 |
|
|
|
|
%define V_jdbc_h2_vers 2.0.206 |
|
|
|
|
%define V_jdbc_h2_date 2022-01-04 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: mybatis |
|
|
|
@ -38,11 +39,11 @@ Class: EVAL
|
|
|
|
|
Group: Database |
|
|
|
|
License: Apache |
|
|
|
|
Version: %{V_mybatis} |
|
|
|
|
Release: 20211226 |
|
|
|
|
Release: 20220105 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://github.com/mybatis/mybatis-3/releases/download/mybatis-%{V_mybatis}/mybatis-%{V_mybatis}.zip |
|
|
|
|
Source1: http://www.h2database.com/h2-%{V_jdbc_h2}.zip |
|
|
|
|
Source1: https://github.com/h2database/h2database/releases/download/version-%{V_jdbc_h2_vers}/h2-%{V_jdbc_h2_date}.zip |
|
|
|
|
Source2: http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/mysql-connector-java-%{V_jdbc_mysql}.tar.gz |
|
|
|
|
Source3: http://jdbc.postgresql.org/download/postgresql-%{V_jdbc_pgsql}.jar |
|
|
|
|
Source4: mybatis.sh |
|
|
|
@ -81,7 +82,7 @@ PreReq: OpenPKG, openpkg >= 20160101, java, JAVA-JDK
|
|
|
|
|
regex = postgresql-(\d+\.\d+\.\d+)\.jar |
|
|
|
|
} |
|
|
|
|
prog mybatis:jdbc-h2 = { |
|
|
|
|
version = %{V_jdbc_h2} |
|
|
|
|
version = %{V_jdbc_h2_date} |
|
|
|
|
url = http://www.h2database.com/html/download.html |
|
|
|
|
regex = h2-(\d+-\d+-\d+)\.zip |
|
|
|
|
} |
|
|
|
|