@@ -25,19 +25,20 @@ if [ -f /etc/debian_version ]; then
25
25
source ./.venv/bin/activate
26
26
elif [ -f /etc/redhat-release ]; then
27
27
# yum has no update-only verb
28
+ function yuminst() { yum -y --nogpgcheck install $@ }
28
29
29
- yum -y install krb5-{devel,libs,server,workstation} which gcc findutils
30
+ yuminst krb5-{devel,libs,server,workstation} which gcc findutils
30
31
31
32
if [ -f /etc/fedora-release ]; then
32
33
# path to binary here in case Rawhide changes it
33
- yum install -y redhat-rpm-config \
34
+ yuminst redhat-rpm-config \
34
35
/usr/bin/virtualenv python${PYTHON} -{virtualenv,devel}
35
36
virtualenv -p $( which python${PYTHON} ) .venv
36
37
source ./.venv/bin/activate
37
38
pip install --install-option=' --no-cython-compile' cython
38
39
else
39
40
# Cython on el7 is too old - downstream patches
40
- yum install -y python$IS3 -{virtualenv,devel}
41
+ yuminst python$IS3 -{virtualenv,devel}
41
42
virtualenv -p $( which python$IS3 ) .venv
42
43
source ./.venv/bin/activate
43
44
pip install --upgrade pip # el7 pip doesn't quite work right
0 commit comments