Browse Source

update module

master
parent
commit
d7f542eb27
  1. 11
      sqlshell/sqlshell.spec

11
sqlshell/sqlshell.spec

@ -25,7 +25,8 @@
%define V_sqlshell 0.8.1
%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: sqlshell
@ -38,11 +39,11 @@ Class: EVAL
Group: Database
License: BSD
Version: %{V_sqlshell}
Release: 20211030
Release: 20220105
# list of sources
Source0: http://cloud.github.com/downloads/bmc/sqlshell/sqlshell-%{V_sqlshell}-installer.jar
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: auto-install.xml
@ -75,7 +76,7 @@ PreReq: OpenPKG, openpkg >= 20160101, java, JAVA-JDK
regex = postgresql-(\d+\.\d+\.\d+)\.jar
}
prog sqlshell: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
}
@ -107,7 +108,7 @@ PreReq: OpenPKG, openpkg >= 20160101, java, JAVA-JDK
$RPM_BUILD_ROOT%{l_prefix}/lib/sqlshell/
%{l_shtool} install -c -m 644 \
h2/bin/h2-*.jar \
$RPM_BUILD_ROOT%{l_prefix}/lib/sqlshell/jdbc-h2-%{V_jdbc_h2}.jar
$RPM_BUILD_ROOT%{l_prefix}/lib/sqlshell/jdbc-h2-%{V_jdbc_h2_date}.jar
%{l_shtool} install -c -m 644 \
mysql-*/mysql-connector-java-*-bin.jar \
$RPM_BUILD_ROOT%{l_prefix}/lib/sqlshell/jdbc-mysql-%{V_jdbc_mysql}.jar

Loading…
Cancel
Save