diff --git a/ganglia.spec b/ganglia.spec index 23e6209..e4ff400 100644 --- a/ganglia.spec +++ b/ganglia.spec @@ -1,5 +1,5 @@ Name: ganglia -Version: 3.7.1 +Version: 3.7.2 Release: 1mamba Summary: A scalable distributed monitoring system for high-performance computing systems such as clusters and Grids Group: Network/Monitoring @@ -13,9 +13,13 @@ Patch1: ganglia-3.6.0-missing-gmetad.service.in.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libapr-devel BuildRequires: libconfuse-devel +BuildRequires: libe2fs-devel BuildRequires: libexpat-devel +BuildRequires: libkrb5-devel +BuildRequires: libnsl-devel BuildRequires: libpcre-devel BuildRequires: libpython27-devel BuildRequires: libtirpc-devel @@ -23,6 +27,7 @@ BuildRequires: libuuid-devel BuildRequires: libz-devel BuildRequires: rrdtool-devel ## AUTOBUILDREQ-END +BuildRequires: rrdtool-devel >= 1.7.2 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -54,6 +59,7 @@ This package contains libraries and header files for developing applications tha %build %configure \ --with-gmetad \ + CFLAGS="%{optflags} -I%{_includedir}/tirpc" \ LIBS="-ltirpc" %make @@ -65,11 +71,22 @@ This package contains libraries and header files for developing applications tha %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -/sbin/ldconfig -systemctl -q daemon-reload +%preun +%systemd_preun gmetad +%systemd_preun gmond : +%postun +%systemd_postun_with_restart gmetad +%systemd_postun_with_restart gmond +: + +%post +%systemd_post gmetad +%systemd_post gmond +: + +%post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files @@ -80,8 +97,8 @@ systemctl -q daemon-reload %{_bindir}/gstat %{_sbindir}/gmetad %{_sbindir}/gmond -/lib/systemd/system/gmond.service -/lib/systemd/system/gmetad.service +%{_unitdir}/gmond.service +%{_unitdir}/gmetad.service %{_mandir}/man1/gmetad.1* %{_mandir}/man1/gmetad.py.1* %{_mandir}/man1/gmetric.1* @@ -121,6 +138,9 @@ systemctl -q daemon-reload %doc BUGS ChangeLog NEWS README README.AIX README.GIT README.WIN %changelog +* Tue Dec 15 2020 Silvan Calarco 3.7.2-1mamba +- update to 3.7.2 + * Tue Apr 14 2015 Automatic Build System 3.7.1-1mamba - automatic update by autodist