File tree Expand file tree Collapse file tree 7 files changed +10
-8
lines changed Expand file tree Collapse file tree 7 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ set -ex
21
21
22
22
# Variables
23
23
PACKAGE_NAME=keystone
24
- PACKAGE_VERSION=27.0.0
24
+ PACKAGE_VERSION=${1 :- 27.0.0}
25
25
KEYSTONE_DBPASS=keystone
26
26
KEYSTONE_HOST_IP=localhost
27
27
SCRIPT_DIR=$( pwd)
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ set -ex
21
21
22
22
# Variables
23
23
PACKAGE_NAME=MariaDB-Connector-ODBC
24
- PACKAGE_VERSION=3.2.6
24
+ PACKAGE_VERSION=${1 :- 3.2.6}
25
25
SCRIPT_DIR=$( pwd)
26
26
PACKAGE_URL=https://github.com/MariaDB/mariadb-connector-odbc.git
27
27
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ sudo tar -C /usr/local -xvzf go${GO_VERSION}.linux-s390x.tar.gz
41
41
42
42
# Clone the repository
43
43
git clone -b $PACKAGE_VERSION $PACKAGE_URL
44
+ go install mvdan.cc/gofumpt@latest
45
+ gofumpt -l -w .
44
46
cd $PACKAGE_NAME
45
47
46
48
if ! make; then
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ set -ex
21
21
22
22
# Variables
23
23
PACKAGE_NAME=netty-tcnative
24
- PACKAGE_VERSION=2.0.72
24
+ PACKAGE_VERSION=${1 :- 2.0.72}
25
25
SCRIPT_DIR=$( pwd)
26
26
JAVA_PROVIDED=OpenJDK11
27
27
DISTRO=" $ID -$VERSION_ID "
Original file line number Diff line number Diff line change 2
2
"maintainer" : " Yash Ratawa" ,
3
3
"package_name" : " python" ,
4
4
"github_url" : " https://github.com/python/cpython" ,
5
- "version" : " v3 .13.15" ,
5
+ "version" : " 3 .13.15" ,
6
6
"wheel_build" : true ,
7
7
"package_dir" : " p/python" ,
8
8
"default_branch" : " main" ,
Original file line number Diff line number Diff line change 2
2
# -----------------------------------------------------------------------------
3
3
#
4
4
# Package : ruby
5
- # Version : v3 .4.5
5
+ # Version : 3 .4.5
6
6
# Source repo : http://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.5.tar.gz
7
7
# Tested on : UBI: 9.3
8
8
# Language : Ruby
@@ -23,7 +23,7 @@ set -ex
23
23
# Variables
24
24
PACKAGE_NAME=ruby
25
25
PACKAGE_VERSION=${1:- 3.4.5}
26
- PACKAGE_URL=http://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.5 .tar.gz
26
+ PACKAGE_URL=http://cache.ruby-lang.org/pub/ruby/3.4/${PACKAGE_NAME} - ${PACKAGE_VERSION} .tar.gz
27
27
28
28
yum install -y sudo openssl-devel gcc make wget tar libyaml-devel gcc make glibc-devel autoconf automake libtool wget
29
29
@@ -51,7 +51,7 @@ yum install -y bison flex readline-devel
51
51
# Install ruby
52
52
wget $PACKAGE_URL
53
53
tar zxf $PACKAGE_NAME -$PACKAGE_VERSION .tar.gz
54
- cd ruby -$PACKAGE_VERSION
54
+ cd $PACKAGE_NAME -$PACKAGE_VERSION
55
55
56
56
if ! ./configure ; then
57
57
echo " ------------------$PACKAGE_NAME : configuration fails---------------------"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ set -ex
22
22
23
23
# Variables
24
24
PACKAGE_NAME=terraform
25
- PACKAGE_VERSION=v1.12.2
25
+ PACKAGE_VERSION=${1 :- v1.12.2}
26
26
GO_VERSION=1.24.2
27
27
PATCH_URL=" https://raw.githubusercontent.com/linux-on-ibm-z/build-scripts/main/t/terraform/patch"
28
28
SCRIPT_DIR=$( pwd)
You can’t perform that action at this time.
0 commit comments