Hello community,
here is the log from the commit of package monitoring-plugins for
openSUSE:Factory checked in at 2017-05-17 23:55:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/monitoring-plugins (Old)
and /work/SRC/openSUSE:Factory/.monitoring-plugins.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins"
Wed May 17 23:55:27 2017 rev:6 rq:495700 version:2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/monitoring-plugins/monitoring-plugins.changes
2017-04-29 10:54:14.466152262 +0200
+++
/work/SRC/openSUSE:Factory/.monitoring-plugins.new/monitoring-plugins.changes
2017-05-17 23:55:30.006677360 +0200
@@ -1,0 +2,6 @@
+Fri Apr 28 18:18:50 UTC 2017 - [email protected]
+
+- Replace %__-type macro indirections. Drop %clean, replace
+ -exec \; by -exec +.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ monitoring-plugins.spec ++++++
--- /var/tmp/diff_new_pack.yN7Rqc/_old 2017-05-17 23:55:31.398480870 +0200
+++ /var/tmp/diff_new_pack.yN7Rqc/_new 2017-05-17 23:55:31.402480306 +0200
@@ -1068,18 +1068,18 @@
%prep
%setup -q
%if 0%{?suse_version}
-%{__mkdir_p} example/permissions.d
-%{__cp} %{S:11} example/permissions.d/%{name}
+mkdir -p example/permissions.d
+cp %{S:11} example/permissions.d/%{name}
%endif
-%{__cp} %{S:12} ./README.SUSE
-%{__cp} %{S:13} ./README.SUSE-check_dhcp
-%{__cp} %{S:14} ./README.SUSE-check_icmp
-%{__cp} %{S:15} ./README.SUSE-check_ide_smart
-%{__cp} %{S:20} ./README.SUSE-check_cups
+cp %{S:12} ./README.SUSE
+cp %{S:13} ./README.SUSE-check_dhcp
+cp %{S:14} ./README.SUSE-check_icmp
+cp %{S:15} ./README.SUSE-check_ide_smart
+cp %{S:20} ./README.SUSE-check_cups
rm plugins-scripts/check_ircd.pl
install -m0644 %{S:26} plugins-scripts/check_ircd.pl
-%{__cp} %{S:28} ./README.SUSE-check_ping
-%{__cp} %{S:29} ./README.SUSE-check_ntp_time
+cp %{S:28} ./README.SUSE-check_ping
+cp %{S:29} ./README.SUSE-check_ntp_time
for extension in mysql pgsql sqlite3 ; do
cat >> README.SUSE-dbi-$extension << EOF
@@ -1099,7 +1099,7 @@
# Debian patches
%patch116 -p1
%patch118 -p1
-find -type f -exec %{__chmod} 644 {} \;
+find -type f -exec chmod 644 {} +
%build
export CFLAGS="%{optflags} -fno-strict-aliasing -DLDAP_DEPRECATED"
@@ -1138,8 +1138,8 @@
%install
sed -i 's,^MKINSTALLDIRS.*,MKINSTALLDIRS = ../mkinstalldirs,' po/Makefile
-%makeinstall install-root
-%{__install} -m 0755 %{S:18} %{buildroot}%{nagios_plugindir}/check_cups
+%make_install install-root
+install -m 0755 %{S:18} %{buildroot}%{nagios_plugindir}/check_cups
# provide check_host and check_rta_multi as on Debian
if [ -x %{buildroot}%{nagios_plugindir}/check_icmp ] ; then
test -f %{buildroot}%{nagios_plugindir}/check_host && rm -f
%{buildroot}%{nagios_plugindir}/check_host
@@ -1162,7 +1162,7 @@
popd
# check_sensors makes no sense on some archs
%ifarch ppc ppc64 sparc sparc64 s390 s390x
-%{__rm} -f %{buildroot}%{nagios_plugindir}/check_sensors
+rm -f %{buildroot}/%{nagios_plugindir}/check_sensors
%endif
# provie procs_perf symlink for compatibility
ln -s %{nagios_plugindir}/check_procs
%{buildroot}%{nagios_plugindir}/check_procs_perf
@@ -1203,9 +1203,6 @@
# find locale files
%find_lang %{name}
-%clean
-%{__rm} -rf %{buildroot}
-
%if 0%{?suse_version}
%post dhcp
# in case somebody uses the permissions file we provide