Accepting request 439332 from home:jengelh:branches:server:monitoring

- Remove redundant %clean section and manual of use.

Wiki: "The description is not a manual"

OBS-URL: https://build.opensuse.org/request/show/439332
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-count_file?expand=0&rev=4
This commit is contained in:
Lars Vogdt 2016-11-09 11:46:19 +00:00 committed by Git OBS Bridge
parent b7472e4c69
commit 4824e60aae
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 9 09:45:01 UTC 2016 - jengelh@inai.de
- Remove redundant %clean section and manual of use.
-------------------------------------------------------------------
Wed Jul 30 19:16:22 UTC 2014 - lars@linux-schulserver.de

View File

@ -17,7 +17,7 @@
Name: monitoring-plugins-count_file
Version: 232
Release: 100
Release: 0
License: BSD-4-Clause
Summary: Counts the number of files in a directory
Url: https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Linux/count_file
@ -38,11 +38,6 @@ Useful if you want to monitor for example:
* a directory which contains error files and must stay empty
* a tmp dir which have to stay under a practical limit
Usage: <filename> <Critical number of files> <Warning number of files>
Examples: count_file.pl 1 10
Examples: count_file.pl 3:10 1:3
%prep
#
%build
@ -50,9 +45,6 @@ Examples: count_file.pl 3:10 1:3
%install
install -Dm755 %{SOURCE0} %buildroot/%{nagios_plugindir}/count_file.pl
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
# avoid build dependecy of nagios - own the dirs