From 3de794d90dd2fd2cc366bb92f2d10d444be32769 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Fri, 29 Aug 2025 11:44:58 +0100 Subject: [PATCH] Update spec file requires with plotly --- smeserver-mailstats.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/smeserver-mailstats.spec b/smeserver-mailstats.spec index 95bd013..6cedae5 100644 --- a/smeserver-mailstats.spec +++ b/smeserver-mailstats.spec @@ -21,10 +21,14 @@ BuildRequires: e-smith-devtools >= 1.13.1-03 Requires: perl-Switch BuildRequires: python36 Requires: python36 +# These need the EPEL repo enabled +# So install as: dnf install smeserver-mailstats --enablerepo=epel,smecontribs Requires: html2text Requires: python3-chameleon -Requires: python3-mysql -Requires: python3-matplotlib +Requires: python3-mysql +Requires: python3-matplotlib +Requires: plotly +Requires: pip3 AutoReqProv: no %description @@ -131,9 +135,10 @@ 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 numpy /usr/bin/pip3 install -q pandas +/usr/bin/pip3 install -q plotly %clean /bin/rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist -%defattr(-,root,root) +%defattr(-,root,root) \ No newline at end of file