Accepting request 876190 from devel:languages:perl:autoupdate

- updated to 0.54
   see /usr/share/doc/packages/perl-Monitoring-Generator-TestConfig/Changes
  0.54  
  	finally remove File::Which requirement
  0.52  
  	update requirements
  0.50  
  	change skip_dependencys to skip_dependencies
  	add underline to contact settings
  	add options to skip hostgroups / servicegroups
  0.48  
  	add support to generate contacts and contactgroup

OBS-URL: https://build.opensuse.org/request/show/876190
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Monitoring-Generator-TestConfig?expand=0&rev=6
This commit is contained in:
2021-03-03 12:59:53 +00:00
committed by Git OBS Bridge
parent 150327f6ca
commit ad969d9d5b
4 changed files with 33 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Monitoring-Generator-TestConfig
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,22 @@
# 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/
#
Name: perl-Monitoring-Generator-TestConfig
Version: 0.46
Release: 0
%define cpan_name Monitoring-Generator-TestConfig
Summary: Generate Monitoring Configurations (Nagios/Icinga/Shinken)
License: GPL-3.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Monitoring-Generator-TestConfig/
Source0: http://www.cpan.org/authors/id/N/NI/NIERLEIN/%{cpan_name}-%{version}.tar.gz
Name: perl-Monitoring-Generator-TestConfig
Version: 0.54
Release: 0
Summary: Generate monitoring configurations (nagios/icinga/shinken)
License: GPL-3.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NI/NIERLEIN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Install)
BuildRequires: perl(File::Which)
BuildRequires: perl(Test::More) >= 0.87
Requires: perl(File::Which)
@@ -41,14 +38,14 @@ This modul generates test configurations for your monitoring. This can be
useful if you want for doing load tests or testing addons and plugins.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -56,7 +53,6 @@ useful if you want for doing load tests or testing addons and plugins.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog