Hello community,

here is the log from the commit of package monitoring-plugins-zypper for 
openSUSE:Factory checked in at 2016-06-02 09:39:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-zypper (Old)
 and      /work/SRC/openSUSE:Factory/.monitoring-plugins-zypper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "monitoring-plugins-zypper"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/monitoring-plugins-zypper/monitoring-plugins-zypper.changes
      2016-02-08 09:48:00.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.monitoring-plugins-zypper.new/monitoring-plugins-zypper.changes
 2016-06-02 09:39:08.000000000 +0200
@@ -1,0 +2,37 @@
+Wed May 25 00:07:54 CEST 2016 - [email protected]
+
+- ignore if restarting boot.apparmor fails 
+
+-------------------------------------------------------------------
+Wed May 25 00:01:19 CEST 2016 - [email protected]
+
+- require apparmor-profiles on older releases 
+- add SLE12.2 as supported
+
+-------------------------------------------------------------------
+Thu Apr 14 21:36:00 UTC 2016 - [email protected]
+
+- build require apparmor-parser to run apparmor restart in %post
+- SLE11 needs apparmor-profiles instead of apparmor-abstractions
+
+-------------------------------------------------------------------
+Thu Apr 14 00:58:18 CEST 2016 - [email protected]
+
+- fix os-release parser to get version properly 
+
+-------------------------------------------------------------------
+Wed Apr 13 19:22:47 UTC 2016 - [email protected]
+
+- restart apparmor to get changes in the apparmor profiles updated
+- require apparmor-abstractions
+
+-------------------------------------------------------------------
+Tue Apr 12 18:58:11 UTC 2016 - [email protected]
+
+- update to 1.90:
+  + support (and prefer) the new /etc/os-release file instead of 
+    /etc/SuSE-release
+  + remove SLE-11-SP3 from supported distributions
+  + better check supported distribution
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ monitoring-plugins-zypper.spec ++++++
--- /var/tmp/diff_new_pack.y32QkL/_old  2016-06-02 09:39:09.000000000 +0200
+++ /var/tmp/diff_new_pack.y32QkL/_new  2016-06-02 09:39:09.000000000 +0200
@@ -16,11 +16,17 @@
 #
 
 
+%if 0%{?suse_version} >= 1230
+%bcond_without systemd
+%else
+%bcond_with systemd
+%endif
+
 Name:           monitoring-plugins-zypper
 Summary:        Check for software updates via zypper
 License:        BSD-3-Clause
 Group:          System/Monitoring
-Version:        1.84
+Version:        1.90
 Release:        0
 Url:            http://en.opensuse.org/Monitoring-plugins-zypper
 Source0:        check_zypper.pl
@@ -35,12 +41,24 @@
 # nagios can execute the script with embedded perl
 Recommends:     perl 
 Recommends:     apparmor-parser
+BuildRequires:  apparmor-parser
+%if 0%{?suse_version} > 1320
+Requires:       apparmor-abstractions
+%else
+Requires:       apparmor-profiles
+%endif
 %endif
 Requires:       zypper
 BuildArch:      noarch
 %if 0%{?suse_version}
 BuildRequires:  distribution-release
 %endif
+%if %{with systemd}
+%if 0%{?suse_version} >= 1210
+BuildRequires:  systemd-rpm-macros
+%endif
+%{?systemd_requires}
+%endif
 BuildRequires:  nagios-rpm-macros
 Provides:       nagios-plugins-zypper = %{version}-%{release}
 Obsoletes:      nagios-plugins-zypper < %{version}-%{release}
@@ -93,6 +111,9 @@
 %clean
 rm -rf %buildroot
 
+%post
+%{_sysconfdir}/init.d/boot.apparmor try-restart || echo "restarting 
boot.apparmor failed"
+
 %files 
 %defattr(-,root,root)
 # avoid build dependecy of nagios - own the dirs

++++++ check_zypper.pl ++++++
++++ 1019 lines (skipped)
++++ between 
/work/SRC/openSUSE:Factory/monitoring-plugins-zypper/check_zypper.pl
++++ and 
/work/SRC/openSUSE:Factory/.monitoring-plugins-zypper.new/check_zypper.pl

++++++ usr.lib.nagios.plugins.check_zypper ++++++
--- /var/tmp/diff_new_pack.y32QkL/_old  2016-06-02 09:39:09.000000000 +0200
+++ /var/tmp/diff_new_pack.y32QkL/_new  2016-06-02 09:39:09.000000000 +0200
@@ -9,6 +9,7 @@
   #include <abstractions/wutmp>
 
   /etc/SuSE-release r,
+  /etc/os-release r,
 
   /{,usr/}bin/grep  rix,
   /{,usr/}bin/awk   rix,


Reply via email to