File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
python=python3
6
- url=" https://github.com/samba-in-kubernetes/sambacc"
6
+ url=" ${SAMBACC_REPO_URL :- https:// github.com/ samba-in-kubernetes/ sambacc} "
7
7
bdir=" ${SAMBACC_BUILD_DIR:-/ var/ tmp/ build/ sambacc} "
8
8
distname=" ${SAMBACC_DISTNAME} "
9
9
# use SAMBACC_BUILD_TASKS to limit build tasks if needed
@@ -93,6 +93,11 @@ task_sys_deps() {
93
93
info " detected centos (stream): ${OS_VER} "
94
94
use_centos=true
95
95
;;
96
+ rhel* )
97
+ info " detected rhel: ${OS_VER} "
98
+ use_centos=
99
+ use_rhel=true
100
+ ;;
96
101
fedora* )
97
102
info " detected fedora: ${OS_VER} "
98
103
use_centos=
@@ -134,6 +139,9 @@ task_sys_deps() {
134
139
yum_args=(--enablerepo=crb)
135
140
pkgs+=(pyproject-rpm-macros)
136
141
fi
142
+ if [ " $use_rhel " ]; then
143
+ pkgs+=(pyproject-rpm-macros)
144
+ fi
137
145
" ${dnf_cmd} " " ${yum_args[@]} " install -y " ${pkgs[@]} "
138
146
" ${dnf_cmd} " clean all
139
147
}
You can’t perform that action at this time.
0 commit comments