diff --git a/smeserver-mailstats.spec b/smeserver-mailstats.spec index a93ff20..f53b8ca 100644 --- a/smeserver-mailstats.spec +++ b/smeserver-mailstats.spec @@ -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