Hello community,

here is the log from the commit of package nagios-plugins-zypper for 
openSUSE:Factory checked in at 2013-02-23 16:38:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nagios-plugins-zypper (Old)
 and      /work/SRC/openSUSE:Factory/.nagios-plugins-zypper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nagios-plugins-zypper", Maintainer is "[email protected]"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/nagios-plugins-zypper/nagios-plugins-zypper.changes  
    2013-02-02 19:33:36.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.nagios-plugins-zypper.new/nagios-plugins-zypper.changes
 2013-02-23 16:38:43.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Feb 23 11:43:30 UTC 2013 - [email protected]
+
+- fix path names to grep, awk and gawk for distributions > 12.1
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ nagios-plugins-zypper.spec ++++++
--- /var/tmp/diff_new_pack.TB9VbV/_old  2013-02-23 16:38:45.000000000 +0100
+++ /var/tmp/diff_new_pack.TB9VbV/_new  2013-02-23 16:38:45.000000000 +0100
@@ -69,6 +69,12 @@
 %else
 install -D -m644 %{SOURCE1} 
%{buildroot}%{_sysconfdir}/apparmor/profiles/extras/usr.lib.nagios.plugins.check_zypper
 %endif
+echo 0%{?suse_version}
+%if 0%{?suse_version} > 01210
+sed -i "s|/bin/grep|%{_bindir}/grep|g; \
+               s|/bin/gawk|%{_bindir}/gawk|g; \
+               s|/bin/awk|%{_bindir}/awk|g;" 
%buildroot/%{nagios_plugindir}/check_zypper 
%{buildroot}%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_zypper
+%endif
 
 %clean
 rm -rf %buildroot

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to