Skip to content

Commit 8219298

Browse files
Merge pull request #47 from fledge-iot/FOGL-6344
Install pip package of numpy instead of yum package
2 parents d3774b8 + e36adcf commit 8219298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/RPM/SPECS/fledge.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ VCS: __VCS__
1515
%define install_path /usr/local
1616

1717
Prefix: /usr/local
18-
Requires: dbus-devel, glib2-devel, boost, openssl, rh-python36, yum-utils, gcc, autoconf, curl, libtool, rsyslog, wget, zlib, libuuid, avahi, sudo, krb5-workstation, curl-devel, python3-numpy
18+
Requires: dbus-devel, glib2-devel, boost, openssl, rh-python36, yum-utils, gcc, autoconf, curl, libtool, rsyslog, wget, zlib, libuuid, avahi, sudo, krb5-workstation, curl-devel
1919
AutoReqProv: no
2020

2121
%description
@@ -407,7 +407,7 @@ install_pip3_packages () {
407407
# TODO: we may need with --no-cache-dir
408408
pip3 install -Ir /usr/local/fledge/python/requirements.txt
409409

410-
sudo bash -c 'source scl_source enable rh-python36;pip3 install dbus-python'
410+
sudo bash -c 'source scl_source enable rh-python36; python3 -m pip install dbus-python numpy==1.19.5'
411411
set -e
412412
}
413413

0 commit comments

Comments
 (0)