add pip3 commands to spec file
This commit is contained in:
parent
1fc294e8f6
commit
c1c4251361
@ -117,10 +117,14 @@ now=$(date +"%Y-%m-%d %H:%M:%S")
|
||||
# Replace the placeholder in the Python program located at %{BUILDROOT}/usr/bin
|
||||
sed -i "s|__BUILD_DATE_TIME__|$now|" $RPM_BUILD_ROOT/usr/bin/mailstats.py
|
||||
|
||||
|
||||
/bin/rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT | grep -v "\.pyc" | grep -v "\.pyo" > %{name}-%{version}-filelist
|
||||
|
||||
pip3 pymysql
|
||||
pip3 numpy
|
||||
pip3 ploty
|
||||
pip3 pandas
|
||||
|
||||
%clean
|
||||
/bin/rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user