From c1c4251361d2ada133b2ff37ed8148ec251746bc Mon Sep 17 00:00:00 2001 From: Brian Read Date: Wed, 18 Dec 2024 11:03:22 +0100 Subject: [PATCH] add pip3 commands to spec file --- smeserver-mailstats.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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