X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netdata.git;a=blobdiff_plain;f=netdata.spec.in;fp=netdata.spec.in;h=9bf6f5b1f6b05e13c8f778e21c971f7213319556;hp=8ddfabc41efd9bc93e0ff25af7c622d48683cc9e;hb=e37a33a6802eaa8e6fc4c16cddae48f2a5729e2c;hpb=de66de5d4a190afa608143ad59b3f94a66ede79c diff --git a/netdata.spec.in b/netdata.spec.in index 8ddfabc4..9bf6f5b1 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -26,6 +26,22 @@ %undefine with_systemd %endif +%if 0%{?fedora} +%global netdata_recommends \ +Recommends: curl \ +Recommends: iproute-tc \ +Recommends: lm_sensors \ +Recommends: nmap-ncat \ +Recommends: nodejs \ +Recommends: python \ +Recommends: PyYAML \ +Recommends: python2-PyMySQL \ +Recommends: python2-psycopg2 \ +%{nil} +%else +%global netdata_recommends %{nil} +%endif + Summary: Real-time performance monitoring, done right Name: @PACKAGE_NAME@ Version: @PACKAGE_RPM_VERSION@ @@ -42,15 +58,7 @@ BuildRequires: libuuid-devel Requires: zlib Requires: libuuid Requires(post): libcap -Recommends: curl -Recommends: iproute-tc -Recommends: lm_sensors -Recommends: nmap-ncat -Recommends: nodejs -Recommends: python -Recommends: PyYAML -Recommends: python2-PyMySQL -Recommends: python2-psycopg2 +%{netdata_recommends} # Packages can be found in the EPEL repo %if %{with nfacct}