Ana Guerrero 2024-02-23 15:46:13 +00:00 committed by Git OBS Bridge
commit e3d2d59a8f
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 23 08:36:14 UTC 2024 - pgajdos@suse.com
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Mon Jul 3 11:54:36 UTC 2017 - lars@linux-schulserver.de

View File

@ -1,7 +1,7 @@
#
# spec file for package monitoring-plugins-sentry3
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,9 +20,9 @@ Name: monitoring-plugins-sentry3
Version: 2012
Release: 0
Summary: Monitor Servertech devices that use the Sentry3 MIB
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/Monitoring
Url: http://www.linuxhomenetworking.com/
URL: http://www.linuxhomenetworking.com/
Requires: perl(Nagios::Plugin) >= 0.36
Requires: perl(Net::SNMP)
Source0: check_sentry3
@ -44,14 +44,14 @@ It checks the following:
2) Environmental humidity (Auto-detects all sensors)
3) Input power (Auto-detects all input feeds)
%prep
%setup -q -T -c %{name}
install -m755 %{SOURCE0} .
%patch0 -p0
%patch -P 0 -p0
install -m644 %{SOURCE2} .
%build
#
%install
install -Dm755 check_sentry3 %{buildroot}/%{nagios_plugindir}/check_sentry3