Update spec file requires with plotly

This commit is contained in:
2025-08-29 11:44:58 +01:00
parent 34fd81cd51
commit 3de794d90d

View File

@@ -21,10 +21,14 @@ BuildRequires: e-smith-devtools >= 1.13.1-03
Requires: perl-Switch Requires: perl-Switch
BuildRequires: python36 BuildRequires: python36
Requires: python36 Requires: python36
# These need the EPEL repo enabled
# So install as: dnf install smeserver-mailstats --enablerepo=epel,smecontribs
Requires: html2text Requires: html2text
Requires: python3-chameleon Requires: python3-chameleon
Requires: python3-mysql Requires: python3-mysql
Requires: python3-matplotlib Requires: python3-matplotlib
Requires: plotly
Requires: pip3
AutoReqProv: no AutoReqProv: no
%description %description
@@ -131,6 +135,7 @@ sed -i "s|__BUILD_DATE_TIME__|$now|" $RPM_BUILD_ROOT/usr/bin/mailstats.py
/usr/bin/pip3 install -q pymysql /usr/bin/pip3 install -q pymysql
/usr/bin/pip3 install -q numpy /usr/bin/pip3 install -q numpy
/usr/bin/pip3 install -q pandas /usr/bin/pip3 install -q pandas
/usr/bin/pip3 install -q plotly
%clean %clean
/bin/rm -rf $RPM_BUILD_ROOT /bin/rm -rf $RPM_BUILD_ROOT