Hello community, here is the log from the commit of package nagios-plugins-nis for openSUSE:Factory checked in at 2012-09-25 10:43:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nagios-plugins-nis (Old) and /work/SRC/openSUSE:Factory/.nagios-plugins-nis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nagios-plugins-nis", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/nagios-plugins-nis/nagios-plugins-nis.changes 2011-10-02 10:19:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nagios-plugins-nis.new/nagios-plugins-nis.changes 2012-09-25 10:43:12.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Jul 12 20:56:17 UTC 2012 - [email protected] + +- specfile cleanup: + + fix URL + + fix license to be in spdx format + + use nagios-rpm-macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nagios-plugins-nis.spec ++++++ --- /var/tmp/diff_new_pack.utMM8M/_old 2012-09-25 10:43:13.000000000 +0200 +++ /var/tmp/diff_new_pack.utMM8M/_new 2012-09-25 10:43:13.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package nagios-plugins-nis # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: nagios-plugins-nis -Summary: Nagios plugin to check the status of a NIS server on a specified host and NIS domain Version: 1.2 -Release: 1 -Url: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed/2133.html;d=1 +Release: 0 +Summary: Nagios plugin to check the status of a NIS server on a specified host and NIS domain License: GPL-3.0+ Group: System/Monitoring -Source0: check_nis_%version +Url: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Linux/check_nis +Source0: check_nis_%{version} +BuildRequires: nagios-rpm-macros Requires: yp-tools -BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define libexecdir %_prefix/lib/nagios/plugins +BuildArch: noarch %description Nagios plugin (script) to check the status of a NIS server on a @@ -45,30 +43,24 @@ denominator of shells (sh), uses yppoll, ypcat and grep as external commands. - - -Authors: --------- - Paladin - %prep %build %install -mkdir -p %buildroot/%libexecdir -sed -e "s|/usr/local/nagios/libexec|%libexecdir|g; \ - s|FLAG_VERBOSE=FALSE|unset LANG;\n\nFLAG_VERBOSE=FALSE|g" %{SOURCE0} > %buildroot/%libexecdir/check_nis -chmod +x %buildroot/%libexecdir/check_nis +mkdir -p %{buildroot}/%{nagios_plugindir} +sed -e "s|/usr/local/nagios/libexec|%{nagios_plugindir}|g; \ + s|FLAG_VERBOSE=FALSE|unset LANG;\n\nFLAG_VERBOSE=FALSE|g" %{SOURCE0} > %{buildroot}/%{nagios_plugindir}/check_nis +chmod +x %{buildroot}/%{nagios_plugindir}/check_nis %clean -rm -rf %buildroot +rm -rf %{buildroot} %files %defattr(-,root,root) # avoid build dependecy of nagios - own the dirs -%dir %_prefix/lib/nagios -%dir %libexecdir -%libexecdir/check_nis +%dir %{nagios_libdir} +%dir %{nagios_plugindir} +%{nagios_plugindir}/check_nis %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
