Hello community, here is the log from the commit of package ganglia for openSUSE:Factory checked in at 2018-03-14 19:40:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ganglia (Old) and /work/SRC/openSUSE:Factory/.ganglia.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ganglia" Wed Mar 14 19:40:23 2018 rev:4 rq:586672 version:3.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ganglia/ganglia.changes 2018-03-11 15:25:35.186493883 +0100 +++ /work/SRC/openSUSE:Factory/.ganglia.new/ganglia.changes 2018-03-14 19:40:44.905556423 +0100 @@ -1,0 +2,19 @@ +Wed Mar 14 07:47:39 UTC 2018 - [email protected] + +- Remove *.la files. + +------------------------------------------------------------------- +Wed Mar 14 07:09:44 UTC 2018 - [email protected] + +- Fix a crash in diskstat.py in a %post install script during the post + build check for non-idempotent scripts: The chroot where this test + occurs doesn't have /sys mounted. The resulting exception isn't + handled gracefully by diskstat.py (boo#1085219). + +------------------------------------------------------------------- +Mon Mar 12 14:56:16 UTC 2018 - [email protected] + +- fixed post scetion for ganglia-gmond which will only be triggered + when updating the package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ganglia.spec ++++++ --- /var/tmp/diff_new_pack.1d0mRt/_old 2018-03-14 19:40:45.981518202 +0100 +++ /var/tmp/diff_new_pack.1d0mRt/_new 2018-03-14 19:40:45.985518060 +0100 @@ -209,6 +209,9 @@ make DESTDIR=%{buildroot} install make -C gmond gmond.conf.5 +# Remove .la files +rm %{buildroot}%{_libdir}/*.la + %fdupes %{buildroot} #rc file needed by systemd ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcgmond @@ -240,13 +243,16 @@ %post gmond %service_add_post gmond.service -LEGACY_GMOND_CONF=%{_sysconfdir}/%{name}/gmond.conf -if [ -e /etc/gmond.conf ] ; then +# Only do on update and when /sys and /proc are mounted. +# This avoids problems with post build scripts. +if [ $1 -gt 1 -a -d /sys/block -a -d /proc/sys ] ; then + LEGACY_GMOND_CONF=%{_sysconfdir}/%{name}/gmond.conf + if [ -e /etc/gmond.conf ] ; then LEGACY_GMOND_CONF=/etc/gmond.conf -fi + fi -METRIC_LIST="`%{_sbindir}/gmond -c ${LEGACY_GMOND_CONF} -m`" -if [[ $? != 0 ]]; then + METRIC_LIST="`%{_sbindir}/gmond -c ${LEGACY_GMOND_CONF} -m`" + if [[ $? != 0 ]] ; then # They may have an old configuration file format echo "-----------------------------------------------------------" echo "IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT" @@ -263,9 +269,8 @@ echo "" echo "This conversion was not made automatic to prevent unknowningly" echo "altering your configuration without your notice." -else - if [ `echo "$METRIC_LIST" | wc -l` -eq 0 ]; - then + else + if [ `echo "$METRIC_LIST" | wc -l` -eq 1 ] ; then echo "-----------------------------------------------------------" echo "IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT" echo "-----------------------------------------------------------" @@ -278,6 +283,7 @@ mv /etc/gmond.conf %{_sysconfdir}/%{name} fi fi + fi fi %preun gmetad @@ -352,7 +358,6 @@ %{_includedir}/gm_protocol.h %{_includedir}/gm_value.h %{_libdir}/libganglia*.so -%{_libdir}/libganglia*.*a %{_bindir}/ganglia-config %files -n libganglia%{lib_version}
